Overwrite

Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
Unstable Kitsune
2023-11-28 23:20:26 -05:00
parent 3cd54811de
commit b918192e4e
11608 changed files with 2644205 additions and 47 deletions

View File

@@ -0,0 +1,33 @@
using System;
using Server;
using Server.Items;
namespace Server.Misc
{
public class AnniversaryGiver18th : GiftGiver
{
public static void Initialize()
{
GiftGiving.Register(new AnniversaryGiver18th());
}
public override DateTime Start { get { return new DateTime(2016, 4, 08); } }
public override DateTime Finish { get { return new DateTime(2016, 12, 31); } }
public override TimeSpan MinimumAge { get { return TimeSpan.FromHours(12); } }
public override void GiveGift(Mobile mob)
{
Bag bag = new AnniversaryBag18th(mob);
switch (GiveGift(mob, bag))
{
case GiftResult.Backpack:
mob.SendLocalizedMessage(1156142); // Happy 18th Anniversary! We have placed a gift for you in your backpack.
break;
case GiftResult.BankBox:
mob.SendLocalizedMessage(1156143); // Happy 18th Anniversary! We have placed a gift for you in your bank box.
break;
}
}
}
}