servuo/Scripts/Items/Resource/WorkableGlass.cs
Dexter 801b2af516 Bug Fixes
- Fixed issue where stone ankh could not be removed by player who placed it
- Added int32 arg to various item constructors for amount
- Fixed issue where stat mods were not applying for city buffs
- Telescope gump can no longer be used if more than 2 tiles away
- Bloodworm anemia now gives the proper debuff
- Pets should no longer reveal their master
2019-04-08 21:34:25 -07:00

45 lines
889 B
C#

using System;
using Server.Items;
namespace Server.Items
{
public class WorkableGlass : Item, ICommodity
{
TextDefinition ICommodity.Description { get { return LabelNumber; } }
bool ICommodity.IsDeedable { get { return true; } }
public override int LabelNumber { get { return 1154170; } } // workable glass
[Constructable]
public WorkableGlass() : this( 1 )
{
}
[Constructable]
public WorkableGlass( int amount ) : base( 19328 )
{
Stackable = true;
Amount = amount;
Weight = 1.0;
}
public WorkableGlass(Serial serial)
: base(serial)
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 1 ); // version
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
}
}