diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-05-22 10:56:28 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-05-22 10:56:28 -0300 |
commit | e8cde14b169d26224d41fda2fb0519858b38cf51 (patch) | |
tree | a71b04181e69c15c67d81e426d5b17457681bf3d /npc/017-1/inspector.txt | |
parent | b18780f0dbb580fca8627f7f09c0df8b6c238d53 (diff) | |
download | serverdata-e8cde14b169d26224d41fda2fb0519858b38cf51.tar.gz serverdata-e8cde14b169d26224d41fda2fb0519858b38cf51.tar.bz2 serverdata-e8cde14b169d26224d41fda2fb0519858b38cf51.tar.xz serverdata-e8cde14b169d26224d41fda2fb0519858b38cf51.zip |
Minor polishing & fix entering on LoF via Mystic Forest ("kinda")
Diffstat (limited to 'npc/017-1/inspector.txt')
-rw-r--r-- | npc/017-1/inspector.txt | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/npc/017-1/inspector.txt b/npc/017-1/inspector.txt index ffae2d420..66abd8d4a 100644 --- a/npc/017-1/inspector.txt +++ b/npc/017-1/inspector.txt @@ -10,28 +10,33 @@ .@q = getq(LoFQuest_Inspector); mesn; mesq l("Hello. My name is Anselmo and I'm investigating a recent string of robberies."); - if (BaseLevel < 50) close; - if (!is_staff()) close; // FIXME next; + if (BaseLevel < 50) goto L_Close; + if (!is_staff()) goto L_Close; // FIXME mesn; mesq l("Well... Not robberies per se... Just cheese vanishing and being replaced by %s, which is super weird.", getitemlink(GoldenApple)); next; mesn; mesq l("You look capable, will you help me solve these robberies? Of course, not for free."); next; - if (askyesno() == ASK_NO) { - closeclientdialog; - close; - } + if (askyesno() == ASK_NO) + goto L_Close; mesn; mesq l("Excellent. I'd like you to ask around about the recent string of robberies."); next; mesn; mesq l("But remember, they're stealing %s, not shinies, so try to limit your search a bit.", getitemlink(Cheese)); setq LoFQuest_Inspector, 1, 0; - close; + next; + goto L_Close; -// function script inspector() -> Invokes strnpcinfo() internally +L_Close: + closeclientdialog; + if (rand2(100) < 2) + npctalk3 l("And remember to never sit on Paxel! He hates that!"); + else + goodbye(); + close; OnInit: .distance=5; |