mirror of
https://github.com/ServUO/ServUO
synced 2026-08-11 20:23:04 -04:00
Added decorative stable and dungeon set to the UO Store. Fixed an exploit where anyone could gain control of someone elses mannequin. "Expansion" is now hard coded as we no longer set it. Co-authored-by: TrueUO <knight.daniel.r@gmail.com>
42 lines
1.1 KiB
C#
42 lines
1.1 KiB
C#
namespace Server.Items
|
|
{
|
|
public class DecorativeKitchenSet : Backpack
|
|
{
|
|
public override int LabelNumber => 1158970; // Decorative Kitchen Set
|
|
|
|
[Constructable]
|
|
public DecorativeKitchenSet()
|
|
{
|
|
DropItem(new PieSafe());
|
|
DropItem(new ChinaCabinet());
|
|
DropItem(new ButcherBlock());
|
|
DropItem(new WashBasinDeed());
|
|
DropItem(new WoodStoveDeed());
|
|
|
|
Bag bag = new Bag();
|
|
bag.DropItem(new Countertop());
|
|
bag.DropItem(new Countertop());
|
|
bag.DropItem(new Countertop());
|
|
bag.DropItem(new Countertop());
|
|
|
|
DropItem(bag);
|
|
}
|
|
|
|
public DecorativeKitchenSet(Serial serial)
|
|
: base(serial)
|
|
{
|
|
}
|
|
|
|
public override void Serialize(GenericWriter writer)
|
|
{
|
|
base.Serialize(writer);
|
|
writer.Write(0);
|
|
}
|
|
|
|
public override void Deserialize(GenericReader reader)
|
|
{
|
|
base.Deserialize(reader);
|
|
int version = reader.ReadInt();
|
|
}
|
|
}
|
|
}
|