From 889bb6a43193024045ccc6136cbbd456cd57c799 Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Sun, 23 Feb 2025 21:08:17 -0500 Subject: [PATCH] Calamity fruits shimmer into Ambrosia --- Items/Potions/Food/Barberry.cs | 3 ++- Items/Potions/Food/Cometfruit.cs | 5 +++-- Items/Potions/Food/Jackfruit.cs | 5 +++-- Items/Potions/Food/Lotus.cs | 5 +++-- Items/Potions/Food/Mangosteen.cs | 5 +++-- Items/Potions/Food/Salak.cs | 5 +++-- 6 files changed, 17 insertions(+), 11 deletions(-) diff --git a/Items/Potions/Food/Barberry.cs b/Items/Potions/Food/Barberry.cs index 19716ffed1..f81b940201 100644 --- a/Items/Potions/Food/Barberry.cs +++ b/Items/Potions/Food/Barberry.cs @@ -19,6 +19,7 @@ namespace CalamityMod.Items.Potions.Food new Color(160, 32, 95) }; ItemID.Sets.IsFood[Type] = true; + ItemID.Sets.ShimmerTransformToItem[Type] = ItemID.Ambrosia; } public override void SetDefaults() @@ -28,4 +29,4 @@ namespace CalamityMod.Items.Potions.Food Item.rare = ItemRarityID.Blue; } } -} \ No newline at end of file +} diff --git a/Items/Potions/Food/Cometfruit.cs b/Items/Potions/Food/Cometfruit.cs index ddf1698412..8b80cdc0d6 100644 --- a/Items/Potions/Food/Cometfruit.cs +++ b/Items/Potions/Food/Cometfruit.cs @@ -19,7 +19,8 @@ namespace CalamityMod.Items.Potions.Food new Color(147, 200, 221) }; ItemID.Sets.IsFood[Type] = true; - } + ItemID.Sets.ShimmerTransformToItem[Type] = ItemID.Ambrosia; + } public override void SetDefaults() { @@ -28,4 +29,4 @@ namespace CalamityMod.Items.Potions.Food Item.rare = ItemRarityID.Blue; } } -} \ No newline at end of file +} diff --git a/Items/Potions/Food/Jackfruit.cs b/Items/Potions/Food/Jackfruit.cs index c586f0f319..97477e2b7e 100644 --- a/Items/Potions/Food/Jackfruit.cs +++ b/Items/Potions/Food/Jackfruit.cs @@ -19,7 +19,8 @@ namespace CalamityMod.Items.Potions.Food new Color(147, 176, 54) }; ItemID.Sets.IsFood[Type] = true; - } + ItemID.Sets.ShimmerTransformToItem[Type] = ItemID.Ambrosia; + } public override void SetDefaults() { @@ -28,4 +29,4 @@ namespace CalamityMod.Items.Potions.Food Item.rare = ItemRarityID.Blue; } } -} \ No newline at end of file +} diff --git a/Items/Potions/Food/Lotus.cs b/Items/Potions/Food/Lotus.cs index e434603427..ecabc71b53 100644 --- a/Items/Potions/Food/Lotus.cs +++ b/Items/Potions/Food/Lotus.cs @@ -19,7 +19,8 @@ namespace CalamityMod.Items.Potions.Food new Color(233, 184, 87) }; ItemID.Sets.IsFood[Type] = true; - } + ItemID.Sets.ShimmerTransformToItem[Type] = ItemID.Ambrosia; + } public override void SetDefaults() { @@ -28,4 +29,4 @@ namespace CalamityMod.Items.Potions.Food Item.rare = ItemRarityID.Blue; } } -} \ No newline at end of file +} diff --git a/Items/Potions/Food/Mangosteen.cs b/Items/Potions/Food/Mangosteen.cs index 44de848075..4c77a549b0 100644 --- a/Items/Potions/Food/Mangosteen.cs +++ b/Items/Potions/Food/Mangosteen.cs @@ -19,7 +19,8 @@ namespace CalamityMod.Items.Potions.Food new Color(123, 99, 130) }; ItemID.Sets.IsFood[Type] = true; - } + ItemID.Sets.ShimmerTransformToItem[Type] = ItemID.Ambrosia; + } public override void SetDefaults() { @@ -28,4 +29,4 @@ namespace CalamityMod.Items.Potions.Food Item.rare = ItemRarityID.Blue; } } -} \ No newline at end of file +} diff --git a/Items/Potions/Food/Salak.cs b/Items/Potions/Food/Salak.cs index e9db4b7b65..8b99e2e4f3 100644 --- a/Items/Potions/Food/Salak.cs +++ b/Items/Potions/Food/Salak.cs @@ -19,7 +19,8 @@ namespace CalamityMod.Items.Potions.Food new Color(253, 242, 233) }; ItemID.Sets.IsFood[Type] = true; - } + ItemID.Sets.ShimmerTransformToItem[Type] = ItemID.Ambrosia; + } public override void SetDefaults() { @@ -28,4 +29,4 @@ namespace CalamityMod.Items.Potions.Food Item.rare = ItemRarityID.Blue; } } -} \ No newline at end of file +}