Files
abysmal-isle/Scripts/Services/GiftGiving/HolidayGiftBox2018.cs
Unstable Kitsune b918192e4e Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
2023-11-28 23:20:26 -05:00

32 lines
1.0 KiB
C#

using System;
using Server.Items;
namespace Server.Misc
{
public class HolidayGiftBox2018 : GiftGiver
{
public override DateTime Start { get { return new DateTime(2018, 12, 30); } }
public override DateTime Finish { get { return new DateTime(2019, 1, 1); } }
public static void Initialize()
{
GiftGiving.Register(new HolidayGiftBox2018());
}
public override void GiveGift(Mobile mob)
{
HolidayGiftToken2018 gift = new HolidayGiftToken2018();
switch ( this.GiveGift(mob, gift) )
{
case GiftResult.Backpack:
mob.SendMessage(0x482, "Happy Holidays from the team! Gift items have been placed in your backpack.");
break;
case GiftResult.BankBox:
mob.SendMessage(0x482, "Happy Holidays from the team! Gift items have been placed in your bank box.");
break;
}
}
}
}