### Summary
* Adds contributors/sponsors to the "staff" list for holiday items.
* Unifies all of the staff lists
* Moves 2004 winter gifts to the appropriate folder
* Codegens the gift items
## Thank you!
Thank you to the RunUO/ServUO community, Owyn, Jaedan, the Outlands community, and the ModernUO contributors/community. Without all of you, this would not be possible! ❤️
24 lines
745 B
C#
24 lines
745 B
C#
using ModernUO.Serialization;
|
|
using Server.Misc;
|
|
|
|
namespace Server.Items.Holiday;
|
|
|
|
[SerializationGenerator(0, false)]
|
|
[TypeAlias("Server.Items.ClownMask", "Server.Items.DaemonMask", "Server.Items.PlagueMask")]
|
|
public partial class BasePaintedMask : Item
|
|
{
|
|
[InternString]
|
|
[SerializableField(0, setter: "private")]
|
|
private string _staffer;
|
|
|
|
public BasePaintedMask(int itemid) : this(StaffInfo.GetRandomStaff(), itemid)
|
|
{
|
|
}
|
|
|
|
public BasePaintedMask(string staffer, int itemid) : base(itemid + Utility.Random(2)) =>
|
|
_staffer = staffer.Intern();
|
|
|
|
public override string DefaultName => _staffer != null ? $"{MaskName} hand painted by {_staffer}" : MaskName;
|
|
|
|
public virtual string MaskName => "A Mask";
|
|
}
|