public static string EquipmentStackText(float stack) { stack = Mathf.Max(1f, stack); if (!DropHooks.CanObtainItem()) { return(""); } if (stack == 1f) { return(""); } return(String.Format(TextFragment("EQUIPMENT_STACK_EFFECT"), stack)); }
public void Awake() { Configuration.Init(Config); ZetAspects.Logger.logSource = Logger; Catalog.OnAwake(); StatHooks.Init(); EffectHooks.Init(); DropHooks.Init(); DisplayHooks.Init(); if (Catalog.Aetherium.Enabled) { Compat.Aetherium.Init(); } Language.Init(); }
public void Awake() { Configuration.Init(Config); ZetAspects.Logger.logSource = Logger; Catalog.OnAwake(); StatHooks.Init(); EffectHooks.Init(); DropHooks.Init(); DisplayHooks.Init(); if (Catalog.Aetherium.Enabled && Configuration.AetheriumHooks.Value) { Compat.Aetherium.Init(); } if (Catalog.PluginLoaded("com.plasmacore.PlasmaCoreSpikestripContent") && Configuration.SpikeStripHooks.Value) { Compat.PlasmaSpikeStrip.Init(); } Language.Init(); }
public void OnPointerClick(PointerEventData eventData) { DropHooks.HandleConvertPointerClick(this); }