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 FancyElvenTableSouthDeed(); } }
[Constructable]
public FancyElvenTableSouthAddon()
public FancyElvenTableSouthAddon() : this( 0 )
{
AddComponent( new AddonComponent( 0x3095 ), 0, 1, 0 );
AddComponent( new AddonComponent( 0x3096 ), 0, 0, 0 );
AddComponent( new AddonComponent( 0x3097 ), 0, -1, 0 );
}
[Constructable]
public FancyElvenTableSouthAddon( int hue )
{
AddComponent( new AddonComponent( 0x3094 ), -1, 0, 0 );
AddComponent( new AddonComponent( 0x3093 ), 0, 0, 0 );
AddComponent( new AddonComponent( 0x3092 ), 1, 0, 0 );
Hue = hue;
}
public FancyElvenTableSouthAddon( Serial serial ) : base( serial )
@ -34,9 +41,10 @@ namespace Server.Items
}
}
[CraftItemID( 0x2DE7 )]
public class FancyElvenTableSouthDeed : BaseAddonDeed
{
public override BaseAddon Addon{ get{ return new FancyElvenTableSouthAddon(); } }
public override BaseAddon Addon{ get{ return new FancyElvenTableSouthAddon( Hue ); } }
public override int LabelNumber{ get{ return 1073385; } } // hardwood table (south)
[Constructable]