Add DefaultName property to Mobiles & Items (#18)
This commit is contained in:
parent
b06f5bf60d
commit
8ee42c8ea2
713 changed files with 5112 additions and 4987 deletions
|
|
@ -6,11 +6,12 @@ namespace Server.Engines.Quests.Samurai
|
|||
{
|
||||
public class HaochisKatanaGenerator : Item
|
||||
{
|
||||
public override string DefaultName => "Haochi's katana generator";
|
||||
|
||||
[Constructible]
|
||||
public HaochisKatanaGenerator() : base( 0x1B7B )
|
||||
{
|
||||
Visible = false;
|
||||
Name = "Haochi's katana generator";
|
||||
Movable = false;
|
||||
}
|
||||
|
||||
|
|
@ -77,4 +78,4 @@ namespace Server.Engines.Quests.Samurai
|
|||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ namespace Server.Engines.Quests.Samurai
|
|||
{
|
||||
}
|
||||
|
||||
public override bool IsDecoContainer{ get{ return false; } }
|
||||
public override bool IsDecoContainer => false;
|
||||
|
||||
private void GenerateTreasure()
|
||||
{
|
||||
|
|
@ -102,4 +102,4 @@ namespace Server.Engines.Quests.Samurai
|
|||
Timer.DelayCall( TimeSpan.Zero, new TimerCallback( GenerateTreasure ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue