Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
31
Scripts/Services/GiftGiving/HolidayGiftBox2018.cs
Normal file
31
Scripts/Services/GiftGiving/HolidayGiftBox2018.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user