ModernUO/Projects/UOContent/Items/Aquarium/Rewards/WaterloggedBoots.cs
Kamron Batman 1323162628
fix(codegen): Adds codegen for embedded objects and timer fields (#686)
* Adds code genning for embedded objects. See `AquariumState` as an example.
* Adds code genning for fields that are `Timer`. See `Aquarium` as an example.
* Codegens aquariums
* Fixes missing option for most primitive field types.
2021-08-16 14:48:18 -07:00

32 lines
775 B
C#

namespace Server.Items
{
[Serializable(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
}
}
}