#W# Source and Scripts added. Added Scripts/Settings.cs to expose some basic tweak able settings.
This commit is contained in:
parent
b51c58f514
commit
3045c83799
3512 changed files with 627673 additions and 0 deletions
|
|
@ -0,0 +1,91 @@
|
|||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
[Flipable( 0xC1B, 0xC1C, 0xC1E, 0xC1D )]
|
||||
public class StandingBrokenChairComponent : AddonComponent
|
||||
{
|
||||
public override int LabelNumber { get { return 1076259; } } // Standing Broken Chair
|
||||
|
||||
public StandingBrokenChairComponent() : base( 0xC1B )
|
||||
{
|
||||
}
|
||||
|
||||
public StandingBrokenChairComponent( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.WriteEncodedInt( 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class StandingBrokenChairAddon : BaseAddon
|
||||
{
|
||||
public override BaseAddonDeed Deed { get { return new StandingBrokenChairDeed(); } }
|
||||
|
||||
[Constructable]
|
||||
public StandingBrokenChairAddon() : base()
|
||||
{
|
||||
AddComponent( new StandingBrokenChairComponent(), 0, 0, 0 );
|
||||
}
|
||||
|
||||
public StandingBrokenChairAddon( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.WriteEncodedInt( 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class StandingBrokenChairDeed : BaseAddonDeed
|
||||
{
|
||||
public override BaseAddon Addon { get { return new StandingBrokenChairAddon(); } }
|
||||
public override int LabelNumber { get { return 1076259; } } // Standing Broken Chair
|
||||
|
||||
[Constructable]
|
||||
public StandingBrokenChairDeed() : base()
|
||||
{
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
|
||||
public StandingBrokenChairDeed( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.WriteEncodedInt( 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue