public WeaponOut() { Properties = new ModProperties() { Autoload = true, AutoloadGores = true, AutoloadSounds = true }; ModConf.Load(); }
public override void PostSetupContent() { ModConf.Load(); if (ModConf.ShowWeaponOut) { ModConfWeaponOutCustom.Load(); } if (ModConf.EnableAccessories) { BuffIDMirrorBarrier = GetBuff("MirrorBarrier").Type; } if (ModConf.EnableDualWeapons) { BuffIDManaReduction = GetBuff("ManaReduction").Type; } DustIDManaDust = GetDust <Dusts.ManaDust>().Type; DustIDSlashFX = GetDust <Dusts.SlashDust>().Type; if (ModConf.EnableEmblems) { Items.Accessories.HeliosphereEmblem.SetUpGlobalDPS(); } Call("AddCustomPreDrawMethod", WOPreDrawData); if (Main.netMode != 2) { dHeart = mod.GetTexture("Gores/DemonHearts"); pumpkinMark = mod.GetTexture("Gores/PumpkinMark"); } else { Console.WriteLine("WeaponOut loaded: qol#01"); } }