revert crafting updates of SVN538. Per Mark: changing baseclasses is a bad idea.

This commit is contained in:
xavier 2010-10-10 15:37:22 +00:00
parent 7399519cf7
commit e86794c4e6
130 changed files with 1007 additions and 4906 deletions

View file

@ -1,6 +1,5 @@
using System;
using Server;
using Server.Engines.Craft;
namespace Server.Items
{
@ -9,16 +8,10 @@ namespace Server.Items
public override BaseAddonDeed Deed{ get{ return new ElvenLoveseatEastDeed(); } }
[Constructable]
public ElvenLoveseatEastAddon() : this( 0 )
public ElvenLoveseatEastAddon()
{
}
[Constructable]
public ElvenLoveseatEastAddon( int hue )
{
AddComponent( new AddonComponent( 0x308A ), 0, 0, 0 );
AddComponent( new AddonComponent( 0x308B ), 0, -1, 0 );
Hue = hue;
AddComponent( new AddonComponent( 0x3089 ), 0, 0, 0 );
AddComponent( new AddonComponent( 0x3088 ), 1, 0, 0 );
}
public ElvenLoveseatEastAddon( Serial serial ) : base( serial )
@ -40,10 +33,9 @@ namespace Server.Items
}
}
[CraftItemID( 0x2DE0 )]
public class ElvenLoveseatEastDeed : BaseAddonDeed
{
public override BaseAddon Addon{ get{ return new ElvenLoveseatEastAddon( Hue ); } }
public override BaseAddon Addon{ get{ return new ElvenLoveseatEastAddon(); } }
public override int LabelNumber{ get{ return 1073372; } } // elven loveseat (east)
[Constructable]