37 lines
854 B
C#
37 lines
854 B
C#
using System;
|
|
using Server;
|
|
|
|
namespace Server.Items
|
|
{
|
|
public class BegFlowerGarland : FlowerGarland
|
|
{
|
|
[Constructable]
|
|
public BegFlowerGarland()
|
|
{
|
|
ItemID = Utility.RandomDouble() > .5 ? 8965 : 8966;
|
|
}
|
|
|
|
public BegFlowerGarland(Serial serial)
|
|
: base(serial)
|
|
{
|
|
}
|
|
|
|
public override void GetProperties(ObjectPropertyList list)
|
|
{
|
|
base.GetProperties(list);
|
|
list.Add(1075129); // Acquired by begging
|
|
}
|
|
|
|
public override void Serialize(GenericWriter writer)
|
|
{
|
|
base.Serialize(writer);
|
|
writer.Write((int)0); // version
|
|
}
|
|
|
|
public override void Deserialize(GenericReader reader)
|
|
{
|
|
base.Deserialize(reader);
|
|
reader.ReadInt();
|
|
}
|
|
}
|
|
} |