40 lines
718 B
C#
40 lines
718 B
C#
using System;
|
|
using Server;
|
|
|
|
namespace Server.Items
|
|
{
|
|
public class CustomFrontDoorKey : Item
|
|
{
|
|
[Constructable]
|
|
public CustomFrontDoorKey() : base( 0x100F )
|
|
{
|
|
Name = "Custom Front Door Key";
|
|
Weight = 0.1;
|
|
|
|
LootType = LootType.Blessed;
|
|
}
|
|
|
|
public override void OnDoubleClick( Mobile m )
|
|
{
|
|
m.SendMessage( "the key to The Front Door." );
|
|
}
|
|
|
|
public CustomFrontDoorKey( Serial serial ) : base( serial )
|
|
{
|
|
}
|
|
|
|
public override void Serialize( GenericWriter writer )
|
|
{
|
|
base.Serialize( writer );
|
|
|
|
writer.Write( (int) 0 );
|
|
}
|
|
|
|
public override void Deserialize( GenericReader reader )
|
|
{
|
|
base.Deserialize( reader );
|
|
|
|
int version = reader.ReadInt();
|
|
}
|
|
}
|
|
} |