Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
40
Scripts/SubSystem/Custom Front Door/CustomFrontDoorKey.cs
Normal file
40
Scripts/SubSystem/Custom Front Door/CustomFrontDoorKey.cs
Normal file
@@ -0,0 +1,40 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user