RunUO/Scripts/Items/New Haven Quest Rewards/BagOfNecromancerReagents.cs

41 lines
866 B
C#

using System;
using Server;
namespace Server.Items
{
public class BagOfNecromancerReagents : Bag
{
[Constructable]
public BagOfNecromancerReagents() : this( 50 )
{
}
[Constructable]
public BagOfNecromancerReagents( int amount )
{
DropItem( new BatWing ( amount ) );
DropItem( new GraveDust ( amount ) );
DropItem( new DaemonBlood( amount ) );
DropItem( new NoxCrystal ( amount ) );
DropItem( new PigIron ( amount ) );
}
public BagOfNecromancerReagents( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.WriteEncodedInt( 0 ); // version
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadEncodedInt();
}
}
}