ModernUO/Projects/UOContent/Items/Aquarium/Rewards/WaterloggedBoots.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

34 lines
816 B
C#

using ModernUO.Serialization;
namespace Server.Items
{
[SerializationGenerator(0, false)]
public partial class WaterloggedBoots : BaseShoes
{
[Constructible]
public WaterloggedBoots() : base(0x1711)
{
if (Utility.RandomBool())
{
// thigh boots
ItemID = 0x1711;
Weight = 4.0;
}
else
{
// boots
ItemID = 0x170B;
Weight = 3.0;
}
}
public override int LabelNumber => 1074364; // Waterlogged boots
public override void AddNameProperties(ObjectPropertyList list)
{
base.AddNameProperties(list);
list.Add(1073634); // An aquarium decoration
}
}
}