From 689e4e4342d51f2b7738cc596b561e7bd0eacf26 Mon Sep 17 00:00:00 2001 From: GinYuH <> Date: Mon, 22 May 2023 20:19:52 -0700 Subject: [PATCH] torches --- Items/Placeables/Furniture/AlgalPrismTorch.cs | 6 ------ Items/Placeables/Furniture/AstralTorch.cs | 3 --- Items/Placeables/Furniture/ChaosCandle.cs | 5 ----- Items/Placeables/Furniture/GloomTorch.cs | 8 -------- Items/Placeables/Furniture/NavyPrismTorch.cs | 6 ------ Items/Placeables/Furniture/RefractivePrismTorch.cs | 6 ------ Items/Placeables/Furniture/SulphurousTorch.cs | 6 ------ Items/Placeables/Furniture/TranquilityCandle.cs | 5 ----- Items/Placeables/FurnitureAbyss/AbyssTorch.cs | 6 ------ 9 files changed, 51 deletions(-) diff --git a/Items/Placeables/Furniture/AlgalPrismTorch.cs b/Items/Placeables/Furniture/AlgalPrismTorch.cs index 04954150c0..c3b8939e99 100644 --- a/Items/Placeables/Furniture/AlgalPrismTorch.cs +++ b/Items/Placeables/Furniture/AlgalPrismTorch.cs @@ -55,12 +55,6 @@ namespace CalamityMod.Items.Placeables.Furniture Lighting.AddLight((int)((Item.position.X + Item.width / 2) / 16f), (int)((Item.position.Y + Item.height / 2) / 16f), 0.7f, 1.2f, 0.9f); } - // This function doesn't even work.... - public override void AutoLightSelect(ref bool dryTorch, ref bool wetTorch, ref bool glowstick) - { - wetTorch = true; - } - public override void AddRecipes() { CreateRecipe(3). diff --git a/Items/Placeables/Furniture/AstralTorch.cs b/Items/Placeables/Furniture/AstralTorch.cs index 44aa6afbab..80c1ac1010 100644 --- a/Items/Placeables/Furniture/AstralTorch.cs +++ b/Items/Placeables/Furniture/AstralTorch.cs @@ -58,9 +58,6 @@ namespace CalamityMod.Items.Placeables.Furniture Lighting.AddLight((int)((Item.position.X + Item.width / 2) / 16f), (int)((Item.position.Y + Item.height / 2) / 16f), 1.6f, 0.6f, 0.3f); } - // This function doesn't even work.... - public override void AutoLightSelect(ref bool dryTorch, ref bool wetTorch, ref bool glowstick) => dryTorch = true; - public override void AddRecipes() { CreateRecipe(3). diff --git a/Items/Placeables/Furniture/ChaosCandle.cs b/Items/Placeables/Furniture/ChaosCandle.cs index 6b03e6704e..30f0bf1be3 100644 --- a/Items/Placeables/Furniture/ChaosCandle.cs +++ b/Items/Placeables/Furniture/ChaosCandle.cs @@ -50,11 +50,6 @@ namespace CalamityMod.Items.Placeables.Furniture Lighting.AddLight((int)((Item.position.X + Item.width / 2) / 16f), (int)((Item.position.Y + Item.height / 2) / 16f), 0.85f, 0.25f, 0.25f); } - public override void AutoLightSelect(ref bool dryTorch, ref bool wetTorch, ref bool glowstick) - { - wetTorch = true; - } - public override void AddRecipes() { CreateRecipe(1).AddIngredient(ItemID.WaterCandle, 3).AddIngredient(ItemID.SoulofNight, 3).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ModContent.ItemType()).AddTile(TileID.WorkBenches).Register(); diff --git a/Items/Placeables/Furniture/GloomTorch.cs b/Items/Placeables/Furniture/GloomTorch.cs index 50810196ff..7c9ec4a190 100644 --- a/Items/Placeables/Furniture/GloomTorch.cs +++ b/Items/Placeables/Furniture/GloomTorch.cs @@ -52,14 +52,6 @@ namespace CalamityMod.Items.Placeables.Furniture Lighting.AddLight((int)((Item.position.X + Item.width / 2) / 16f), (int)((Item.position.Y + Item.height / 2) / 16f), 0.5f, 0.75f, 1.2f); } - // This function doesn't even work.... - public override void AutoLightSelect(ref bool dryTorch, ref bool wetTorch, ref bool glowstick) - { - dryTorch = true; - wetTorch = false; - glowstick = false; - } - public override void AddRecipes() { CreateRecipe(3). diff --git a/Items/Placeables/Furniture/NavyPrismTorch.cs b/Items/Placeables/Furniture/NavyPrismTorch.cs index 950b215d4f..eb088871e9 100644 --- a/Items/Placeables/Furniture/NavyPrismTorch.cs +++ b/Items/Placeables/Furniture/NavyPrismTorch.cs @@ -55,12 +55,6 @@ namespace CalamityMod.Items.Placeables.Furniture Lighting.AddLight((int)((Item.position.X + Item.width / 2) / 16f), (int)((Item.position.Y + Item.height / 2) / 16f), 0.8f, 1.2f, 1.2f); } - // This function doesn't even work.... - public override void AutoLightSelect(ref bool dryTorch, ref bool wetTorch, ref bool glowstick) - { - wetTorch = true; - } - public override void AddRecipes() { CreateRecipe(3). diff --git a/Items/Placeables/Furniture/RefractivePrismTorch.cs b/Items/Placeables/Furniture/RefractivePrismTorch.cs index cc7a9353ab..bb9d0045e1 100644 --- a/Items/Placeables/Furniture/RefractivePrismTorch.cs +++ b/Items/Placeables/Furniture/RefractivePrismTorch.cs @@ -55,12 +55,6 @@ namespace CalamityMod.Items.Placeables.Furniture Lighting.AddLight((int)((Item.position.X + Item.width / 2) / 16f), (int)((Item.position.Y + Item.height / 2) / 16f), 1f, 0.9f, 1.2f); } - // This function doesn't even work.... - public override void AutoLightSelect(ref bool dryTorch, ref bool wetTorch, ref bool glowstick) - { - wetTorch = true; - } - public override void AddRecipes() { CreateRecipe(3). diff --git a/Items/Placeables/Furniture/SulphurousTorch.cs b/Items/Placeables/Furniture/SulphurousTorch.cs index ddfd7d3628..107052a1a4 100644 --- a/Items/Placeables/Furniture/SulphurousTorch.cs +++ b/Items/Placeables/Furniture/SulphurousTorch.cs @@ -55,12 +55,6 @@ namespace CalamityMod.Items.Placeables.Furniture Lighting.AddLight((int)((Item.position.X + Item.width / 2) / 16f), (int)((Item.position.Y + Item.height / 2) / 16f), 0.9f, 1.2f, 0.3f); } - // This function doesn't even work.... - public override void AutoLightSelect(ref bool dryTorch, ref bool wetTorch, ref bool glowstick) - { - wetTorch = true; - } - public override void AddRecipes() { CreateRecipe(3). diff --git a/Items/Placeables/Furniture/TranquilityCandle.cs b/Items/Placeables/Furniture/TranquilityCandle.cs index 0ffac629ac..af95b84006 100644 --- a/Items/Placeables/Furniture/TranquilityCandle.cs +++ b/Items/Placeables/Furniture/TranquilityCandle.cs @@ -49,11 +49,6 @@ namespace CalamityMod.Items.Placeables.Furniture Lighting.AddLight((int)((Item.position.X + Item.width / 2) / 16f), (int)((Item.position.Y + Item.height / 2) / 16f), 1f, 0.55f, 1f); } - public override void AutoLightSelect(ref bool dryTorch, ref bool wetTorch, ref bool glowstick) - { - wetTorch = true; - } - public override void AddRecipes() { CreateRecipe(1).AddIngredient(ItemID.PeaceCandle, 3).AddIngredient(ItemID.SoulofLight, 3).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ModContent.ItemType()).AddTile(TileID.WorkBenches).Register(); diff --git a/Items/Placeables/FurnitureAbyss/AbyssTorch.cs b/Items/Placeables/FurnitureAbyss/AbyssTorch.cs index d6e99a74b0..59dd8cd473 100644 --- a/Items/Placeables/FurnitureAbyss/AbyssTorch.cs +++ b/Items/Placeables/FurnitureAbyss/AbyssTorch.cs @@ -56,12 +56,6 @@ namespace CalamityMod.Items.Placeables.FurnitureAbyss Lighting.AddLight((int)((Item.position.X + Item.width / 2) / 16f), (int)((Item.position.Y + Item.height / 2) / 16f), 0.5f, 0.5f, 2f); } - // This function doesn't even work.... - public override void AutoLightSelect(ref bool dryTorch, ref bool wetTorch, ref bool glowstick) - { - wetTorch = true; - } - public override void AddRecipes() { CreateRecipe(3).AddIngredient(ItemID.Torch, 3).AddIngredient(ModContent.ItemType()).Register();