#W# Initial Commit: Avatars Conquest

This commit is contained in:
WarrentyExpired 2026-07-03 20:19:48 -04:00
commit 8eae46895e
7512 changed files with 416187 additions and 0 deletions

View file

@ -0,0 +1,54 @@
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class BagOfReagents : Bag
{
[Constructable]
public BagOfReagents()
{
Weight = 10.0;
}
public override void Open( Mobile from )
{
int amount = 50;
if ( this.Weight > 2.0 )
{
Item i = null;
i = new BlackPearl( amount ); DropItem( i );
i = new Bloodmoss( amount ); DropItem( i );
i = new Garlic( amount ); DropItem( i );
i = new Ginseng( amount ); DropItem( i );
i = new MandrakeRoot( amount ); DropItem( i );
i = new Nightshade( amount ); DropItem( i );
i = new SulfurousAsh( amount ); DropItem( i );
i = new SpidersSilk( amount ); DropItem( i );
this.Weight = 2.0;
}
base.Open( from );
}
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();
}
}
}