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();
}
}
}
}

View file

@ -45,35 +45,35 @@ namespace Server.Engines.Quests.Doom
get
{
/* <I>Victoria turns to you and smiles...</I><BR><BR>
*
*
* Chyloth, eh? He is the ferry man of lake <I>Mortis</I>, beyond which lies
* the nest of the <I>The Dark Father</I> - the fountainhead of all the evil
* that you see around you here.<BR><BR>
*
*
* 800 and some years ago, my sisters and I persuaded the ferry man Chyloth
* to take us across the lake to battle the <I>The Dark Father</I>.
* My party was utterly destroyed, except for me. For my insolence, I was
* cursed by the <I>The Dark Father</I> to wander these halls for eternity,
* unable to die - unable to leave.<BR><BR>
*
*
* Chyloth usually only crosses over the souls of the undead, but he can be
* persuaded otherwise...with a token of gold, in the form of a human skull.
* Such a gem can be found only in the belly of the hellspawn known as
* <I>the devourer</I>.<BR><BR>
*
*
* I can help you summon the beast from the depths of the abyss, but I require
* 1000 Daemon bones to do so. If you accept my help, I will store the Daemon
* bones for you until you have collected all 1000 of them. Once the bones
* are collected in full, I will summon the beast for you, which you must
* slay to claim your prize.<BR><BR>
*
*
* Do you accept?
*/
return 1050020;
}
}
public override bool IsTutorial{ get{ return false; } }
public override bool IsTutorial => false;
public override TimeSpan RestartDelay{ get{ return TimeSpan.Zero; } }
public override int Picture{ get{ return 0x15B5; } }
@ -160,4 +160,4 @@ namespace Server.Engines.Quests.Doom
writer.Write( (bool) m_WaitForSummon );
}
}
}
}