Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
45
Scripts/Items/Containers/BagOfReagents.cs
Normal file
45
Scripts/Items/Containers/BagOfReagents.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class BagOfReagents : Bag
|
||||
{
|
||||
[Constructable]
|
||||
public BagOfReagents()
|
||||
: this(50)
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public BagOfReagents(int amount)
|
||||
{
|
||||
this.DropItem(new BlackPearl(amount));
|
||||
this.DropItem(new Bloodmoss(amount));
|
||||
this.DropItem(new Garlic(amount));
|
||||
this.DropItem(new Ginseng(amount));
|
||||
this.DropItem(new MandrakeRoot(amount));
|
||||
this.DropItem(new Nightshade(amount));
|
||||
this.DropItem(new SulfurousAsh(amount));
|
||||
this.DropItem(new SpidersSilk(amount));
|
||||
}
|
||||
|
||||
public BagOfReagents(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int)0); // version
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user