Fixes body expression style.

This commit is contained in:
Kamron Batman 2018-09-14 08:46:14 -07:00
parent 3f0a72a62f
commit 33f5e77a24
957 changed files with 7424 additions and 15973 deletions

View file

@ -2,38 +2,7 @@ namespace Server.Engines.Quests.Haven
{
public class AcceptConversation : QuestConversation
{
public override object Message
{
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. Bringing up your avatar's
* context menu will give you options to cancel your quest and review
* various quest information.<BR><BR>
*/
return 1049092;
}
}
public override object Message => 1049092;
public AcceptConversation()
{
@ -47,53 +16,7 @@ namespace Server.Engines.Quests.Haven
public class UzeraanTitheConversation : QuestConversation
{
public override object Message
{
get
{
/* <I>Uzeraan greets you as you approach...</I><BR><BR>
*
* Greetings traveler!<BR><BR>
*
* I am Uzeraan, the lord of this house and overseer of this fine city, Haven.
* I know we have just met, but time is short and we need to reinforce
* the troops in the mountain pass, so I will not waste your time
* with pleasantries.<BR><BR>
*
* We have been trying to fight back the wicked <I>Horde Minions</I> which
* have recently begun attacking our cities - but to no avail.
* We desperately need help!<BR><BR>
*
* Your first task will be to assess the situation in the mountain pass,
* and help our troops defeat the Horde Minions there.<BR><BR>
*
* Before I send you into battle however, it is time that I teach you a thing
* or two about the way of the Paladin.<BR><BR>
*
* <U>The Paladin</U><BR><BR>
*
* Paladins are the holy warriors of the realm who have dedicated themselves
* as protectors of the virtues and vanquishers of all that is evil.<BR><BR>
*
* Paladins have several <a href = "?ForceTopic111">special abilities</a> that
* are not available to the ordinary warrior. Due to the spiritual nature of
* these abilities, the Paladin requires some amount of mana to activate them.
* In addition to mana, the Paladin is also required to spend a certain amount
* of <a href = "?ForceTopic109">tithing points</a> each time a special ability
* is used.<BR><BR>
*
* Tithing points and mana are automatically consumed when a special Paladin
* ability is activated. All Paladin abilities are activated through the
* <a href = "?ForceTopic114">Book of Chivalry</a><BR><BR>
*
* Go now, to the shrine just East of here, just before the doors and
* <a href = "?ForceTopic109">tithe</a> at least 500 gold.<BR><BR>
*
* Return here when you are done.
*/
return 1060209;
}
}
public override object Message => 1060209;
public UzeraanTitheConversation()
{
@ -387,46 +310,7 @@ namespace Server.Engines.Quests.Haven
public class UzeraanScrollOfPowerConversation : QuestConversation
{
public override object Message
{
get
{
/* <I>Uzeraan carefully unravels the scroll and begins to read...
* after a short while his face lights up with a smile and he speaks to you...</I><BR><BR>
*
* This is wonderful, friend! For your troubles I've given you a treasure map
* I had laying about, along with a shovel to <a href = "?ForceTopic91">dig up the treasure</a>.
* Feel free to find the treasure at your leisure.<BR><BR>
*
* Now let us get back to the business of this scroll. The only trouble,
* is that this scroll calls for some special ingredients that I do
* not have on hand.<BR><BR>
*
* Though it may involve some danger, I will ask of you to find
* these reagents for me. <BR><BR>
*
* There are three reagents I need to complete the spell.<BR><BR>
*
* The first thing I need is some <I>Fertile Dirt</I>.<BR><BR>
*
* There lives a Dryad on this island who I know would have such a thing on hand.
* I have recalibrated the teleporter to transport you to the Dryad's grove,
* which lies <a href = "?ForceTopic13">South-West</a> of this mansion.<BR><BR>
*
* Tell her Uzeraan sent you, and she should cooperate.<BR><BR>
*
* Should you get into trouble out there or should you lose your way, do not worry.
* I have also given you a magical horn - a <I>Horn of Retreat</I>.
* Play the horn at any time to open a magical gateway that leads back to this mansion.<BR><BR>
*
* Should your horn run out of <a href = "?ForceTopic83">charges</a>,
* simply hand me or any of my mansion guards the horn to have it recharged.<BR><BR>
*
* Good luck friend.
*/
return 1049325;
}
}
public override object Message => 1049325;
private static QuestItemInfo[] m_Info = new QuestItemInfo[]
{
@ -449,27 +333,7 @@ namespace Server.Engines.Quests.Haven
public class DryadConversation : QuestConversation
{
public override object Message
{
get
{
/* <I>The Dryad watches hungrily as you approach, giving you an
* uneasy feeling in the pit of your stomach. You explain that
* Uzeraan has sent you for a quantity of fertile dirt. With a wide grin
* and in a slightly hoarse voice she replies...</I><BR><BR>
*
* <I>Fertile Dirt</I>, eh? Well, I have a few patches here...but what have
* you brought me in return? Came empty-handed did you? That's unfortunate
* indeed... but since you were sent by my dear friend Uzeraan, I supposed
* I could oblige you.<BR><BR>
*
* <I>The Dryad digs around in the ground and hands you a patch of Fertile Dirt.<BR><BR>
*
* With a smile she goes back to her work...</I>
*/
return 1049326;
}
}
public override object Message => 1049326;
public DryadConversation()
{
@ -639,34 +503,7 @@ namespace Server.Engines.Quests.Haven
public class UzeraanDaemonBoneConversation : QuestConversation
{
public override object Message
{
get
{
/* <I>As you hand Uzeraan the final reagent, he nods at you with approval
* and starts searching through the pockets of his robe...<BR><BR>
*
* After a short while he hands you a small pouch...</I><BR><BR>
*
* There you are. Your contract of employment with me has expired and so here
* is your pay. 2000 gold in the form of a check and a magical sextant that
* will help you find <a href = "?ForceTopic47">Moongates</a> and Banks.<BR><BR>
*
* Before you can actually spend the money I have given you, however, you must
* <a href="?ForceTopic86">cash the check</a>.<BR><BR>
*
* I have recalibrated the teleporter to take you to the Haven
* <a href="?ForceTopic38">Bank</a>. Step onto the teleporter to be taken
* to the bank, which lies <a href = "?ForceTopic13">South-East</a> of here.<BR><BR>
*
* Thank you for all your help friend. I hope we shall meet
* each other again in the future.<BR><BR>
*
* Farewell.
*/
return 1049335;
}
}
public override object Message => 1049335;
public UzeraanDaemonBoneConversation()
{
@ -680,30 +517,7 @@ namespace Server.Engines.Quests.Haven
public class BankerConversation : QuestConversation
{
public override object Message
{
get
{
/* <I>The banker smiles at you and greets you in a loud and robust voice...</I><BR><BR>
*
* Well hello there adventurer! I see you've learned how to cash checks. Wonderful!
* Let me tell you a bit about the banks in this world...<BR><BR>
*
* Anything that you place into any bank box, can be retrieved from any other
* bank box in the land. For instance, if you place an item into a bank box in
* Britain, it can be retrieved from your bank box in Moonglow or any other city.<BR><BR>
*
* Bank boxes are very secure. So secure, in fact, that no one can ever get into
* your bank box except for yourself. Security is hard to come by these days,
* but you can trust in the banking system of Britannia! We shall not let you down!<BR><BR>
*
* I hope to be seeing much more of you as your riches grow! May your bank box overflow
* with the spoils of your adventures.<BR><BR>Farewell adventurer, you are now free to
* explore the world on your own.
*/
return 1060137;
}
}
public override object Message => 1060137;
public BankerConversation()
{
@ -717,21 +531,7 @@ namespace Server.Engines.Quests.Haven
public class RadarConversation : QuestConversation
{
public override object Message
{
get
{
/* If you are leaving the mansion, you should learn about the Radar Map.<BR><BR>
*
* The Radar Map (or Overhead View) can be opened by pressing 'ALT-R' on your
* keyboard. It shows your immediate surroundings from a bird's eye view.<BR><BR>
*
* Pressing ALT-R twice, will enlarge the Radar Map a little. Use the Radar Map
* often as you travel throughout the world to familiarize yourself with your surroundings.
*/
return 1049660;
}
}
public override object Message => 1049660;
public override bool Logged => false;
@ -868,21 +668,7 @@ namespace Server.Engines.Quests.Haven
public class DryadAppleConversation : QuestConversation
{
public override object Message
{
get
{
/* <I>The Dryad sticks the apple into the ground and you watch it
* rot before your eyes.<BR><BR>
*
* She pulls the now fertile dirt out of the ground and hands
* it to you.</I><BR><BR>
*
* There you go friend. Try not to lose it again this time, eh?
*/
return 1049360;
}
}
public override object Message => 1049360;
public override bool Logged => false;
@ -893,18 +679,7 @@ namespace Server.Engines.Quests.Haven
public class LostDaemonBloodConversation : QuestConversation
{
public override object Message
{
get
{
/* You return without <I>a Vial of Blood</I>? It is imperative that we
* get all of the ingredients friend.<BR><BR>
*
* Go back to the chest and fetch another vial. Please hurry.
*/
return 1049375;
}
}
public override object Message => 1049375;
public override bool Logged => false;
@ -915,19 +690,7 @@ namespace Server.Engines.Quests.Haven
public class LostDaemonBoneConversation : QuestConversation
{
public override object Message
{
get
{
/* You return without <I>a Daemon Bone</I>? It is imperative that we
* get all of the ingredients friend.<BR><BR>
*
* Go back to the graveyard and continue hunting the undead until you
* find another one. Please hurry.
*/
return 1049376;
}
}
public override object Message => 1049376;
public override bool Logged => false;
@ -938,25 +701,7 @@ namespace Server.Engines.Quests.Haven
public class FewReagentsConversation : QuestConversation
{
public override object Message
{
get
{
/* I don't feel comfortable sending you into a potentially dangerous situation
* with as few <a href = "?ForceTopic37">reagents</a> as you have in your pack.<BR><BR>
*
* Before going on, please acquire at least 30 of each reagent. You can
* <a href ="?ForceTopic33">purchase</a> reagents from the Mage shop, which is
* located just <a href ="?ForceTopic13">East</a> this mansion.<BR><BR>
*
* Remember that there are eight (8) different reagents: Black Pearl, Mandrake Root,
* Sulfurous Ash, Garlic, Ginseng, Blood Moss, Nightshade and Spider's Silk.<BR><BR>
*
* Come back here when you are ready to go.
*/
return 1049390;
}
}
public override object Message => 1049390;
public override bool Logged => false;

View file

@ -19,7 +19,9 @@ namespace Server.Engines.Quests.Haven
public CannonDirection CannonDirection => m_CannonDirection;
[CommandProperty( AccessLevel.GameMaster )]
public MilitiaCanoneer Canoneer { get { return m_Canoneer; } set { m_Canoneer = value; } }
public MilitiaCanoneer Canoneer { get => m_Canoneer;
set => m_Canoneer = value;
}
[Constructible]
public Cannon( CannonDirection direction )
@ -149,7 +151,7 @@ namespace Server.Engines.Quests.Haven
[CommandProperty( AccessLevel.GameMaster )]
public MilitiaCanoneer Canoneer
{
get { return Addon is Cannon cannon ? cannon.Canoneer : null; }
get => Addon is Cannon cannon ? cannon.Canoneer : null;
set { if ( Addon is Cannon cannon ) cannon.Canoneer = value; }
}

View file

@ -10,8 +10,8 @@ namespace Server.Engines.Quests.Haven
[CommandProperty( AccessLevel.GameMaster )]
public bool Active
{
get { return m_Active; }
set { m_Active = value; }
get => m_Active;
set => m_Active = value;
}
[Constructible]

View file

@ -6,14 +6,7 @@ namespace Server.Engines.Quests.Haven
{
public class FindUzeraanBeginObjective : QuestObjective
{
public override object Message
{
get
{
// Find Uzeraan. Uzeraan will explain what you need to do next.
return 1046039;
}
}
public override object Message => 1046039;
public FindUzeraanBeginObjective()
{
@ -30,18 +23,7 @@ namespace Server.Engines.Quests.Haven
public class TitheGoldObjective : QuestObjective
{
public override object Message
{
get
{
/* Go to the shrine inside of Uzeraan's Mansion, near the front doors and
* <a href = "?ForceTopic109">tithe</a> at least 500 gold.<BR><BR>
*
* Return to Uzeraan when you are done.
*/
return 1060386;
}
}
public override object Message => 1060386;
private int m_OldTithingPoints;
@ -71,14 +53,7 @@ namespace Server.Engines.Quests.Haven
public class FindUzeraanFirstTaskObjective : QuestObjective
{
public override object Message
{
get
{
// Return to Uzeraan, now that you have enough tithing points to continue your quest.
return 1060387;
}
}
public override object Message => 1060387;
public FindUzeraanFirstTaskObjective()
{
@ -259,18 +234,7 @@ namespace Server.Engines.Quests.Haven
public class FindUzeraanAboutReportObjective : QuestObjective
{
public override object Message
{
get
{
/* It's no use... The <I>Horde Minions</I> are too many.
* They are appearing out of nowhere.<BR><BR>
*
* Return to Uzeraan and report your findings.
*/
return 1049091;
}
}
public override object Message => 1049091;
public FindUzeraanAboutReportObjective()
{
@ -284,18 +248,7 @@ namespace Server.Engines.Quests.Haven
public class FindSchmendrickObjective : QuestObjective
{
public override object Message
{
get
{
/* Prepare for battle and step onto the teleporter,
* located against the wall in the main hall of Uzeraan's mansion.<BR><BR>
*
* Find Schmendrick within the mines.
*/
return 1049120;
}
}
public override object Message => 1049120;
public FindSchmendrickObjective()
{
@ -318,16 +271,7 @@ namespace Server.Engines.Quests.Haven
public class FindApprenticeObjective : QuestObjective
{
public override object Message
{
get
{
/* Find Schmendrick's apprentice who is somewhere in the mining cave.
* The apprentice has the scroll of power needed by Uzeraan.
*/
return 1049323;
}
}
public override object Message => 1049323;
public FindApprenticeObjective()
{
@ -341,17 +285,7 @@ namespace Server.Engines.Quests.Haven
public class ReturnScrollOfPowerObjective : QuestObjective
{
public override object Message
{
get
{
/* You have obtained the scroll of power! Find your way out of the cave.<BR><BR>
*
* Hand the scroll to Uzeraan (drag and drop) once you arrive in his mansion.
*/
return 1049324;
}
}
public override object Message => 1049324;
public ReturnScrollOfPowerObjective()
{
@ -365,18 +299,7 @@ namespace Server.Engines.Quests.Haven
public class FindDryadObjective : QuestObjective
{
public override object Message
{
get
{
/* Find the Dryad in the woods of Haven and get a patch
* of fertile dirt from her.<BR><BR>
*
* Use Uzeraan's teleporter to get there if necessary.
*/
return 1049358;
}
}
public override object Message => 1049358;
public FindDryadObjective()
{
@ -390,18 +313,7 @@ namespace Server.Engines.Quests.Haven
public class ReturnFertileDirtObjective : QuestObjective
{
public override object Message
{
get
{
/* You have acquired the <I>Fertile Dirt</I>!<BR><BR>
*
* Return to the mansion (<a href = "?ForceTopic13">North-East</a>
* of the Dryad's Grove) and hand it to Uzeraan.
*/
return 1049327;
}
}
public override object Message => 1049327;
public ReturnFertileDirtObjective()
{
@ -415,18 +327,7 @@ namespace Server.Engines.Quests.Haven
public class GetDaemonBloodObjective : QuestObjective
{
public override object Message
{
get
{
/* Bring back a vial of blood.<BR><BR>
*
* Follow the road leading north from the mansion and walk into the hut
* to find the chest that contains the vial
*/
return 1049361;
}
}
public override object Message => 1049361;
private bool m_Ambushed;
@ -479,17 +380,7 @@ namespace Server.Engines.Quests.Haven
public class ReturnDaemonBloodObjective : QuestObjective
{
public override object Message
{
get
{
/* You have the vial of blood!<BR><BR>
*
* Return to Uzeraan's mansion and hand him the vial.
*/
return 1049332;
}
}
public override object Message => 1049332;
public ReturnDaemonBloodObjective()
{
@ -507,8 +398,8 @@ namespace Server.Engines.Quests.Haven
public Container CorpseWithBone
{
get { return m_CorpseWithBone; }
set { m_CorpseWithBone = value; }
get => m_CorpseWithBone;
set => m_CorpseWithBone = value;
}
public override object Message
@ -589,16 +480,7 @@ namespace Server.Engines.Quests.Haven
public class ReturnDaemonBoneObjective : QuestObjective
{
public override object Message
{
get
{
/* Head <a href = "?ForceTopic13">East</a> of here (or use the Horn of Retreat)
* to return to Uzeraan's Mansion and deliver the bone to Uzeraan.
*/
return 1049334;
}
}
public override object Message => 1049334;
public ReturnDaemonBoneObjective()
{
@ -612,17 +494,7 @@ namespace Server.Engines.Quests.Haven
public class CashBankCheckObjective : QuestObjective
{
public override object Message
{
get
{
/* Locate the Haven Bank (use the teleporter in Uzeraan's Mansion
* if necessary), which lies <a href = "?ForceTopic13">South-East</a>
* of Uzeraan's Mansion. Once there, <a href="?ForceTopic86">cash your check</a>.
*/
return 1049336;
}
}
public override object Message => 1049336;
public CashBankCheckObjective()
{

View file

@ -44,41 +44,9 @@ namespace Server.Engines.Quests.Haven
public override Type[] TypeReferenceTable => m_TypeReferenceTable;
public override object Name
{
get
{
// "Uzeraan's Turmoil"
return 1049007;
}
}
public override object Name => 1049007;
public override object OfferMessage
{
get
{
/* <I>The guard speaks to you as you come closer... </I><BR><BR>
*
* Greetings traveler! <BR><BR>
*
* Uzeraan, the lord of this house and overseer of this city -
* <a href="?ForceTopic72">Haven</a>, has requested an audience with you. <BR><BR>
*
* Hordes of gruesome hell spawn are beginning to overrun the
* city and terrorize the inhabitants. No one seems to be able
* to stop them.<BR><BR>
*
* Our fine city militia is falling to the evil creatures
* one battalion after the other.<BR><BR>
*
* Uzeraan, whom you can find through these doors, is looking to
* hire mercenaries to aid in the battle. <BR><BR>
*
* Will you assist us?
*/
return 1049008;
}
}
public override object OfferMessage => 1049008;
public override TimeSpan RestartDelay => TimeSpan.MaxValue;
public override bool IsTutorial => true;