public static void DrawThingRow1(Sandy_Detailed_RPG_GearTab tab, Rect rect, Thing thing, bool equipment) { if (!Active || !ShouldDrawEnchantmentIcon(thing)) { return; } // Rect rectM = new Rect(rect.x, rect.yMax - 40f, 20f, 20f); GUI.DrawTexture(rectM, texEnchanted); TooltipHandler.TipRegion(rectM, GetEnchantmentString(thing)); }
public static void DrawStats(Sandy_Detailed_RPG_GearTab tab, ref float top, Rect rect, bool showArmor) { if (!Active) { return; } if (showArmor) { tab.TryDrawOverallArmor(ref top, rect.width, GetHarmonyStatDef(), "RPG_Style_Inventory_ArmorHarmony".Translate()); } }
public static void DrawStats1(Sandy_Detailed_RPG_GearTab tab, ref float top, float left, bool showArmor) { if (!Active) { return; } if (showArmor) { tab.TryDrawOverallArmor1(ref top, left, Sandy_Detailed_RPG_GearTab.statPanelWidth, GetHarmonyStatDef(), "RPG_Style_Inventory_ArmorHarmony".Translate(), texArmorHarmony); } }
public static void DrawStats(Sandy_Detailed_RPG_GearTab tab, ref float top, Rect rect, bool showArmor) { RWoMIntegration.DrawStats(tab, ref top, rect, showArmor); }
public static void DrawThingRow1(Sandy_Detailed_RPG_GearTab tab, Rect rect, Thing thing, bool equipment) { RWoMIntegration.DrawThingRow1(tab, rect, thing, equipment); }