* 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.
32 lines
775 B
C#
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
|
|
}
|
|
}
|
|
}
|