using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using System; using System.Collections.Generic; using Terraria.ModLoader; using Terraria; using Terraria.ID; namespace ForgottenWawiTech.Systems { public class BossChecklist : ModSystem { public override void PostSetupContent() { if (ModLoader.TryGetMod("BossChecklist", out Mod bossChecklist)) { // For reference, SCal is 23f and Boss Rush is 25.99f. The lower the float, the earlier it appears in the list. // Lyyka bossChecklist.Call( "LogBoss", Mod, nameof(Content.NPCs.OriginalLyyka.Lyyka), 24f, () => WorldDefeatedBosses.Lyyka, ModContent.NPCType(), new Dictionary { { "spawnItem", ModContent.ItemType() } } ); // Terra (Miniboss of Lyyka) bossChecklist.Call( "LogMiniBoss", Mod, nameof(Content.NPCs.OriginalLyyka.Terra), 24.01f, () => WorldDefeatedBosses.Terra, ModContent.NPCType() ); // Clara (Miniboss of Lyyka) bossChecklist.Call( "LogMiniBoss", Mod, nameof(Content.NPCs.OriginalLyyka.Clara), 24.02f, () => WorldDefeatedBosses.Clara, ModContent.NPCType() ); // Neptune bossChecklist.Call( "LogBoss", Mod, nameof(Content.NPCs.OriginalNeptune.Neptune), 24.1f, () => WorldDefeatedBosses.Neptune, ModContent.NPCType(), new Dictionary { { "spawnItem", ModContent.ItemType() } } ); // Raccoon bossChecklist.Call( "LogMiniBoss", Mod, nameof(Content.NPCs.OriginalNeptune.Raccoon), 24.11f, () => WorldDefeatedBosses.Raccoon, ModContent.NPCType() ); // Lexy bossChecklist.Call( "LogBoss", Mod, nameof(Content.NPCs.OriginalLexy.Lexy), 24.2f, () => WorldDefeatedBosses.Lexy, ModContent.NPCType(), new Dictionary { { "spawnItem", ModContent.ItemType() } } ); // Niko bossChecklist.Call( "LogBoss", Mod, nameof(Content.NPCs.OriginalNiko.Niko), 24.7f, () => WorldDefeatedBosses.Niko, ModContent.NPCType(), new Dictionary { { "spawnItem", ModContent.ItemType() } } ); } } } }