Exemple #1
0
        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));
        }
Exemple #2
0
        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();
        }
Exemple #3
0
        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();
        }
Exemple #4
0
 public void OnPointerClick(PointerEventData eventData)
 {
     DropHooks.HandleConvertPointerClick(this);
 }