mirror of
https://github.com/ServUO/ServUO
synced 2026-08-11 20:23:04 -04:00
43 lines
No EOL
1 KiB
C#
43 lines
No EOL
1 KiB
C#
namespace Server.Items
|
|
{
|
|
public class BagOfReagents : Bag
|
|
{
|
|
[Constructable]
|
|
public BagOfReagents()
|
|
: this(50)
|
|
{
|
|
}
|
|
|
|
[Constructable]
|
|
public BagOfReagents(int amount)
|
|
{
|
|
DropItem(new BlackPearl(amount));
|
|
DropItem(new Bloodmoss(amount));
|
|
DropItem(new Garlic(amount));
|
|
DropItem(new Ginseng(amount));
|
|
DropItem(new MandrakeRoot(amount));
|
|
DropItem(new Nightshade(amount));
|
|
DropItem(new SulfurousAsh(amount));
|
|
DropItem(new SpidersSilk(amount));
|
|
}
|
|
|
|
public BagOfReagents(Serial serial)
|
|
: base(serial)
|
|
{
|
|
}
|
|
|
|
public override void Serialize(GenericWriter writer)
|
|
{
|
|
base.Serialize(writer);
|
|
|
|
writer.Write(0); // version
|
|
}
|
|
|
|
public override void Deserialize(GenericReader reader)
|
|
{
|
|
base.Deserialize(reader);
|
|
|
|
int version = reader.ReadInt();
|
|
}
|
|
}
|
|
} |