using GadgetCore; using GadgetCore.API; namespace VanitySlots { internal static class Core { public static GadgetLogger logger; public static ItemInfo itemHelmet; public static ItemInfo itemArmor; public static ItemStore itemStore = new ItemStore(3); public static bool IsSoftcore() { foreach (var gadget in Gadgets.ListAllEnabledGadgets()) if (gadget.Info?.ModName == "Softcore") return true; return false; } } }