diff --git a/Items/Mounts/BirdSeed.cs b/Items/Mounts/BirdSeed.cs index 8656adf0da..659b4d50a7 100644 --- a/Items/Mounts/BirdSeed.cs +++ b/Items/Mounts/BirdSeed.cs @@ -1,6 +1,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; +using Terraria.GameContent.Creative; namespace CalamityMod.Items.Mounts { @@ -27,6 +28,7 @@ namespace CalamityMod.Items.Mounts Item.UseSound = SoundID.NPCHit51; Item.noMelee = true; Item.mountType = ModContent.MountType(); + CreativeItemSacrificesCatalog.Instance.SacrificeCountNeededByItemId[Type] = 1; } } } diff --git a/Items/Mounts/Brimrose.cs b/Items/Mounts/Brimrose.cs index b64aa9261b..1e7ec1ae23 100644 --- a/Items/Mounts/Brimrose.cs +++ b/Items/Mounts/Brimrose.cs @@ -1,6 +1,7 @@ -using Terraria; +using Terraria; using Terraria.ID; using Terraria.ModLoader; +using Terraria.GameContent.Creative; namespace CalamityMod.Items.Mounts { @@ -26,6 +27,7 @@ namespace CalamityMod.Items.Mounts Item.value = Item.buyPrice(platinum: 1, gold: 50); Item.Calamity().customRarity = CalamityRarity.Turquoise; Item.Calamity().devItem = true; + CreativeItemSacrificesCatalog.Instance.SacrificeCountNeededByItemId[Type] = 1; } } } diff --git a/Items/Mounts/ExoThrone.cs b/Items/Mounts/ExoThrone.cs index 8649c962a8..1d302d45df 100644 --- a/Items/Mounts/ExoThrone.cs +++ b/Items/Mounts/ExoThrone.cs @@ -2,6 +2,7 @@ using System.Linq; using Terraria.ID; using Terraria.ModLoader; +using Terraria.GameContent.Creative; namespace CalamityMod.Items.Mounts { @@ -28,6 +29,7 @@ namespace CalamityMod.Items.Mounts Item.value = CalamityGlobalItem.RarityVioletBuyPrice; Item.Calamity().customRarity = CalamityRarity.Violet; + CreativeItemSacrificesCatalog.Instance.SacrificeCountNeededByItemId[Type] = 1; } public override void ModifyTooltips(List list) diff --git a/Items/Mounts/Fabsol.cs b/Items/Mounts/Fabsol.cs index de2290557f..29440403fa 100644 --- a/Items/Mounts/Fabsol.cs +++ b/Items/Mounts/Fabsol.cs @@ -1,6 +1,7 @@ -using Terraria; +using Terraria; using Terraria.ID; using Terraria.ModLoader; +using Terraria.GameContent.Creative; namespace CalamityMod.Items.Mounts { @@ -27,6 +28,7 @@ namespace CalamityMod.Items.Mounts Item.value = Item.buyPrice(platinum: 3); Item.Calamity().customRarity = CalamityRarity.DarkBlue; Item.Calamity().devItem = true; + CreativeItemSacrificesCatalog.Instance.SacrificeCountNeededByItemId[Type] = 1; } } } diff --git a/Items/Mounts/Minecarts/DoGCart.cs b/Items/Mounts/Minecarts/DoGCart.cs index a41739e3ca..ef50207e82 100644 --- a/Items/Mounts/Minecarts/DoGCart.cs +++ b/Items/Mounts/Minecarts/DoGCart.cs @@ -3,6 +3,7 @@ using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria; using Terraria.ID; using Terraria.ModLoader; +using Terraria.GameContent.Creative; namespace CalamityMod.Items.Mounts.Minecarts { @@ -26,6 +27,7 @@ namespace CalamityMod.Items.Mounts.Minecarts Item.UseSound = SoundID.Item68; Item.noMelee = true; Item.mountType = ModContent.MountType(); + CreativeItemSacrificesCatalog.Instance.SacrificeCountNeededByItemId[Type] = 1; } public override void AddRecipes() diff --git a/Items/Mounts/OnyxExcavatorKey.cs b/Items/Mounts/OnyxExcavatorKey.cs index 449f845f13..b8ee2e5106 100644 --- a/Items/Mounts/OnyxExcavatorKey.cs +++ b/Items/Mounts/OnyxExcavatorKey.cs @@ -1,6 +1,7 @@ -using Terraria; +using Terraria; using Terraria.ID; using Terraria.ModLoader; +using Terraria.GameContent.Creative; namespace CalamityMod.Items.Mounts { @@ -27,6 +28,7 @@ namespace CalamityMod.Items.Mounts Item.UseSound = SoundID.Item23; Item.noMelee = true; Item.mountType = ModContent.MountType(); + CreativeItemSacrificesCatalog.Instance.SacrificeCountNeededByItemId[Type] = 1; } } } diff --git a/Items/Mounts/SquishyBeanMount.cs b/Items/Mounts/SquishyBeanMount.cs index 8394886193..a63c178e3c 100644 --- a/Items/Mounts/SquishyBeanMount.cs +++ b/Items/Mounts/SquishyBeanMount.cs @@ -1,6 +1,7 @@ -using Terraria; +using Terraria; using Terraria.ID; using Terraria.ModLoader; +using Terraria.GameContent.Creative; namespace CalamityMod.Items.Mounts { @@ -26,6 +27,7 @@ namespace CalamityMod.Items.Mounts Item.value = Item.buyPrice(platinum: 1); Item.rare = ItemRarityID.Cyan; Item.Calamity().devItem = true; + CreativeItemSacrificesCatalog.Instance.SacrificeCountNeededByItemId[Type] = 1; } } } diff --git a/Items/Mounts/TundraLeash.cs b/Items/Mounts/TundraLeash.cs index 89871ea990..3203678f5d 100644 --- a/Items/Mounts/TundraLeash.cs +++ b/Items/Mounts/TundraLeash.cs @@ -1,6 +1,7 @@ -using Terraria; +using Terraria; using Terraria.ID; using Terraria.ModLoader; +using Terraria.GameContent.Creative; namespace CalamityMod.Items.Mounts { @@ -24,6 +25,7 @@ namespace CalamityMod.Items.Mounts Item.UseSound = SoundID.NPCHit56; Item.noMelee = true; Item.mountType = ModContent.MountType(); + CreativeItemSacrificesCatalog.Instance.SacrificeCountNeededByItemId[Type] = 1; } } }