ModernUO/Scripts/Items/Resources/Reagents/BagOfReagents.cs
2018-09-14 08:41:38 -07:00

41 lines
No EOL
922 B
C#

namespace Server.Items
{
public class BagOfReagents : Bag
{
[Constructible]
public BagOfReagents() : this( 50 )
{
}
[Constructible]
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( (int) 0 ); // version
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
}
}