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,56 @@
using System;
using Server;
namespace Server.Items
{
[Flipable(0x9C14, 0x9C15)]
public class Anniversary21Card : Item
{
[CommandProperty(AccessLevel.GameMaster)]
public string Args { get; set; }
private string[] _Staff = new string[] { Server.Misc.ServerList.ServerName };
[Constructable]
public Anniversary21Card()
: this(null)
{
}
[Constructable]
public Anniversary21Card(Mobile m) : base(0x9C14)
{
Hue = 85;
Args = String.Format("{0}\t{1}", _Staff[Utility.Random(_Staff.Length)], m != null ? m.Name : "you");
}
public override void AddNameProperty(ObjectPropertyList list)
{
list.Add(1156145, Args); // A Personally Written Anniversary Card from ~1_name~ to ~2_name~
list.Add(1062613, "#1158486");
}
public Anniversary21Card(Serial serial)
: base(serial)
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 0 ); // version
writer.Write(Args);
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
Args = reader.ReadString();
}
}
}