Fixed issue with secured dye tubs in houses

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
This commit is contained in:
xavier 2010-10-02 15:25:30 +00:00
parent f90c09ef55
commit 4df455f33c
132 changed files with 4914 additions and 1012 deletions

View file

@ -1,5 +1,6 @@
using System;
using Server;
using Server.Engines.Craft;
namespace Server.Items
{
@ -8,11 +9,17 @@ namespace Server.Items
public override BaseAddonDeed Deed{ get{ return new FancyElvenTableEastDeed(); } }
[Constructable]
public FancyElvenTableEastAddon()
public FancyElvenTableEastAddon() : this( 0 )
{
AddComponent( new AddonComponent( 0x3094 ), -1, 0, 0 );
AddComponent( new AddonComponent( 0x3093 ), 0, 0, 0 );
AddComponent( new AddonComponent( 0x3092 ), 1, 0, 0 );
}
[Constructable]
public FancyElvenTableEastAddon( int hue )
{
AddComponent( new AddonComponent( 0x3095 ), 0, 1, 0 );
AddComponent( new AddonComponent( 0x3096 ), 0, 0, 0 );
AddComponent( new AddonComponent( 0x3097 ), 0, -1, 0 );
Hue = hue;
}
public FancyElvenTableEastAddon( Serial serial ) : base( serial )
@ -34,9 +41,10 @@ namespace Server.Items
}
}
[CraftItemID( 0x2DE8 )]
public class FancyElvenTableEastDeed : BaseAddonDeed
{
public override BaseAddon Addon{ get{ return new FancyElvenTableEastAddon(); } }
public override BaseAddon Addon{ get{ return new FancyElvenTableEastAddon( Hue ); } }
public override int LabelNumber{ get{ return 1073386; } } // hardwood table (east)
[Constructable]