http://www.uodemise.com/forum/showthread.php?t=147193 Smith/Tailor PS should not be cursed http://www.uodemise.com/forum/showthread.php?t=148415 Large crafting system overhaul http://www.uodemise.com/forum/showthread.php?t=119342
70 lines
No EOL
1.5 KiB
C#
70 lines
No EOL
1.5 KiB
C#
using System;
|
|
using Server;
|
|
|
|
namespace Server.Items
|
|
{
|
|
public class ArcaneBookshelfEastAddon : BaseAddon
|
|
{
|
|
public override BaseAddonDeed Deed{ get{ return new ArcaneBookshelfEastDeed(); } }
|
|
|
|
[Constructable]
|
|
public ArcaneBookshelfEastAddon() : this( 0 )
|
|
{
|
|
}
|
|
|
|
[Constructable]
|
|
public ArcaneBookshelfEastAddon( int hue )
|
|
{
|
|
AddComponent( new AddonComponent( 0x3084 ), 0, 0, 0 );
|
|
AddComponent( new AddonComponent( 0x3085 ), -1, 0, 0 );
|
|
Hue = hue;
|
|
}
|
|
|
|
public ArcaneBookshelfEastAddon( 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 ArcaneBookshelfEastDeed : BaseAddonDeed
|
|
{
|
|
public override BaseAddon Addon{ get{ return new ArcaneBookshelfEastAddon(); } }
|
|
public override int LabelNumber{ get{ return 1073371; } } // arcane bookshelf (east)
|
|
|
|
[Constructable]
|
|
public ArcaneBookshelfEastDeed()
|
|
{
|
|
}
|
|
|
|
public ArcaneBookshelfEastDeed( 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();
|
|
}
|
|
}
|
|
} |