using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria;
using Terraria.GameContent.UI;
using Terraria.Graphics.Effects;
using Terraria.Graphics.Shaders;
using Terraria.ID;
using Terraria.Localization;
using Terraria.ModLoader;
using Terraria.UI;
namespace Qualiaty
{
public class Qualiaty : Mod
{
public Qualiaty()
{
}
public override void PostSetupContent()
{
Mod bossChecklist = ModLoader.GetMod("BossChecklist");
if(bossChecklist != null)
{
bossChecklist.Call(
"AddBoss",
4.5f,
ModContent.NPCType<NPCs.Bosses.PaincellHead>(),
this, // Mod
"Paincell",
(Func<bool>)(() => MyWorld.downedPaincell),
ModContent.ItemType<Items.Bosses.Paincell.PainWorm>(),
new List<int> {ModContent.ItemType<Items.Bosses.Paincell.PaincellTrophy>(), ModContent.ItemType<Items.Bosses.Paincell.PaincellMask>(), 567},
new List<int> {ModContent.ItemType<Items.Bosses.Paincell.PaincellTreasureBag>(), ModContent.ItemType<Items.Bosses.Paincell.Murapain>(), ModContent.ItemType<Items.Bosses.Paincell.IchorStriker>(), ModContent.ItemType<Items.Bosses.Paincell.PainEyeStaff>(), ModContent.ItemType<Items.Bosses.Paincell.PainFlask>(), ModContent.ItemType<Items.Bosses.Paincell.TissueBreaker>()},
"Use the Pain Worm in the crimson",
"Paincell has infected all players with PAIN!",
"Qualiaty/NPCs/Bosses/PaincellFullBody",
(Func<bool>)(() => WorldGen.crimson));
bossChecklist.Call(
"AddBoss",
4.5f,
ModContent.NPCType<NPCs.Bosses.CorruptionsShell>(),
this, // Mod
"Corrupted Core/Corruption's Shell",
(Func<bool>)(() => MyWorld.downedCorruptedCore),
ModContent.ItemType<Items.Bosses.CorruptedCore.RottenBrain>(),
new List<int> {ModContent.ItemType<Items.Bosses.CorruptedCore.CorruptedCoreTrophy>(), ModContent.ItemType<Items.Bosses.CorruptedCore.CorruptedCoreMask>(), 574},
new List<int> {ModContent.ItemType<Items.Bosses.CorruptedCore.CorruptedCoreTreasureBag>(), ModContent.ItemType<Items.Bosses.CorruptedCore.Coragger>(), ModContent.ItemType<Items.Bosses.CorruptedCore.CursedStriker>(), ModContent.ItemType<Items.Bosses.CorruptedCore.VoidStaff>(), ModContent.ItemType<Items.Bosses.CorruptedCore.CorruptedFlask>(), ModContent.ItemType<Items.Bosses.CorruptedCore.MindBreaker>()},
"Use the Rotten Brain in the corruption",
"Corruption's Shell has eaten all players!",
"Qualiaty/NPCs/Bosses/CorruptedCoreandShell",
(Func<bool>)(() => !WorldGen.crimson));
}
}
}
}