- [X] Deletes serialization annotations - [X] Updates to ModernUO.Serialization.Annotations nuget - [X] Updates serializer to v2.0 - [X] Changes all `Serializable()` to `SerializationGenerator()` - [X] Updates to schema generator v2.0
21 lines
483 B
C#
21 lines
483 B
C#
using ModernUO.Serialization;
|
|
|
|
namespace Server.Items
|
|
{
|
|
[SerializationGenerator(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);
|
|
}
|
|
}
|
|
}
|