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

@ -39,16 +39,16 @@ namespace Server.Engines.Quests.Ambitious
get
{
/* <I>The Solen queen considers you eagerly for a moment then says,</I><BR><BR>
*
*
* Yes. Yes, I think you could be of use. Normally, of course, I would handle
* these things on my own, but these are busy times. Much to do, much to do.
* And besides, if I am to one day become the Matriarch, then it will be good to
* have experience trusting others to carry out various tasks for me. Yes.<BR><BR>
*
*
* That is my plan, you see - I will become the next Matriarch. Our current
* Matriarch is fine and all, but she won't be around forever. And when she steps
* down, I intend to be the next in line. Ruling others is my destiny, you see.<BR><BR>
*
*
* What I ask of you is quite simple. First, I need you to remove some of the
* - well - competition, I suppose. Though I dare say most are hardly competent to
* live up to such a title. I'm referring to the other queens of this colony,
@ -57,9 +57,9 @@ namespace Server.Engines.Quests.Ambitious
* at me - this is how things work in a proper society, and ours has been more proper
* than most since the dawn of time. It's them or me, and whenever I give it
* any thought, I'm quite sure I'd prefer it to be them.<BR><BR>
*
*
* I also need you to gather some zoogi fungus for me - 50 should do the trick.<BR><BR>
*
*
* Will you accept my offer?
*/
return 1054060;
@ -67,7 +67,7 @@ namespace Server.Engines.Quests.Ambitious
}
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; } }
@ -154,4 +154,4 @@ namespace Server.Engines.Quests.Ambitious
}
}
}
}
}

View file

@ -10,7 +10,7 @@ namespace Server.Engines.Quests.Ambitious
get
{
/* <I>The Solen queen considers you for a moment then says,</I><BR><BR>
*
*
* Hmmm... I could perhaps benefit from your assistance, but you seem to be
* busy with another task at the moment. Return to me when you complete whatever
* it is that you're working on and maybe I can still put you to good use.
@ -19,7 +19,7 @@ namespace Server.Engines.Quests.Ambitious
}
}
public override bool Logged{ get{ return false; } }
public override bool Logged => false;
public DontOfferConversation()
{
@ -33,17 +33,17 @@ namespace Server.Engines.Quests.Ambitious
get
{
/* <I>The Solen queen smiles as you decide to help her.</I><BR><BR>
*
*
* Excellent. We'll worry about the zoogi fungus later - start by eliminating
* 5 queens from my colony.<BR><BR>That part's important, by the way; they must
* be queens from my colony. Killing queens from the other solen colony does
* little to help me become Matriarch of this colony and will not count
* toward your task.<BR><BR>
*
*
* Oh, and none of those nasty infiltrator queens either. They perform a necessary
* duty, I suppose, spying on the other colony. I fail to see why that couldn't be
* left totally to the warriors, though. Nevertheless, they do not count as well.<BR><BR>
*
*
* Very well. Carry on. I'll be waiting for your return.
*/
return 1054061;
@ -67,20 +67,20 @@ namespace Server.Engines.Quests.Ambitious
get
{
/* <I>The Solen queen looks up as you approach.</I><BR><BR>
*
*
* You're back, but you have not yet eliminated 5 queens from my colony.
* Return when you have completed this task.<BR><BR>
*
*
* Remember, by the way, that queens from the other solen colony and
* infiltrator queens do not count toward your task.<BR><BR>
*
*
* Very well. Carry on. I'll be waiting for your return.
*/
return 1054066;
}
}
public override bool Logged{ get{ return false; } }
public override bool Logged => false;
public DuringKillQueensConversation()
{
@ -94,14 +94,14 @@ namespace Server.Engines.Quests.Ambitious
get
{
/* <I>The Solen queen looks pleased to see you.</I><BR><BR>
*
*
* Splendid! You've done quite well in reducing my competition to become
* the next Matriarch. Now I must ask that you gather some zoogi fungus for me.
* I must practice processing it into powder of translocation.<BR><BR>
*
*
* I believe the amount we agreed upon earlier was 50. Please return when
* you have that amount and then give them to me.<BR><BR>
*
*
* Farewell for now.
*/
return 1054068;
@ -125,16 +125,16 @@ namespace Server.Engines.Quests.Ambitious
get
{
/* <I>The Solen queen looks up as you approach.</I><BR><BR>
*
*
* Do you have the zoogi fungus?<BR><BR>
*
*
* If so, give them to me. Otherwise, go gather some and then return to me.
*/
return 1054070;
}
}
public override bool Logged{ get{ return false; } }
public override bool Logged => false;
public DuringFungiGatheringConversation()
{
@ -148,11 +148,11 @@ namespace Server.Engines.Quests.Ambitious
get
{
/* <I>The Solen queen smiles as she takes the zoogi fungus from you.</I><BR><BR>
*
*
* Wonderful! I greatly appreciate your help with these tasks. My plans are beginning
* to take shape ensuring that I will be the next Matriarch. But there is still
* much to be done until then.<BR><BR>
*
*
* You've done what I've asked of you and for that I thank you. Please accept this
* bag of sending and some powder of translocation as a reward. Oh, and I suppose
* I should give you some gold as well. Yes, yes. Of course.
@ -191,10 +191,10 @@ namespace Server.Engines.Quests.Ambitious
get
{
/* <I>The Solen queen 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 1054077;
@ -206,7 +206,7 @@ namespace Server.Engines.Quests.Ambitious
private bool m_PowderOfTranslocation;
private bool m_Gold;
public override bool Logged{ get{ return m_Logged; } }
public override bool Logged => m_Logged;
public FullBackpackConversation( bool logged, bool bagOfSending, bool powderOfTranslocation, bool gold )
{
@ -254,7 +254,7 @@ namespace Server.Engines.Quests.Ambitious
get
{
/* <I>The Solen queen looks up as you approach.</I><BR><BR>
*
*
* Ah good, you've returned. I will conclude our business by giving you any
* remaining rewards I owe you for aiding me.
*/
@ -271,4 +271,4 @@ namespace Server.Engines.Quests.Ambitious
System.Complete();
}
}
}
}

View file

@ -8,8 +8,8 @@ namespace Server.Engines.Quests.Ambitious
public abstract class BaseAmbitiousSolenQueen : BaseQuester
{
public abstract bool RedSolen{ get; }
public override bool DisallowAllMoves{ get{ return false; } }
public override string DefaultName => "an ambitious solen queen";
public override bool DisallowAllMoves => false;
public BaseAmbitiousSolenQueen()
{
@ -17,8 +17,6 @@ namespace Server.Engines.Quests.Ambitious
public override void InitBody()
{
Name = "an ambitious solen queen";
Body = 0x30F;
if ( !RedSolen )
@ -169,7 +167,7 @@ namespace Server.Engines.Quests.Ambitious
public class RedAmbitiousSolenQueen : BaseAmbitiousSolenQueen
{
public override bool RedSolen{ get{ return true; } }
public override bool RedSolen => true;
[Constructible]
public RedAmbitiousSolenQueen()
@ -197,7 +195,7 @@ namespace Server.Engines.Quests.Ambitious
public class BlackAmbitiousSolenQueen : BaseAmbitiousSolenQueen
{
public override bool RedSolen{ get{ return false; } }
public override bool RedSolen => false;
[Constructible]
public BlackAmbitiousSolenQueen()
@ -222,4 +220,4 @@ namespace Server.Engines.Quests.Ambitious
int version = reader.ReadEncodedInt();
}
}
}
}