public override void PostSetupContent() { Mod bossChecklist = ModLoader.GetMod("BossChecklist"); if (bossChecklist != null) { bossChecklist.Call("AddBossWithInfo", "Ultra Eye of Cthulhu", 16.0f, (Func <bool>)(() => TUAWorld.EoCDeathCount >= 1), "Use a [i:" + ItemID.SuspiciousLookingEye + "] at night after Moon lord has been defeated"); bossChecklist.Call("AddBossWithInfo", "Eye of EoADowned - God of Destruction", 16.1f, (Func <bool>)(() => ModContent.GetInstance <TUAWorld>().UltraMode), "Use a [i:" + ItemType("Spawner") + "] after --1sing Ay. 0F C1^lh> in ^1tra and murder it, if you can..."); } Mod achievementLibs = ModLoader.GetMod("AchievementLibs"); if (achievementLibs != null) { Func <bool> c = () => TUAWorld.EoADowned; achievementLibs.Call("AddAchievementWithoutReward", this, "Once there was an eye that was a god...", "Kill the Eye of Apocalypse - God of Destruction!", "Achievement/EoAKill", c); achievementLibs.Call("AddAchievementWithoutReward", this, "The terrible moon tried to kill us", "Use [i:" + ModContent.ItemType <EyeOfPerception>() + "] and succesfully survive all 8 wave of the Apocalypse Moon", "Achievement/EoAKill", (Func <bool>)(() => TUAWorld.ApoMoonDowned)); achievementLibs.Call("AddAchievementWithoutAction", this, "Once there was the Eye of Cthulhu... the ultra one", "Kill the Ultra EoC succesfully.", "Achievement/UltraEoC", new int[] { ModContent.ItemType <EyeOfPerception>() }, new int[] { 1 }, (Func <bool>)(() => TUAWorld.EoCDeathCount >= 1)); } RecipeUtils.SetAllFurnaceRecipeSystem(); ReflManager <Type> .RemoveItem("TMain"); ReflManager <Type> .AddItem("TMain", typeof(Main)); }
public override void AddRecipes() { AddAllPreHardmodeRecipeFurnace(); AddAllHardmodeRecipeFurnace(); AddFurnaceRecipe(ItemID.SandBlock, ItemID.Glass, 20); //Smetler recipe recipe AddInductionSmelterRecipe(ItemID.Hellstone, ItemID.Obsidian, ItemID.HellstoneBar, 1, 2, 1, 90); AddInductionSmelterRecipe(ItemID.ChlorophyteBar, ItemID.Ectoplasm, ItemID.SpectreBar, 4, 1, 3); AddInductionSmelterRecipe(ItemID.ChlorophyteBar, ItemID.GlowingMushroom, ItemID.ShroomiteBar, 1, 5, 1, 180); RecipeUtils.GetAllRecipeByIngredientAndReplace(ItemID.PixieDust, ModContent.ItemType <MeteorideScale>()); var recipe = new ModRecipe(this); recipe.AddIngredient(ItemID.LightsBane); recipe.AddIngredient(ItemID.BladeofGrass); recipe.AddIngredient(ItemID.Muramasa); recipe.AddIngredient(ModContent.ItemType <VenomousGreatBlade>()); recipe.SetResult(ItemID.NightsEdge); recipe.AddRecipe(); recipe = new ModRecipe(this); recipe.AddIngredient(ItemID.BloodButcherer); recipe.AddIngredient(ItemID.BladeofGrass); recipe.AddIngredient(ItemID.Muramasa); recipe.AddIngredient(ModContent.ItemType <VenomousGreatBlade>()); recipe.SetResult(ItemID.NightsEdge); recipe.AddRecipe(); }