37 lines
No EOL
750 B
C#
37 lines
No EOL
750 B
C#
using System;
|
|
using Server;
|
|
|
|
namespace Server.Items
|
|
{
|
|
public class Bonfire : BaseLight
|
|
{
|
|
public override int LitItemID{ get { return 0x03E4; } }
|
|
public override int UnlitItemID{ get { return 0x03E3; } }
|
|
|
|
[Constructable]
|
|
public Bonfire() : base( 0x03E3 )
|
|
{
|
|
Name = "bonefire";
|
|
Duration = TimeSpan.Zero;
|
|
Burning = false;
|
|
Light = LightType.Circle300;
|
|
Weight = 20.0;
|
|
}
|
|
|
|
public Bonfire( 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();
|
|
}
|
|
}
|
|
} |