### THIS IS A BREAKING CHANGE IF YOU ARE ALREADY USING CODEGEN. IF YOUR WORLD HAS ERRORS LOADING PLEASE CONTACT ME ON DISCORD. ORE MIGHT FAIL TO LOAD. ### Changes * Fixes Components from addons not marking dirty * Code gens BaseAddonContainer * Code gens Ingots * Fixes code gen deserialization for Ore * Code gens dyetubs * Code gens reagents * Code gens tailor commodities * Code gens fish
25 lines
680 B
C#
25 lines
680 B
C#
namespace Server.Items
|
|
{
|
|
[Serializable(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
|
|
}
|
|
}
|
|
}
|
|
}
|