Merge pull request #1540 from CalamityTeam/t3-food-nerfs

Tier 3 food nerfs
This commit is contained in:
CongratsIsTrash authored and GitHub committed 2026-06-16 12:25:42 -04:00
commit dcd1e144f6
2 files changed
+5 -5

No files matched your search

+3 -3
View File
@@ -15,7 +15,7 @@ namespace CalamityMod.Items.Potions.Food
{
public new string LocalizationCategory => "Items.Potions";
public static int BuffType = BuffID.WellFed3;
public static int BuffDuration = CalamityUtils.MinutesToFrames(8);
public static int BuffDuration = CalamityUtils.MinutesToFrames(4);
public static int SicknessDuration = CalamityUtils.SecondsToFrames(50);
public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs(BuffDuration / 3600);
@@ -55,14 +55,14 @@ namespace CalamityMod.Items.Potions.Food
{
CreateRecipe().
AddIngredient<AbyssGravel>(3).
AddIngredient<CoastalDemonfish>().
AddIngredient<CoastalDemonfish>(2).
AddIngredient(ItemID.Bowl).
AddTile(TileID.CookingPots).
Register();
CreateRecipe().
AddIngredient<Voidstone>(3).
AddIngredient<CoastalDemonfish>().
AddIngredient<CoastalDemonfish>(2).
AddIngredient(ItemID.Bowl).
AddTile(TileID.CookingPots).
Register();
+2 -2
View File
@@ -236,8 +236,8 @@ namespace CalamityMod.Tiles.Furniture
{
Item dummy = new Item();
dummy.SetDefaults(ItemType);
// 0.5% per minute of duration, multiplied by 1.5x for T@ food and 2x for T3 food
float goodPercent = dummy.buffTime * (dummy.buffType == BuffID.WellFed3 ? 2f : dummy.buffType == BuffID.WellFed2 ? 1.5f : 1f) / 3600f / 2f;
// 0.1% per minute of duration, multiplied by 1.5x for T2 food and 2x for T3 food
float goodPercent = dummy.buffTime * (dummy.buffType == BuffID.WellFed3 ? 2f : dummy.buffType == BuffID.WellFed2 ? 1.5f : 1f) / 3600f / 10f;
int itemDrop = Main.rand.NextFloat(100f) < goodPercent ? ModContent.ItemType<QualitySlop>() : ModContent.ItemType<DisgustingSlop>();
int i = Item.NewItem(Projectile.GetItemSource_DropAsItem(), Projectile.Center, itemDrop);