- *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
35 lines
1.1 KiB
C#
35 lines
1.1 KiB
C#
using Terraria;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Items.Fishing
|
|
{
|
|
public class FishofLight : ModItem, ILocalizedModType
|
|
{
|
|
public new string LocalizationCategory => "Items.Fishing";
|
|
public override void SetStaticDefaults()
|
|
{
|
|
Item.ResearchUnlockCount = 10;
|
|
ItemID.Sets.CanBePlacedOnWeaponRacks[Item.type] = true;
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
Item.width = 34;
|
|
Item.height = 34;
|
|
Item.maxStack = 9999;
|
|
Item.consumable = true;
|
|
Item.value = Item.sellPrice(silver: 10);
|
|
Item.rare = ItemRarityID.Orange;
|
|
}
|
|
|
|
public override void ModifyResearchSorting(ref ContentSamples.CreativeHelper.ItemGroup itemGroup)
|
|
{
|
|
itemGroup = ContentSamples.CreativeHelper.ItemGroup.GoodieBags;
|
|
}
|
|
|
|
public override bool CanRightClick() => true;
|
|
public override void ModifyItemLoot(ItemLoot itemLoot) => itemLoot.Add(ItemID.SoulofLight, 1, 2, 5);
|
|
}
|
|
}
|