Add DefaultName property to Mobiles & Items (#18)

This commit is contained in:
Kamron Batman 2018-08-09 17:18:41 -07:00 • committed by GitHub
parent b06f5bf60d
commit 8ee42c8ea2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
713 changed files with 5112 additions and 4987 deletions

View file

@ -14,6 +14,8 @@ namespace Server.Engines.Quests.Doom
{
public class Chyloth : BaseQuester
{
public override string DefaultName => "Chyloth";
[Constructible]
public Chyloth() : base( "the Ferryman" )
{
@ -29,8 +31,6 @@ namespace Server.Engines.Quests.Doom
Hue = 0x8455;
Body = 0x190;
Name = "Chyloth";
}
public override void InitOutfit()
@ -320,4 +320,4 @@ namespace Server.Engines.Quests.Doom
}
}
}
}
}

View file

@ -13,9 +13,10 @@ namespace Server.Engines.Quests.Doom
public class Victoria : BaseQuester
{
public override int TalkNumber{ get{ return 6159; } } // Ask about Chyloth
public override bool ClickTitle{ get{ return true; } }
public override bool IsActiveVendor{ get{ return true; } }
public override bool DisallowAllMoves{ get{ return false; } }
public override string DefaultName => "Victoria";
public override bool ClickTitle => true;
public override bool IsActiveVendor => true;
public override bool DisallowAllMoves => false;
public override void InitSBInfo()
{
@ -38,8 +39,6 @@ namespace Server.Engines.Quests.Doom
Female = true;
Hue = 0x8835;
Body = 0x191;
Name = "Victoria";
}
private SummoningAltar m_Altar;
@ -161,4 +160,4 @@ namespace Server.Engines.Quests.Doom
int version = reader.ReadInt();
}
}
}
}