From eded696c7e5bc5ab622c2ac9b9b21652eeee4d7a Mon Sep 17 00:00:00 2001 From: ben-tk <45545085+termigator1359@users.noreply.github.com> Date: Mon, 21 Dec 2020 18:29:15 -0500 Subject: [PATCH] Draedon became more iron efficient overnight improved draedon furniture recipes --- .../DraedonStructures/AgedLaboratoryConsoleItem.cs | 9 +++++---- .../AgedLaboratoryContainmentBoxItem.cs | 7 +++---- .../DraedonStructures/AgedLaboratoryDisplayItem.cs | 7 +++---- .../DraedonStructures/AgedLaboratoryDoorItem.cs | 7 +++---- .../DraedonStructures/AgedLaboratoryElectricPanelItem.cs | 9 +++++---- .../DraedonStructures/AgedLaboratoryScreenItem.cs | 7 +++---- .../DraedonStructures/AgedLaboratoryServerItem.cs | 9 +++++---- .../DraedonStructures/AgedLaboratoryTerminalItem.cs | 7 +++---- .../DraedonStructures/AgedReinforcedCrateItem.cs | 7 +++---- Items/Placeables/DraedonStructures/AgedSecurityChest.cs | 4 +++- .../DraedonStructures/LaboratoryConsoleItem.cs | 9 +++++---- .../DraedonStructures/LaboratoryContainmentBoxItem.cs | 7 +++---- .../DraedonStructures/LaboratoryDisplayItem.cs | 7 +++---- Items/Placeables/DraedonStructures/LaboratoryDoorItem.cs | 7 +++---- .../DraedonStructures/LaboratoryElectricPanelItem.cs | 9 +++++---- .../Placeables/DraedonStructures/LaboratoryScreenItem.cs | 7 +++---- .../Placeables/DraedonStructures/LaboratoryServerItem.cs | 9 +++++---- .../DraedonStructures/LaboratoryTerminalItem.cs | 7 +++---- .../Placeables/DraedonStructures/ReinforcedCrateItem.cs | 7 +++---- Items/Placeables/DraedonStructures/SecurityChest.cs | 7 +++++-- 20 files changed, 74 insertions(+), 75 deletions(-) diff --git a/Items/Placeables/DraedonStructures/AgedLaboratoryConsoleItem.cs b/Items/Placeables/DraedonStructures/AgedLaboratoryConsoleItem.cs index 4ec3d667e4..3f495a5af4 100644 --- a/Items/Placeables/DraedonStructures/AgedLaboratoryConsoleItem.cs +++ b/Items/Placeables/DraedonStructures/AgedLaboratoryConsoleItem.cs @@ -1,3 +1,4 @@ +using CalamityMod.Items.DraedonMisc; using CalamityMod.Items.Materials; using CalamityMod.Tiles.DraedonStructures; using Terraria.ID; @@ -28,10 +29,10 @@ namespace CalamityMod.Items.Placeables.DraedonStructures public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ItemID.IronBar, 3); - recipe.anyIronBar = true; - recipe.AddIngredient(ModContent.ItemType(), 1); - recipe.SetResult(this, 1); + recipe.AddIngredient(ModContent.ItemType(), 10); + recipe.AddIngredient(ModContent.ItemType()); + recipe.AddIngredient(ModContent.ItemType(), 8); + recipe.SetResult(this); recipe.AddTile(TileID.Anvils); recipe.AddRecipe(); } diff --git a/Items/Placeables/DraedonStructures/AgedLaboratoryContainmentBoxItem.cs b/Items/Placeables/DraedonStructures/AgedLaboratoryContainmentBoxItem.cs index 566453f036..7c09df1f8e 100644 --- a/Items/Placeables/DraedonStructures/AgedLaboratoryContainmentBoxItem.cs +++ b/Items/Placeables/DraedonStructures/AgedLaboratoryContainmentBoxItem.cs @@ -28,10 +28,9 @@ namespace CalamityMod.Items.Placeables.DraedonStructures public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ItemID.IronBar, 3); - recipe.anyIronBar = true; - recipe.AddIngredient(ModContent.ItemType(), 1); - recipe.SetResult(this, 1); + recipe.AddIngredient(ModContent.ItemType(), 10); + recipe.AddIngredient(ModContent.ItemType()); + recipe.SetResult(this); recipe.AddTile(TileID.Anvils); recipe.AddRecipe(); } diff --git a/Items/Placeables/DraedonStructures/AgedLaboratoryDisplayItem.cs b/Items/Placeables/DraedonStructures/AgedLaboratoryDisplayItem.cs index 6608dd63dd..b7f9e7e4d1 100644 --- a/Items/Placeables/DraedonStructures/AgedLaboratoryDisplayItem.cs +++ b/Items/Placeables/DraedonStructures/AgedLaboratoryDisplayItem.cs @@ -28,10 +28,9 @@ namespace CalamityMod.Items.Placeables.DraedonStructures public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ItemID.IronBar, 3); - recipe.anyIronBar = true; - recipe.AddIngredient(ModContent.ItemType(), 1); - recipe.SetResult(this, 1); + recipe.AddIngredient(ModContent.ItemType(), 15); + recipe.AddIngredient(ModContent.ItemType()); + recipe.SetResult(this); recipe.AddTile(TileID.Anvils); recipe.AddRecipe(); } diff --git a/Items/Placeables/DraedonStructures/AgedLaboratoryDoorItem.cs b/Items/Placeables/DraedonStructures/AgedLaboratoryDoorItem.cs index 45f8de1d62..e0b46545da 100644 --- a/Items/Placeables/DraedonStructures/AgedLaboratoryDoorItem.cs +++ b/Items/Placeables/DraedonStructures/AgedLaboratoryDoorItem.cs @@ -30,10 +30,9 @@ namespace CalamityMod.Items.Placeables.DraedonStructures public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ItemID.IronBar, 3); - recipe.anyIronBar = true; - recipe.AddIngredient(ModContent.ItemType(), 1); - recipe.SetResult(this, 1); + recipe.AddIngredient(ModContent.ItemType(), 7); + recipe.AddIngredient(ModContent.ItemType()); + recipe.SetResult(this); recipe.AddTile(TileID.Anvils); recipe.AddRecipe(); } diff --git a/Items/Placeables/DraedonStructures/AgedLaboratoryElectricPanelItem.cs b/Items/Placeables/DraedonStructures/AgedLaboratoryElectricPanelItem.cs index c52b954564..c54f82e8f7 100644 --- a/Items/Placeables/DraedonStructures/AgedLaboratoryElectricPanelItem.cs +++ b/Items/Placeables/DraedonStructures/AgedLaboratoryElectricPanelItem.cs @@ -1,3 +1,4 @@ +using CalamityMod.Items.DraedonMisc; using CalamityMod.Items.Materials; using CalamityMod.Tiles.DraedonStructures; using Terraria.ID; @@ -28,10 +29,10 @@ namespace CalamityMod.Items.Placeables.DraedonStructures public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ItemID.IronBar, 3); - recipe.anyIronBar = true; - recipe.AddIngredient(ModContent.ItemType(), 1); - recipe.SetResult(this, 1); + recipe.AddIngredient(ModContent.ItemType(), 7); + recipe.AddIngredient(ModContent.ItemType()); + recipe.AddIngredient(ModContent.ItemType(), 4); + recipe.SetResult(this); recipe.AddTile(TileID.Anvils); recipe.AddRecipe(); } diff --git a/Items/Placeables/DraedonStructures/AgedLaboratoryScreenItem.cs b/Items/Placeables/DraedonStructures/AgedLaboratoryScreenItem.cs index 1db6297b0d..48f604b29f 100644 --- a/Items/Placeables/DraedonStructures/AgedLaboratoryScreenItem.cs +++ b/Items/Placeables/DraedonStructures/AgedLaboratoryScreenItem.cs @@ -28,10 +28,9 @@ namespace CalamityMod.Items.Placeables.DraedonStructures public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ItemID.IronBar, 3); - recipe.anyIronBar = true; - recipe.AddIngredient(ModContent.ItemType(), 1); - recipe.SetResult(this, 1); + recipe.AddIngredient(ModContent.ItemType(), 10); + recipe.AddIngredient(ModContent.ItemType()); + recipe.SetResult(this); recipe.AddTile(TileID.Anvils); recipe.AddRecipe(); } diff --git a/Items/Placeables/DraedonStructures/AgedLaboratoryServerItem.cs b/Items/Placeables/DraedonStructures/AgedLaboratoryServerItem.cs index 7f6077532d..3419c83fb1 100644 --- a/Items/Placeables/DraedonStructures/AgedLaboratoryServerItem.cs +++ b/Items/Placeables/DraedonStructures/AgedLaboratoryServerItem.cs @@ -1,3 +1,4 @@ +using CalamityMod.Items.DraedonMisc; using CalamityMod.Items.Materials; using CalamityMod.Tiles.DraedonStructures; using Terraria.ID; @@ -28,10 +29,10 @@ namespace CalamityMod.Items.Placeables.DraedonStructures public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ItemID.IronBar, 3); - recipe.anyIronBar = true; - recipe.AddIngredient(ModContent.ItemType(), 1); - recipe.SetResult(this, 1); + recipe.AddIngredient(ModContent.ItemType(), 12); + recipe.AddIngredient(ModContent.ItemType()); + recipe.AddIngredient(ModContent.ItemType(), 15); + recipe.SetResult(this); recipe.AddTile(TileID.Anvils); recipe.AddRecipe(); } diff --git a/Items/Placeables/DraedonStructures/AgedLaboratoryTerminalItem.cs b/Items/Placeables/DraedonStructures/AgedLaboratoryTerminalItem.cs index 7a8a5f3465..42725a3ee2 100644 --- a/Items/Placeables/DraedonStructures/AgedLaboratoryTerminalItem.cs +++ b/Items/Placeables/DraedonStructures/AgedLaboratoryTerminalItem.cs @@ -28,10 +28,9 @@ namespace CalamityMod.Items.Placeables.DraedonStructures public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ItemID.IronBar, 3); - recipe.anyIronBar = true; - recipe.AddIngredient(ModContent.ItemType(), 1); - recipe.SetResult(this, 1); + recipe.AddIngredient(ModContent.ItemType(), 15); + recipe.AddIngredient(ModContent.ItemType()); + recipe.SetResult(this); recipe.AddTile(TileID.Anvils); recipe.AddRecipe(); } diff --git a/Items/Placeables/DraedonStructures/AgedReinforcedCrateItem.cs b/Items/Placeables/DraedonStructures/AgedReinforcedCrateItem.cs index d967ab4856..ea1e819379 100644 --- a/Items/Placeables/DraedonStructures/AgedReinforcedCrateItem.cs +++ b/Items/Placeables/DraedonStructures/AgedReinforcedCrateItem.cs @@ -28,10 +28,9 @@ namespace CalamityMod.Items.Placeables.DraedonStructures public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ItemID.IronBar, 3); - recipe.anyIronBar = true; - recipe.AddIngredient(ModContent.ItemType(), 1); - recipe.SetResult(this, 1); + recipe.AddIngredient(ModContent.ItemType(), 7); + recipe.AddIngredient(ModContent.ItemType()); + recipe.SetResult(this); recipe.AddTile(TileID.Anvils); recipe.AddRecipe(); } diff --git a/Items/Placeables/DraedonStructures/AgedSecurityChest.cs b/Items/Placeables/DraedonStructures/AgedSecurityChest.cs index 54dc2fa8ae..ab9d88f48c 100644 --- a/Items/Placeables/DraedonStructures/AgedSecurityChest.cs +++ b/Items/Placeables/DraedonStructures/AgedSecurityChest.cs @@ -28,12 +28,14 @@ namespace CalamityMod.Items.Placeables.DraedonStructures item.value = 500; item.createTile = ModContent.TileType(); } + public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); recipe.AddIngredient(ModContent.ItemType(), 4); recipe.AddIngredient(ModContent.ItemType(), 4); - recipe.AddIngredient(ItemID.IronBar, 4); + recipe.AddIngredient(ModContent.ItemType(), 10); + recipe.AddIngredient(ItemID.IronBar, 2); recipe.anyIronBar = true; recipe.AddTile(TileID.Anvils); recipe.SetResult(this); diff --git a/Items/Placeables/DraedonStructures/LaboratoryConsoleItem.cs b/Items/Placeables/DraedonStructures/LaboratoryConsoleItem.cs index 3b13ed430e..3d13f551e6 100644 --- a/Items/Placeables/DraedonStructures/LaboratoryConsoleItem.cs +++ b/Items/Placeables/DraedonStructures/LaboratoryConsoleItem.cs @@ -1,3 +1,4 @@ +using CalamityMod.Items.DraedonMisc; using CalamityMod.Items.Materials; using CalamityMod.Tiles.DraedonStructures; using Terraria.ID; @@ -28,10 +29,10 @@ namespace CalamityMod.Items.Placeables.DraedonStructures public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ItemID.IronBar, 5); - recipe.anyIronBar = true; - recipe.AddIngredient(ModContent.ItemType(), 2); - recipe.SetResult(this, 1); + recipe.AddIngredient(ModContent.ItemType(), 10); + recipe.AddIngredient(ModContent.ItemType()); + recipe.AddIngredient(ModContent.ItemType(), 8); + recipe.SetResult(this); recipe.AddTile(TileID.Anvils); recipe.AddRecipe(); } diff --git a/Items/Placeables/DraedonStructures/LaboratoryContainmentBoxItem.cs b/Items/Placeables/DraedonStructures/LaboratoryContainmentBoxItem.cs index 18b1fc0ad5..95df233c03 100644 --- a/Items/Placeables/DraedonStructures/LaboratoryContainmentBoxItem.cs +++ b/Items/Placeables/DraedonStructures/LaboratoryContainmentBoxItem.cs @@ -28,10 +28,9 @@ namespace CalamityMod.Items.Placeables.DraedonStructures public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ItemID.IronBar, 5); - recipe.anyIronBar = true; - recipe.AddIngredient(ModContent.ItemType(), 2); - recipe.SetResult(this, 1); + recipe.AddIngredient(ModContent.ItemType(), 10); + recipe.AddIngredient(ModContent.ItemType()); + recipe.SetResult(this); recipe.AddTile(TileID.Anvils); recipe.AddRecipe(); } diff --git a/Items/Placeables/DraedonStructures/LaboratoryDisplayItem.cs b/Items/Placeables/DraedonStructures/LaboratoryDisplayItem.cs index d79773dce3..ed898aa86a 100644 --- a/Items/Placeables/DraedonStructures/LaboratoryDisplayItem.cs +++ b/Items/Placeables/DraedonStructures/LaboratoryDisplayItem.cs @@ -28,10 +28,9 @@ namespace CalamityMod.Items.Placeables.DraedonStructures public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ItemID.IronBar, 5); - recipe.anyIronBar = true; - recipe.AddIngredient(ModContent.ItemType(), 2); - recipe.SetResult(this, 1); + recipe.AddIngredient(ModContent.ItemType(), 15); + recipe.AddIngredient(ModContent.ItemType()); + recipe.SetResult(this); recipe.AddTile(TileID.Anvils); recipe.AddRecipe(); } diff --git a/Items/Placeables/DraedonStructures/LaboratoryDoorItem.cs b/Items/Placeables/DraedonStructures/LaboratoryDoorItem.cs index 9be10984b8..20f0f89e14 100644 --- a/Items/Placeables/DraedonStructures/LaboratoryDoorItem.cs +++ b/Items/Placeables/DraedonStructures/LaboratoryDoorItem.cs @@ -30,10 +30,9 @@ namespace CalamityMod.Items.Placeables.DraedonStructures public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ItemID.IronBar, 5); - recipe.anyIronBar = true; - recipe.AddIngredient(ModContent.ItemType(), 2); - recipe.SetResult(this, 1); + recipe.AddIngredient(ModContent.ItemType(), 7); + recipe.AddIngredient(ModContent.ItemType()); + recipe.SetResult(this); recipe.AddTile(TileID.Anvils); recipe.AddRecipe(); } diff --git a/Items/Placeables/DraedonStructures/LaboratoryElectricPanelItem.cs b/Items/Placeables/DraedonStructures/LaboratoryElectricPanelItem.cs index 6b8a3d943d..5636b6b259 100644 --- a/Items/Placeables/DraedonStructures/LaboratoryElectricPanelItem.cs +++ b/Items/Placeables/DraedonStructures/LaboratoryElectricPanelItem.cs @@ -1,3 +1,4 @@ +using CalamityMod.Items.DraedonMisc; using CalamityMod.Items.Materials; using CalamityMod.Tiles.DraedonStructures; using Terraria.ID; @@ -28,10 +29,10 @@ namespace CalamityMod.Items.Placeables.DraedonStructures public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ItemID.IronBar, 5); - recipe.anyIronBar = true; - recipe.AddIngredient(ModContent.ItemType(), 2); - recipe.SetResult(this, 1); + recipe.AddIngredient(ModContent.ItemType(), 7); + recipe.AddIngredient(ModContent.ItemType()); + recipe.AddIngredient(ModContent.ItemType(), 4); + recipe.SetResult(this); recipe.AddTile(TileID.Anvils); recipe.AddRecipe(); } diff --git a/Items/Placeables/DraedonStructures/LaboratoryScreenItem.cs b/Items/Placeables/DraedonStructures/LaboratoryScreenItem.cs index 8511d91401..7adccaf061 100644 --- a/Items/Placeables/DraedonStructures/LaboratoryScreenItem.cs +++ b/Items/Placeables/DraedonStructures/LaboratoryScreenItem.cs @@ -28,10 +28,9 @@ namespace CalamityMod.Items.Placeables.DraedonStructures public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ItemID.IronBar, 5); - recipe.anyIronBar = true; - recipe.AddIngredient(ModContent.ItemType(), 2); - recipe.SetResult(this, 1); + recipe.AddIngredient(ModContent.ItemType(), 10); + recipe.AddIngredient(ModContent.ItemType()); + recipe.SetResult(this); recipe.AddTile(TileID.Anvils); recipe.AddRecipe(); } diff --git a/Items/Placeables/DraedonStructures/LaboratoryServerItem.cs b/Items/Placeables/DraedonStructures/LaboratoryServerItem.cs index 71c6447599..67b3bac2ff 100644 --- a/Items/Placeables/DraedonStructures/LaboratoryServerItem.cs +++ b/Items/Placeables/DraedonStructures/LaboratoryServerItem.cs @@ -1,3 +1,4 @@ +using CalamityMod.Items.DraedonMisc; using CalamityMod.Items.Materials; using CalamityMod.Tiles.DraedonStructures; using Terraria.ID; @@ -28,10 +29,10 @@ namespace CalamityMod.Items.Placeables.DraedonStructures public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ItemID.IronBar, 5); - recipe.anyIronBar = true; - recipe.AddIngredient(ModContent.ItemType(), 2); - recipe.SetResult(this, 1); + recipe.AddIngredient(ModContent.ItemType(), 12); + recipe.AddIngredient(ModContent.ItemType()); + recipe.AddIngredient(ModContent.ItemType(), 15); + recipe.SetResult(this); recipe.AddTile(TileID.Anvils); recipe.AddRecipe(); } diff --git a/Items/Placeables/DraedonStructures/LaboratoryTerminalItem.cs b/Items/Placeables/DraedonStructures/LaboratoryTerminalItem.cs index 961b752e7c..78f4384f84 100644 --- a/Items/Placeables/DraedonStructures/LaboratoryTerminalItem.cs +++ b/Items/Placeables/DraedonStructures/LaboratoryTerminalItem.cs @@ -28,10 +28,9 @@ namespace CalamityMod.Items.Placeables.DraedonStructures public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ItemID.IronBar, 5); - recipe.anyIronBar = true; - recipe.AddIngredient(ModContent.ItemType(), 2); - recipe.SetResult(this, 1); + recipe.AddIngredient(ModContent.ItemType(), 15); + recipe.AddIngredient(ModContent.ItemType()); + recipe.SetResult(this); recipe.AddTile(TileID.Anvils); recipe.AddRecipe(); } diff --git a/Items/Placeables/DraedonStructures/ReinforcedCrateItem.cs b/Items/Placeables/DraedonStructures/ReinforcedCrateItem.cs index 8391de2a5a..987bbd7939 100644 --- a/Items/Placeables/DraedonStructures/ReinforcedCrateItem.cs +++ b/Items/Placeables/DraedonStructures/ReinforcedCrateItem.cs @@ -28,10 +28,9 @@ namespace CalamityMod.Items.Placeables.DraedonStructures public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ItemID.IronBar, 5); - recipe.anyIronBar = true; - recipe.AddIngredient(ModContent.ItemType(), 2); - recipe.SetResult(this, 1); + recipe.AddIngredient(ModContent.ItemType(), 7); + recipe.AddIngredient(ModContent.ItemType()); + recipe.SetResult(this); recipe.AddTile(TileID.Anvils); recipe.AddRecipe(); } diff --git a/Items/Placeables/DraedonStructures/SecurityChest.cs b/Items/Placeables/DraedonStructures/SecurityChest.cs index d153c939b6..3631b7e20b 100644 --- a/Items/Placeables/DraedonStructures/SecurityChest.cs +++ b/Items/Placeables/DraedonStructures/SecurityChest.cs @@ -27,12 +27,15 @@ namespace CalamityMod.Items.Placeables.DraedonStructures item.value = 500; item.createTile = ModContent.TileType(); } + public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ItemID.IronBar, 10); + recipe.AddIngredient(ModContent.ItemType(), 4); + recipe.AddIngredient(ModContent.ItemType(), 4); + recipe.AddIngredient(ModContent.ItemType(), 10); + recipe.AddIngredient(ItemID.IronBar, 2); recipe.anyIronBar = true; - recipe.AddIngredient(ModContent.ItemType()); recipe.AddTile(TileID.Anvils); recipe.SetResult(this); recipe.AddRecipe();