This commit is contained in:
commit
47711d616e
2644 changed files with 479454 additions and 0 deletions
47
Scripts/Items/SupplyBags/AlchemyBag.cs
Normal file
47
Scripts/Items/SupplyBags/AlchemyBag.cs
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class AlchemyBag : Bag
|
||||
{
|
||||
public override string DefaultName
|
||||
{
|
||||
get { return "an Alchemy Kit"; }
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public AlchemyBag() : this( 1 )
|
||||
{
|
||||
Movable = true;
|
||||
Hue = 0x250;
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public AlchemyBag( int amount )
|
||||
{
|
||||
DropItem( new MortarPestle( 5 ) );
|
||||
DropItem( new BagOfReagents( 5000 ) );
|
||||
DropItem( new Bottle( 5000 ) );
|
||||
}
|
||||
|
||||
public AlchemyBag( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
49
Scripts/Items/SupplyBags/BagOfIngots.cs
Normal file
49
Scripts/Items/SupplyBags/BagOfIngots.cs
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class BagOfingots : Bag
|
||||
{
|
||||
[Constructable]
|
||||
public BagOfingots() : this( 5000 )
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public BagOfingots( int amount )
|
||||
{
|
||||
DropItem( new DullCopperIngot ( amount ) );
|
||||
DropItem( new ShadowIronIngot ( amount ) );
|
||||
DropItem( new CopperIngot ( amount ) );
|
||||
DropItem( new BronzeIngot ( amount ) );
|
||||
DropItem( new GoldIngot ( amount ) );
|
||||
DropItem( new AgapiteIngot ( amount ) );
|
||||
DropItem( new VeriteIngot ( amount ) );
|
||||
DropItem( new ValoriteIngot ( amount ) );
|
||||
DropItem( new IronIngot ( amount ) );
|
||||
DropItem( new Tongs() );
|
||||
DropItem( new TinkerTools() );
|
||||
|
||||
}
|
||||
|
||||
public BagOfingots( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
46
Scripts/Items/SupplyBags/ScribeBag.cs
Normal file
46
Scripts/Items/SupplyBags/ScribeBag.cs
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class ScribeBag : Bag
|
||||
{
|
||||
public override string DefaultName
|
||||
{
|
||||
get { return "a Scribe Kit"; }
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public ScribeBag() : this( 1 )
|
||||
{
|
||||
Movable = true;
|
||||
Hue = 0x105;
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public ScribeBag( int amount )
|
||||
{
|
||||
DropItem( new BagOfReagents( 5000 ) );
|
||||
DropItem( new BlankScroll( 500 ) );
|
||||
}
|
||||
|
||||
public ScribeBag( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
49
Scripts/Items/SupplyBags/SmithBag.cs
Normal file
49
Scripts/Items/SupplyBags/SmithBag.cs
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class SmithBag : Bag
|
||||
{
|
||||
[Constructable]
|
||||
public SmithBag() : this( 5000 )
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public SmithBag( int amount )
|
||||
{
|
||||
DropItem( new DullCopperIngot ( amount ) );
|
||||
DropItem( new ShadowIronIngot ( amount ) );
|
||||
DropItem( new CopperIngot ( amount ) );
|
||||
DropItem( new BronzeIngot ( amount ) );
|
||||
DropItem( new GoldIngot ( amount ) );
|
||||
DropItem( new AgapiteIngot ( amount ) );
|
||||
DropItem( new VeriteIngot ( amount ) );
|
||||
DropItem( new ValoriteIngot ( amount ) );
|
||||
DropItem( new IronIngot ( amount ) );
|
||||
DropItem( new Tongs ( amount ) );
|
||||
DropItem( new TinkerTools ( amount ) );
|
||||
|
||||
}
|
||||
|
||||
public SmithBag( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
52
Scripts/Items/SupplyBags/TailorBag.cs
Normal file
52
Scripts/Items/SupplyBags/TailorBag.cs
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class TailorBag : Bag
|
||||
{
|
||||
public override string DefaultName
|
||||
{
|
||||
get { return "a Tailoring Kit"; }
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public TailorBag() : this( 1 )
|
||||
{
|
||||
Movable = true;
|
||||
Hue = 0x315;
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public TailorBag( int amount )
|
||||
{
|
||||
DropItem( new SewingKit( 5 ) );
|
||||
DropItem( new Scissors() );
|
||||
DropItem( new Hides( 500 ) );
|
||||
DropItem( new BoltOfCloth( 20 ) );
|
||||
DropItem( new DyeTub() );
|
||||
DropItem( new DyeTub() );
|
||||
DropItem( new BlackDyeTub() );
|
||||
DropItem( new Dyes() );
|
||||
}
|
||||
|
||||
public TailorBag( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue