### THIS IS A BREAKING CHANGE IF YOU ARE ALREADY USING CODEGEN. IF YOUR WORLD HAS ERRORS LOADING PLEASE CONTACT ME ON DISCORD. ORE MIGHT FAIL TO LOAD. ### Changes * Fixes Components from addons not marking dirty * Code gens BaseAddonContainer * Code gens Ingots * Fixes code gen deserialization for Ore * Code gens dyetubs * Code gens reagents * Code gens tailor commodities * Code gens fish
19 lines
442 B
C#
19 lines
442 B
C#
namespace Server.Items
|
|
{
|
|
[Serializable(0, false)]
|
|
public partial class Fish : Item, ICarvable
|
|
{
|
|
[Constructible]
|
|
public Fish(int amount = 1) : base(Utility.Random(0x09CC, 4))
|
|
{
|
|
Stackable = true;
|
|
Weight = 1.0;
|
|
Amount = amount;
|
|
}
|
|
|
|
public void Carve(Mobile from, Item item)
|
|
{
|
|
ScissorHelper(from, new RawFishSteak(), 4);
|
|
}
|
|
}
|
|
}
|