ModernUO/Projects/UOContent/Items/Body Parts/BonePile.cs
Kamron Batman 54d728a322
fix: Updates serialization to use v2.0 (#998)
- [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
2022-04-17 08:02:15 -07:00

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;
}
}
}