diff --git a/Items/Materials/DisgustingSlop.png b/Items/Materials/DisgustingSlop.png new file mode 100644 index 0000000000..6d88c2df93 Binary files /dev/null and b/Items/Materials/DisgustingSlop.png differ diff --git a/Items/Placeables/Furniture/GluttonyBlender.cs b/Items/Placeables/Furniture/GluttonyBlender.cs index fe85e2400f..1fa9a9ffc7 100644 --- a/Items/Placeables/Furniture/GluttonyBlender.cs +++ b/Items/Placeables/Furniture/GluttonyBlender.cs @@ -18,10 +18,10 @@ namespace CalamityMod.Items.Placeables.Furniture } } - public class DeliciousSlop : ModItem, ILocalizedModType + public class QualitySlop : ModItem, ILocalizedModType { public new string LocalizationCategory => "Items.Potions"; - public override string Texture => "CalamityMod/Items/Potions/Food/DeliciousMeat"; //Placeholder + public override string Texture => "CalamityMod/Items/Potions/Food/QualitySlop"; public override void SetDefaults() { @@ -33,7 +33,7 @@ namespace CalamityMod.Items.Placeables.Furniture public class DisgustingSlop : ModItem, ILocalizedModType { public new string LocalizationCategory => "Items.Misc"; - public override string Texture => "CalamityMod/Items/Tools/DisgustingMeat"; //Placeholder + public override string Texture => "CalamityMod/Items/Materials/DisgustingSlop"; public override void SetStaticDefaults() { diff --git a/Items/Potions/Food/QualitySlop.png b/Items/Potions/Food/QualitySlop.png new file mode 100644 index 0000000000..d6299690f9 Binary files /dev/null and b/Items/Potions/Food/QualitySlop.png differ diff --git a/Localization/en-US/Mods.CalamityMod.Items.Potions.hjson b/Localization/en-US/Mods.CalamityMod.Items.Potions.hjson index 3d6a0149b4..9c75b44983 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Potions.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Potions.hjson @@ -561,11 +561,6 @@ Cometfruit: { ''' } -DeliciousSlop: { - DisplayName: Delicious Slop - Tooltip: "{$CommonItemTooltip.MajorStats}" -} - Jackfruit: { DisplayName: Jackfruit Tooltip: "{$CommonItemTooltip.MinorStats}" @@ -585,6 +580,11 @@ Mangosteen: { ''' } +QualitySlop: { + DisplayName: Quality Slop + Tooltip: "{$CommonItemTooltip.MajorStats}" +} + Salak: { DisplayName: Salak Tooltip: "{$CommonItemTooltip.MinorStats}" diff --git a/Tiles/Furniture/GluttonyBlender.cs b/Tiles/Furniture/GluttonyBlender.cs index d542ca2660..d3b7f5c828 100644 --- a/Tiles/Furniture/GluttonyBlender.cs +++ b/Tiles/Furniture/GluttonyBlender.cs @@ -45,7 +45,7 @@ namespace CalamityMod.Tiles.Furniture { Player p = Main.LocalPlayer; // You shouldn't be able to put the slop back into the blender - if (BuffID.Sets.IsWellFed[p.HeldItem.buffType] && p.HeldItem.type != ModContent.ItemType()) + if (BuffID.Sets.IsWellFed[p.HeldItem.buffType] && p.HeldItem.type != ModContent.ItemType()) { p.noThrow = 2; p.cursorItemIconEnabled = true; @@ -134,12 +134,12 @@ namespace CalamityMod.Tiles.Furniture { // Exit early if anyone of the following are true: // * Running on client that is not the local player - // * The item is not a food, is not consumable, or is Delicious Slop (you cannot feed the slop back into the blender) + // * The item is not a food, is not consumable, or is Quality Slop (you cannot feed the slop back into the blender) // * The Gluttony Blender tile entity doesn't exist for some reason // * The player isn't within the tile's interaction range if (Main.LocalPlayer.whoAmI != player.whoAmI) return true; - if (!BuffID.Sets.IsWellFed[item.buffType] || !item.consumable || item.type == ModContent.ItemType()) + if (!BuffID.Sets.IsWellFed[item.buffType] || !item.consumable || item.type == ModContent.ItemType()) return true; Point mouseTile = Main.MouseWorld.ToTileCoordinates(); @@ -232,7 +232,7 @@ namespace CalamityMod.Tiles.Furniture if (Projectile.timeLeft == 1) { - int itemDrop = Main.rand.NextBool(GluttonyBlender.OneInXChanceForGoodSlop) ? ModContent.ItemType() : ModContent.ItemType(); + int itemDrop = Main.rand.NextBool(GluttonyBlender.OneInXChanceForGoodSlop) ? ModContent.ItemType() : ModContent.ItemType(); int i = Item.NewItem(Projectile.GetItemSource_DropAsItem(), Projectile.Center, itemDrop); Main.item[i].GetGlobalItem().FromGluttonyBlender = true; }