Quality Slop held and plate frames
+ other food consistency stuff
This commit is contained in:
1 parent
7e5229b573
commit
2cfe06054c
2 files changed
+16
No files matched your search
@@ -1,5 +1,7 @@
|
||||
using CalamityMod.Tiles.Furniture;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
@@ -23,9 +25,23 @@ namespace CalamityMod.Items.Placeables.Furniture
|
||||
public new string LocalizationCategory => "Items.Potions";
|
||||
public override string Texture => "CalamityMod/Items/Potions/Food/QualitySlop";
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 5;
|
||||
Main.RegisterItemAnimation(Type, new DrawAnimationVertical(int.MaxValue, 3));
|
||||
ItemID.Sets.FoodParticleColors[Type] = [
|
||||
new Color(183, 65, 68),
|
||||
new Color(167, 116, 36),
|
||||
new Color(175, 87, 190)
|
||||
];
|
||||
ItemID.Sets.IsFood[Type] = true;
|
||||
ItemID.Sets.ShimmerTransformToItem[Type] = ItemID.Ambrosia;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.DefaultToFood(32, 30, BuffID.WellFed3, CalamityUtils.MinutesToFrames(60));
|
||||
Item.value = Item.sellPrice(gold: 1);
|
||||
Item.rare = ItemRarityID.Orange;
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 760 B After Width: | Height: | Size: 1.1 KiB |
Reference in new issue
Block a user