Initial commit

This commit is contained in:
Ubuntu
2026-06-19 00:00:16 -04:00
commit 73701ff86e
7100 changed files with 1952988 additions and 0 deletions
+55
View File
@@ -0,0 +1,55 @@
using System;
namespace Server.Items
{
public class Bottle : Item, ICommodity
{
[Constructable]
public Bottle()
: this(1)
{
}
[Constructable]
public Bottle(int amount)
: base(0xF0E)
{
this.Stackable = true;
this.Weight = 1.0;
this.Amount = amount;
}
public Bottle(Serial serial)
: base(serial)
{
}
TextDefinition ICommodity.Description
{
get
{
return this.LabelNumber;
}
}
bool ICommodity.IsDeedable
{
get
{
return (Core.ML);
}
}
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();
}
}
}