### 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! ❤️
38 lines
1 KiB
C#
38 lines
1 KiB
C#
using ModernUO.Serialization;
|
|
|
|
namespace Server.Items;
|
|
|
|
[SerializationGenerator(0, false)]
|
|
public partial class SnowPile : Item
|
|
{
|
|
[Constructible]
|
|
public SnowPile() : base(0x913)
|
|
{
|
|
Hue = 0x481;
|
|
Weight = 1.0;
|
|
LootType = LootType.Blessed;
|
|
}
|
|
|
|
public override int LabelNumber => 1005578; // a pile of snow
|
|
|
|
public override void OnDoubleClick(Mobile from)
|
|
{
|
|
if (!IsChildOf(from.Backpack))
|
|
{
|
|
from.SendLocalizedMessage(1042010); // You must have the object in your backpack to use it.
|
|
}
|
|
else if (from.Mounted)
|
|
{
|
|
from.SendLocalizedMessage(1010097); // You cannot use this while mounted.
|
|
}
|
|
else if (from.CanBeginAction<SnowPile>())
|
|
{
|
|
from.SendLocalizedMessage(1005575); // You carefully pack the snow into a ball...
|
|
from.Target = new SnowTarget();
|
|
}
|
|
else
|
|
{
|
|
from.SendLocalizedMessage(1005574); // The snow is not ready to be packed yet. Keep trying.
|
|
}
|
|
}
|
|
}
|