ModernUO/Scripts/Items/Lights/CandleShort.cs
Kamron Batman 20ae1b3989
Fixes lots more spelling errors (#5)
* Renames constructable to constructible
* Fixes project references.
* Fixes BaseEquippableLight file name
* Replaces payed with paid.
* Fixes various other spelling errors
2018-02-20 16:01:41 -08:00

40 lines
No EOL
813 B
C#

using System;
using Server;
namespace Server.Items
{
public class CandleShort : BaseLight
{
public override int LitItemID{ get { return 0x142C; } }
public override int UnlitItemID{ get { return 0x142F; } }
[Constructible]
public CandleShort() : base( 0x142F )
{
if ( Burnout )
Duration = TimeSpan.FromMinutes( 25 );
else
Duration = TimeSpan.Zero;
Burning = false;
Light = LightType.Circle150;
Weight = 1.0;
}
public CandleShort( 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();
}
}
}