ModernUO/Projects/UOContent/Items/Skill Items/Tailor Items/Dyetubs/MetallicLeatherDyeTub.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

27 lines
721 B
C#

using ModernUO.Serialization;
namespace Server.Items
{
[SerializationGenerator(0, false)]
public partial class MetallicLeatherDyeTub : LeatherDyeTub
{
[Constructible]
public MetallicLeatherDyeTub() => LootType = LootType.Blessed;
public override CustomHuePicker CustomHuePicker => null;
public override int LabelNumber => 1153495; // Metallic Leather ...
public override bool MetallicHues => true;
public override void GetProperties(ObjectPropertyList list)
{
base.GetProperties(list);
if (Core.ML && IsRewardItem)
{
list.Add(1076221); // 5th Year Veteran Reward
}
}
}
}