added:ML aquariums, ML potions,runebook and spellbook makers mark, two new runic tools, NPC vendor updates
This commit is contained in:
parent
028b5ad696
commit
cbd45b53b8
59 changed files with 3351 additions and 53 deletions
|
|
@ -1,8 +1,9 @@
|
|||
using System;
|
||||
using Server;
|
||||
using Server.Engines.Craft;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
[FlipableAttribute( 0x1028, 0x1029 )]
|
||||
public class RunicDovetailSaw : BaseRunicTool
|
||||
{
|
||||
public override CraftSystem CraftSystem{ get{ return DefCarpentry.CraftSystem; } }
|
||||
|
|
@ -15,40 +16,20 @@ namespace Server.Items
|
|||
|
||||
if ( index >= 1 && index <= 6 )
|
||||
return 1072633 + index;
|
||||
|
||||
return 1011196; // dovetail saw
|
||||
|
||||
return 1024137; // dovetail saw
|
||||
}
|
||||
}
|
||||
|
||||
public override void AddNameProperties( ObjectPropertyList list )
|
||||
{
|
||||
base.AddNameProperties( list );
|
||||
|
||||
int index = CraftResources.GetIndex( Resource );
|
||||
|
||||
if ( index >= 1 && index <= 6 )
|
||||
return;
|
||||
|
||||
if ( !CraftResources.IsStandard( Resource ) )
|
||||
{
|
||||
int num = CraftResources.GetLocalizationNumber( Resource );
|
||||
|
||||
if ( num > 0 )
|
||||
list.Add( num );
|
||||
else
|
||||
list.Add( CraftResources.GetName( Resource ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[Constructable]
|
||||
public RunicDovetailSaw( CraftResource resource ) : base( resource, 0x1029 )
|
||||
public RunicDovetailSaw( CraftResource resource ) : base( resource, 0x1028 )
|
||||
{
|
||||
Weight = 2.0;
|
||||
Hue = CraftResources.GetHue( resource );
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public RunicDovetailSaw( CraftResource resource, int uses ) : base( resource, uses, 0x1029 )
|
||||
public RunicDovetailSaw( CraftResource resource, int uses ) : base( resource, uses, 0x1028 )
|
||||
{
|
||||
Weight = 2.0;
|
||||
Hue = CraftResources.GetHue( resource );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue