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

@ -12,21 +12,21 @@ namespace Server.Engines.Quests.Zento
get
{
/* <I><U>Important Quest Information</U></I><BR><BR>
*
*
* During your quest, any important information that a
* <a href = "?ForceTopic31">NPC</a> gives you, will appear in a window
* such as this one. You can review the information at any time during your
* quest.<BR><BR>
*
*
* <U>Getting Help</U><BR><BR>
*
*
* Some of the text you will come across during your quest,
* will be underlined <a href = "?ForceTopic73">links to the codex of wisdom</a>,
* or online help system. You can click on the text to get detailed information
* on the underlined subject. You may also access the Codex Of Wisdom by
* pressing "F1" or by clicking on the "?" on the toolbar at the top of
* your screen.<BR><BR><U>Context Menus</U><BR><BR>
*
*
* Context menus can be called up by single left-clicking (or Shift + single
* left-click, if you changed it) on most objects or NPCs in the world.
* Nearly everything, including your own avatar will have context menus available.
@ -58,7 +58,7 @@ namespace Server.Engines.Quests.Zento
}
}
public override bool Logged{ get{ return false; } }
public override bool Logged => false;
public DirectionConversation()
{
@ -76,7 +76,7 @@ namespace Server.Engines.Quests.Zento
}
}
public override bool Logged{ get{ return false; } }
public override bool Logged => false;
public TakeCareConversation()
{
@ -92,7 +92,7 @@ namespace Server.Engines.Quests.Zento
/* Thank you for helping me get rid of these vile beasts!
* You have been rewarded for your good deeds. If you wish to
* help me in the future, visit me again.<br><br>
*
*
* Farewell.
*/
return 1063321;
@ -108,4 +108,4 @@ namespace Server.Engines.Quests.Zento
System.Complete();
}
}
}
}

View file

@ -8,6 +8,8 @@ namespace Server.Engines.Quests.Zento
{
public class AnsellaGryen : BaseQuester
{
public override string DefaultName => "Ansella Gryen";
[Constructible]
public AnsellaGryen()
{
@ -21,7 +23,6 @@ namespace Server.Engines.Quests.Zento
Female = true;
Body = 0x191;
Name = "Ansella Gryen";
}
public override void InitOutfit()
@ -143,4 +144,4 @@ namespace Server.Engines.Quests.Zento
public override void TurnToTokuno() { }
}
}
}

View file

@ -39,7 +39,7 @@ namespace Server.Engines.Quests.Zento
* hatchlings. If you kill 10 of them, you will be rewarded.
* The Deathwatch Beetle Hatchlings live in The Waste -
* the desert close to this city.<BR><BR>
*
*
* Will you accept this challenge?
*/
return 1063315;
@ -47,7 +47,7 @@ namespace Server.Engines.Quests.Zento
}
public override TimeSpan RestartDelay{ get{ return TimeSpan.MaxValue; } }
public override bool IsTutorial{ get{ return true; } }
public override bool IsTutorial => true;
public override int Picture{ get{ return 0x15CF; } }
@ -67,4 +67,4 @@ namespace Server.Engines.Quests.Zento
AddConversation( new AcceptConversation() );
}
}
}
}