From 368c786e92d36b5dc3ae2befe6d6de3bcfe357be Mon Sep 17 00:00:00 2001 From: Andrew Marheine Date: Mon, 25 Oct 2021 06:06:49 -0500 Subject: [PATCH] 1 - Max stack fixes. --- Items/SummonItems/AncientMedallion.cs | 1 - Items/SummonItems/AstralChunk.cs | 1 - Items/SummonItems/BirbPheromones.cs | 1 - Items/SummonItems/BloodyWormFood.cs | 1 - Items/SummonItems/BulbofDoom.cs | 1 - Items/SummonItems/CharredIdol.cs | 1 - Items/SummonItems/DecapoditaSprout.cs | 1 - Items/SummonItems/DraedonsRemote.cs | 1 - Items/SummonItems/DriedSeafood.cs | 1 - Items/SummonItems/EidolonTablet.cs | 6 +++--- Items/SummonItems/OldPowerCell.cs | 1 - Items/SummonItems/OverloadedSludge.cs | 1 - Items/SummonItems/ProfanedShard.cs | 1 - Items/SummonItems/SandstormsCore.cs | 1 - Items/SummonItems/Seafood.cs | 1 - Items/SummonItems/Teratoma.cs | 1 - 16 files changed, 3 insertions(+), 18 deletions(-) diff --git a/Items/SummonItems/AncientMedallion.cs b/Items/SummonItems/AncientMedallion.cs index 84ffc053a2..c0ca016b22 100644 --- a/Items/SummonItems/AncientMedallion.cs +++ b/Items/SummonItems/AncientMedallion.cs @@ -19,7 +19,6 @@ namespace CalamityMod.Items.SummonItems { item.width = 20; item.height = 20; - item.maxStack = 20; item.rare = ItemRarityID.Yellow; item.useAnimation = 45; item.useTime = 45; diff --git a/Items/SummonItems/AstralChunk.cs b/Items/SummonItems/AstralChunk.cs index 4c571aa2ce..9a9e47bfd2 100644 --- a/Items/SummonItems/AstralChunk.cs +++ b/Items/SummonItems/AstralChunk.cs @@ -20,7 +20,6 @@ namespace CalamityMod.Items.SummonItems { item.width = 20; item.height = 20; - item.maxStack = 20; item.rare = ItemRarityID.Lime; item.useAnimation = 45; item.useTime = 45; diff --git a/Items/SummonItems/BirbPheromones.cs b/Items/SummonItems/BirbPheromones.cs index cf97150eec..3bb1185e25 100644 --- a/Items/SummonItems/BirbPheromones.cs +++ b/Items/SummonItems/BirbPheromones.cs @@ -19,7 +19,6 @@ namespace CalamityMod.Items.SummonItems { item.width = 28; item.height = 18; - item.maxStack = 20; item.rare = ItemRarityID.Red; item.useAnimation = 45; item.useTime = 45; diff --git a/Items/SummonItems/BloodyWormFood.cs b/Items/SummonItems/BloodyWormFood.cs index b888b075c8..183ece6d7a 100644 --- a/Items/SummonItems/BloodyWormFood.cs +++ b/Items/SummonItems/BloodyWormFood.cs @@ -20,7 +20,6 @@ namespace CalamityMod.Items.SummonItems { item.width = 28; item.height = 18; - item.maxStack = 20; item.rare = ItemRarityID.Orange; item.useAnimation = 45; item.useTime = 45; diff --git a/Items/SummonItems/BulbofDoom.cs b/Items/SummonItems/BulbofDoom.cs index 4e07f94292..4c4725179c 100644 --- a/Items/SummonItems/BulbofDoom.cs +++ b/Items/SummonItems/BulbofDoom.cs @@ -19,7 +19,6 @@ namespace CalamityMod.Items.SummonItems { item.width = 28; item.height = 18; - item.maxStack = 20; item.useAnimation = 45; item.useTime = 45; item.useStyle = ItemUseStyleID.HoldingUp; diff --git a/Items/SummonItems/CharredIdol.cs b/Items/SummonItems/CharredIdol.cs index 0e111ac809..58e655601d 100644 --- a/Items/SummonItems/CharredIdol.cs +++ b/Items/SummonItems/CharredIdol.cs @@ -22,7 +22,6 @@ namespace CalamityMod.Items.SummonItems { item.width = 28; item.height = 18; - item.maxStack = 20; item.rare = ItemRarityID.LightPurple; item.useAnimation = 45; item.useTime = 45; diff --git a/Items/SummonItems/DecapoditaSprout.cs b/Items/SummonItems/DecapoditaSprout.cs index de76b3cab7..77fe48d395 100644 --- a/Items/SummonItems/DecapoditaSprout.cs +++ b/Items/SummonItems/DecapoditaSprout.cs @@ -18,7 +18,6 @@ namespace CalamityMod.Items.SummonItems { item.width = 28; item.height = 18; - item.maxStack = 20; item.rare = ItemRarityID.Green; item.useAnimation = 45; item.useTime = 45; diff --git a/Items/SummonItems/DraedonsRemote.cs b/Items/SummonItems/DraedonsRemote.cs index c49e2a31d4..86a4467c8e 100644 --- a/Items/SummonItems/DraedonsRemote.cs +++ b/Items/SummonItems/DraedonsRemote.cs @@ -19,7 +19,6 @@ namespace CalamityMod.Items.SummonItems { item.width = 28; item.height = 28; - item.maxStack = 20; item.rare = ItemRarityID.Yellow; item.useAnimation = 45; item.useTime = 45; diff --git a/Items/SummonItems/DriedSeafood.cs b/Items/SummonItems/DriedSeafood.cs index 6caef8ed17..bd4491a667 100644 --- a/Items/SummonItems/DriedSeafood.cs +++ b/Items/SummonItems/DriedSeafood.cs @@ -22,7 +22,6 @@ namespace CalamityMod.Items.SummonItems { item.width = 28; item.height = 28; - item.maxStack = 20; item.rare = ItemRarityID.Green; item.useAnimation = 45; item.useTime = 45; diff --git a/Items/SummonItems/EidolonTablet.cs b/Items/SummonItems/EidolonTablet.cs index 5c9bdb15df..88dcbda00a 100644 --- a/Items/SummonItems/EidolonTablet.cs +++ b/Items/SummonItems/EidolonTablet.cs @@ -11,18 +11,18 @@ namespace CalamityMod.Items.SummonItems public override void SetStaticDefaults() { DisplayName.SetDefault("Eidolon Tablet"); - } + Tooltip.SetDefault("Not consumable"); + } public override void SetDefaults() { item.width = 20; item.height = 20; - item.maxStack = 20; item.rare = ItemRarityID.Cyan; item.useAnimation = 45; item.useTime = 45; item.useStyle = ItemUseStyleID.HoldingUp; - item.consumable = true; + item.consumable = false; } public override bool CanUseItem(Player player) diff --git a/Items/SummonItems/OldPowerCell.cs b/Items/SummonItems/OldPowerCell.cs index d8d043ea7d..f83eee9f9c 100644 --- a/Items/SummonItems/OldPowerCell.cs +++ b/Items/SummonItems/OldPowerCell.cs @@ -19,7 +19,6 @@ namespace CalamityMod.Items.SummonItems { item.width = 28; item.height = 18; - item.maxStack = 20; item.rare = ItemRarityID.Lime; item.useAnimation = 45; item.useTime = 45; diff --git a/Items/SummonItems/OverloadedSludge.cs b/Items/SummonItems/OverloadedSludge.cs index b91922d811..1a81ee70d1 100644 --- a/Items/SummonItems/OverloadedSludge.cs +++ b/Items/SummonItems/OverloadedSludge.cs @@ -21,7 +21,6 @@ namespace CalamityMod.Items.SummonItems { item.width = 20; item.height = 20; - item.maxStack = 20; item.rare = ItemRarityID.LightRed; item.useAnimation = 45; item.useTime = 45; diff --git a/Items/SummonItems/ProfanedShard.cs b/Items/SummonItems/ProfanedShard.cs index 6ab36b36dd..0215487ca1 100644 --- a/Items/SummonItems/ProfanedShard.cs +++ b/Items/SummonItems/ProfanedShard.cs @@ -22,7 +22,6 @@ namespace CalamityMod.Items.SummonItems { item.width = 20; item.height = 20; - item.maxStack = 20; item.useAnimation = 45; item.useTime = 45; item.useStyle = ItemUseStyleID.HoldingUp; diff --git a/Items/SummonItems/SandstormsCore.cs b/Items/SummonItems/SandstormsCore.cs index 318737ecfa..88f5f894e7 100644 --- a/Items/SummonItems/SandstormsCore.cs +++ b/Items/SummonItems/SandstormsCore.cs @@ -17,7 +17,6 @@ namespace CalamityMod.Items.SummonItems { item.width = 20; item.height = 20; - item.maxStack = 20; item.rare = ItemRarityID.Lime; item.useAnimation = 45; item.useTime = 45; diff --git a/Items/SummonItems/Seafood.cs b/Items/SummonItems/Seafood.cs index d03f969527..0da71ae88e 100644 --- a/Items/SummonItems/Seafood.cs +++ b/Items/SummonItems/Seafood.cs @@ -22,7 +22,6 @@ namespace CalamityMod.Items.SummonItems { item.width = 26; item.height = 24; - item.maxStack = 20; item.rare = ItemRarityID.Pink; item.useAnimation = 45; item.useTime = 45; diff --git a/Items/SummonItems/Teratoma.cs b/Items/SummonItems/Teratoma.cs index 5cf5c56657..2afc05b597 100644 --- a/Items/SummonItems/Teratoma.cs +++ b/Items/SummonItems/Teratoma.cs @@ -20,7 +20,6 @@ namespace CalamityMod.Items.SummonItems { item.width = 28; item.height = 18; - item.maxStack = 20; item.rare = ItemRarityID.Orange; item.useAnimation = 45; item.useTime = 45;