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,7 +14,7 @@ namespace Server.Engines.Quests.Matriarch
if ( m_Friend )
{
/* <I>The Solen Matriarch smiles as you greet her.</I><BR><BR>
*
*
* It is good to see you again. I would offer to process some zoogi fungus for you,
* but you seem to be busy with another task at the moment. Perhaps you should
* finish whatever is occupying your attention at the moment and return to me once
@ -25,9 +25,9 @@ namespace Server.Engines.Quests.Matriarch
else
{
/* <I>The Solen Matriarch smiles as she eats the seed you offered.</I><BR><BR>
*
*
* Thank you for that seed. It was quite delicious. <BR><BR>
*
*
* I would offer to make you a friend of my colony, but you seem to be busy with
* another task at the moment. Perhaps you should finish whatever is occupying
* your attention at the moment and return to me once you're done.
@ -37,7 +37,7 @@ namespace Server.Engines.Quests.Matriarch
}
}
public override bool Logged{ get{ return false; } }
public override bool Logged => false;
public DontOfferConversation( bool friend )
{
@ -70,10 +70,10 @@ namespace Server.Engines.Quests.Matriarch
get
{
/* <I>The Solen Matriarch looks pleased that you've accepted.</I><BR><BR>
*
*
* Very good. Please start by hunting some infiltrators from the other solen
* colony and eliminating them. Slay 7 of them and then return to me.<BR><BR>
*
*
* Farewell for now and good hunting.
*/
return 1054084;
@ -97,17 +97,17 @@ namespace Server.Engines.Quests.Matriarch
get
{
/* <I>The Solen Matriarch looks up as you approach.</I><BR><BR>
*
*
* You're back, but you have not yet eliminated 7 infiltrators from the enemy
* colony. Return when you have completed this task.<BR><BR>
*
*
* Carry on. I'll be waiting for your return.
*/
return 1054089;
}
}
public override bool Logged{ get{ return false; } }
public override bool Logged => false;
public DuringKillInfiltratorsConversation()
{
@ -121,14 +121,14 @@ namespace Server.Engines.Quests.Matriarch
get
{
/* <I>The Solen Matriarch nods favorably as you approach her.</I><BR><BR>
*
*
* Marvelous! I'm impressed at your ability to hunt and kill enemies for me.
* My colony is thankful.<BR><BR>
*
*
* Now I must ask that you gather some water for me. A standard pitcher of water
* holds approximately one gallon. Please decant 8 gallons of fresh water
* into our water vats.<BR><BR>
*
*
* Farewell for now.
*/
return 1054091;
@ -152,17 +152,17 @@ namespace Server.Engines.Quests.Matriarch
get
{
/* <I>The Solen Matriarch looks up as you approach.</I><BR><BR>
*
*
* You're back, but you have not yet gathered 8 gallons of water. Return when
* you have completed this task.<BR><BR>
*
*
* Carry on. I'll be waiting for your return.
*/
return 1054094;
}
}
public override bool Logged{ get{ return false; } }
public override bool Logged => false;
public DuringWaterGatheringConversation()
{
@ -181,12 +181,12 @@ namespace Server.Engines.Quests.Matriarch
{
/* <I>The Solen Matriarch listens as you report the completion of your
* tasks to her.</I><BR><BR>
*
*
* I give you my thanks for your help, and I will gladly process some zoogi
* fungus into powder of translocation for you. Two of the zoogi fungi are
* required for each measure of the powder. I will process up to 200 zoogi fungi
* into 100 measures of powder of translocation.<BR><BR>
*
*
* I will also give you some gold for assisting me and my colony, but first let's
* take care of your zoogi fungus.
*/
@ -196,15 +196,15 @@ namespace Server.Engines.Quests.Matriarch
{
/* <I>The Solen Matriarch listens as you report the completion of your
* tasks to her.</I><BR><BR>
*
*
* I give you my thanks for your help, and I will gladly make you a friend of my
* solen colony. My warriors, workers, and queens will not longer look at you
* as an intruder and attack you when you enter our lair.<BR><BR>
*
*
* I will also process some zoogi fungus into powder of translocation for you.
* Two of the zoogi fungi are required for each measure of the powder. I will
* process up to 200 zoogi fungi into 100 measures of powder of translocation.<BR><BR>
*
*
* I will also give you some gold for assisting me and my colony, but first let's
* take care of your zoogi fungus.
*/
@ -249,7 +249,7 @@ namespace Server.Engines.Quests.Matriarch
get
{
/* <I>The Solen Matriarch smiles as you greet her.</I><BR><BR>
*
*
* I will gladly process some zoogi fungus into powder of translocation for you.
* Two of the zoogi fungi are required for each measure of the powder.
* I will process up to 200 zoogi fungi into 100 measures of powder of translocation.
@ -258,7 +258,7 @@ namespace Server.Engines.Quests.Matriarch
}
}
public override bool Logged{ get{ return false; } }
public override bool Logged => false;
public DuringFungiProcessConversation()
{
@ -272,10 +272,10 @@ namespace Server.Engines.Quests.Matriarch
get
{
/* <I>The Solen Matriarch looks at you with a smile.</I><BR><BR>
*
*
* While I'd like to finish conducting our business, it seems that you're a
* bit overloaded with equipment at the moment.<BR><BR>
*
*
* Perhaps you should free some room in your backpack before we proceed.
*/
return 1054102;
@ -284,7 +284,7 @@ namespace Server.Engines.Quests.Matriarch
private bool m_Logged;
public override bool Logged{ get{ return m_Logged; } }
public override bool Logged => m_Logged;
public FullBackpackConversation( bool logged )
{
@ -310,7 +310,7 @@ namespace Server.Engines.Quests.Matriarch
get
{
/* <I>The Solen Matriarch smiles as you greet her.</I><BR><BR>
*
*
* Ah good, you've returned. I will conclude our business by giving you
* gold I owe you for aiding me.
*/
@ -327,4 +327,4 @@ namespace Server.Engines.Quests.Matriarch
System.Complete();
}
}
}
}

View file

@ -14,13 +14,11 @@ namespace Server.Engines.Quests.Matriarch
public abstract class BaseSolenMatriarch : BaseQuester
{
public abstract bool RedSolen{ get; }
public override bool DisallowAllMoves{ get{ return false; } }
public override string DefaultName => "the solen matriarch";
public override bool DisallowAllMoves => false;
public BaseSolenMatriarch()
{
Name = "the solen matriarch";
Body = 0x328;
if ( !RedSolen )
@ -283,7 +281,7 @@ namespace Server.Engines.Quests.Matriarch
public class RedSolenMatriarch : BaseSolenMatriarch
{
public override bool RedSolen{ get{ return true; } }
public override bool RedSolen => true;
[Constructible]
public RedSolenMatriarch()
@ -311,7 +309,7 @@ namespace Server.Engines.Quests.Matriarch
public class BlackSolenMatriarch : BaseSolenMatriarch
{
public override bool RedSolen{ get{ return false; } }
public override bool RedSolen => false;
[Constructible]
public BlackSolenMatriarch()
@ -336,4 +334,4 @@ namespace Server.Engines.Quests.Matriarch
int version = reader.ReadEncodedInt();
}
}
}
}

View file

@ -44,21 +44,21 @@ namespace Server.Engines.Quests.Matriarch
if ( IsFriend( From, RedSolen ) )
{
/* <I>The Solen Matriarch smiles happily as you greet her.</I><BR><BR>
*
*
* Hello again. It is always good to see a friend of our colony.<BR><BR>
*
*
* Would you like me to process some zoogi fungus into powder of translocation
* for you? I would be happy to do so if you will first undertake a couple
* tasks for me.<BR><BR>
*
*
* First, I would like for you to eliminate some infiltrators from the other
* solen colony. They are spying on my colony, and I fear for the safety of my
* people. They must be slain.<BR><BR>
*
*
* After that, I must ask that you gather some water for me. Our water supplies
* are inadequate, so we must try to supplement our reserve using water vats here
* in our lair.<BR><BR>
*
*
* Will you accept my offer?
*/
return 1054083;
@ -66,26 +66,26 @@ namespace Server.Engines.Quests.Matriarch
else
{
/* <I>The Solen Matriarch smiles happily as she eats the seed you offered.</I><BR><BR>
*
*
* I think you for that seed. I was quite delicious. So full of flavor.<BR><BR>
*
*
* Hmm... if you would like, I could make you a friend of my colony. This would stop
* the warriors, workers, and queens of my colony from thinking you are an intruder,
* thus they would not attack you. In addition, as a friend of my colony I will process
* zoogi fungus into powder of translocation for you.<BR><BR>
*
*
* To become a friend of my colony, I ask that you complete a couple tasks for me. These
* are the same tasks I will ask of you when you wish me to process zoogi fungus,
* by the way.<BR><BR>
*
*
* First, I would like for you to eliminate some infiltrators from the other solen colony.
* They are spying on my colony, and I fear for the safety of my people. They must
* be slain.<BR><BR>
*
*
* After that, I must ask that you gather some water for me. Our water supplies are
* inadequate, so we must try to supplement our reserve using water vats here in our
* lair.<BR><BR>
*
*
* Will you accept my offer?
*/
return 1054082;
@ -94,7 +94,7 @@ namespace Server.Engines.Quests.Matriarch
}
public override TimeSpan RestartDelay{ get{ return TimeSpan.Zero; } }
public override bool IsTutorial{ get{ return false; } }
public override bool IsTutorial => false;
public override int Picture{ get{ return 0x15C9; } }
@ -157,4 +157,4 @@ namespace Server.Engines.Quests.Matriarch
}
}
}
}
}