halloween
This commit is contained in:
parent
116e29de49
commit
1720ae3a6c
24 changed files with 1079 additions and 0 deletions
36
Scripts/Holiday Stuff/Halloween/2011/Items/DaemonMask.cs
Normal file
36
Scripts/Holiday Stuff/Halloween/2011/Items/DaemonMask.cs
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
using System;
|
||||
using Server;
|
||||
using Server.Misc;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class DaemonMask : Item
|
||||
{
|
||||
public override string DefaultName { get { return "Daemon Mask"; } }
|
||||
|
||||
[Constructable]
|
||||
public DaemonMask()
|
||||
: base( Utility.RandomBool() ? 0x4A92: 0x4A93 )
|
||||
{
|
||||
}
|
||||
|
||||
public DaemonMask( Serial serial )
|
||||
: base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue