- [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
28 lines
647 B
C#
28 lines
647 B
C#
using ModernUO.Serialization;
|
|
|
|
namespace Server.Items
|
|
{
|
|
[SerializationGenerator(0, false)]
|
|
[Flippable(0x1B09, 0x1B10)]
|
|
public partial class BonePile : Item, IScissorable
|
|
{
|
|
[Constructible]
|
|
public BonePile() : base(0x1B09 + Utility.Random(8))
|
|
{
|
|
Stackable = false;
|
|
Weight = 10.0;
|
|
}
|
|
|
|
public bool Scissor(Mobile from, Scissors scissors)
|
|
{
|
|
if (Deleted || !from.CanSee(this))
|
|
{
|
|
return false;
|
|
}
|
|
|
|
ScissorHelper(from, new Bone(), Utility.RandomMinMax(10, 15));
|
|
|
|
return true;
|
|
}
|
|
}
|
|
}
|