Adds assemblies config, fixes crash bugs. (#134)
This commit is contained in:
parent
0140eb73b4
commit
8ec166bcd0
3223 changed files with 191 additions and 191 deletions
|
|
@ -1,40 +0,0 @@
|
|||
namespace Server.Items
|
||||
{
|
||||
public class RegStone : Item
|
||||
{
|
||||
[Constructible]
|
||||
public RegStone() : base(0xED4)
|
||||
{
|
||||
Movable = false;
|
||||
Hue = 0x2D1;
|
||||
}
|
||||
|
||||
public RegStone(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override string DefaultName => "a reagent stone";
|
||||
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
{
|
||||
BagOfReagents regBag = new BagOfReagents();
|
||||
|
||||
if (!from.AddToBackpack(regBag))
|
||||
regBag.Delete();
|
||||
}
|
||||
|
||||
public override void Serialize(IGenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write(0); // version
|
||||
}
|
||||
|
||||
public override void Deserialize(IGenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue