- *Re-scaled price of most Calamity materials* (most drastically post-DoG) - Shimmer transmutation price parity (same as og items) - Applied consistent vanilla sell anchor values to Calamity items: - Buff potions: 2 silver - Flask: 5 silver - Uncommon critters: 10 silver - Potion fish: 15 silver - Lootable fish: 10 silver - Sashimi fish: 7.5 silver - Plentiful fish: 5 silver - Added value to Calamity seeds and saplings to match vanilla
37 lines
1.0 KiB
C#
37 lines
1.0 KiB
C#
using Terraria;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Items.Materials
|
|
{
|
|
[LegacyName("VictideBar")]
|
|
public class SeaRemains : ModItem, ILocalizedModType
|
|
{
|
|
public new string LocalizationCategory => "Items.Materials";
|
|
public override void SetStaticDefaults()
|
|
{
|
|
Item.ResearchUnlockCount = 25;
|
|
ItemID.Sets.SortingPriorityMaterials[Type] = 60; // Meteorite
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
Item.width = 30;
|
|
Item.height = 24;
|
|
Item.maxStack = 9999;
|
|
Item.value = Item.sellPrice(silver: 36);
|
|
Item.rare = ItemRarityID.Green;
|
|
}
|
|
public override void AddRecipes()
|
|
{
|
|
CreateRecipe().
|
|
AddIngredient<PearlShard>(2).
|
|
AddIngredient(ItemID.Coral, 2).
|
|
AddIngredient(ItemID.Starfish, 2).
|
|
AddIngredient(ItemID.Seashell, 2).
|
|
AddTile(TileID.Furnaces).
|
|
Register();
|
|
}
|
|
}
|
|
}
|