From 74e6f9fe9bbefd4fb06985b1ecc924e366174cbb Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 8 Sep 2019 17:49:53 -0300 Subject: This is roughly how the quest will go, I suppose --- npc/017-10/mayor.txt | 26 +++++++++++++++++++++++--- npc/018-6-0/ctrl | 7 +++---- 2 files changed, 26 insertions(+), 7 deletions(-) diff --git a/npc/017-10/mayor.txt b/npc/017-10/mayor.txt index e8f840856..eab5175f0 100644 --- a/npc/017-10/mayor.txt +++ b/npc/017-10/mayor.txt @@ -54,10 +54,30 @@ break; // Barbara Quest in progress case 18: - // Barbara Quest was just finished (node 19 is temporary) - case 19: + .@s=getq(LoFQuest_Barbara); + switch (.@s) { + case 4: + mesn; + mesq l("Good luck arresting the criminal!"); + mesc l("You need both the stolen item as Barbara to complete the quest."), 1; + break; + case 5: + // Endtrail + mes ""; + mesc l("@@ You need to wait further releases to continue this quest!", b(l("WARNING:"))), 1; + break; + case 1: + mesn; + mesq l("Good luck arresting the criminal!"); + break; + default: + mesn; + mesq l("Benjamin reported in. Good luck arresting the criminal!"); + break; + } + break; // Barbara Quest was complete and solution was marked in BARBARA_STATE - case 20: + case 19: // Endtrail mes ""; mesc l("@@ You need to wait further releases to continue this quest!", b(l("WARNING:"))), 1; diff --git a/npc/018-6-0/ctrl b/npc/018-6-0/ctrl index 7d8f7114d..c106d8c99 100644 --- a/npc/018-6-0/ctrl +++ b/npc/018-6-0/ctrl @@ -26,8 +26,7 @@ q1 0 Magic Apple forgotten 1 Magic Apple taken 5 Barbara captured -6 Reward claimed, Barbara Arrested -7 Reward claimed, Barbara NOT Arrested +0 Reward claimed Field 2: Instance ID @@ -36,7 +35,7 @@ BARBARA_STATE 1 MURDERED 2 ARRESTED (BENJAMIN NODES) 3 FORGIVEN (BARBARA NODES) -4 REWARD CLAIMED ON BENJAMIN -5 REWARD CLAIMED ON BARBARA +4 EXTRA REWARD CLAIMED ON BENJAMIN +5 EXTRA REWARD CLAIMED ON BARBARA -- cgit v1.2.3-70-g09d2