diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-02-12 00:24:41 -0800 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2013-02-12 23:05:15 +0100 |
commit | 2c8e25d9b2efd1d8f051db3bd1c7676a044994f1 (patch) | |
tree | d966512fe2dcf4be25ac7dd134d934b8f276eb85 /world/map/npc/009-1/jack.txt | |
parent | e6db4af9d0873d1b1b31680d54e5f8452000ea2b (diff) | |
download | serverdata-2c8e25d9b2efd1d8f051db3bd1c7676a044994f1.tar.gz serverdata-2c8e25d9b2efd1d8f051db3bd1c7676a044994f1.tar.bz2 serverdata-2c8e25d9b2efd1d8f051db3bd1c7676a044994f1.tar.xz serverdata-2c8e25d9b2efd1d8f051db3bd1c7676a044994f1.zip |
o11c's review of inspector
Diffstat (limited to 'world/map/npc/009-1/jack.txt')
-rw-r--r-- | world/map/npc/009-1/jack.txt | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/world/map/npc/009-1/jack.txt b/world/map/npc/009-1/jack.txt index 4ccc5d82..9e1ebbe1 100644 --- a/world/map/npc/009-1/jack.txt +++ b/world/map/npc/009-1/jack.txt @@ -144,12 +144,13 @@ L_Shield_state_1: if (@inspector == 1) menu "No thanks.", L_Close, - "Yes, please!", -, + "Yes, please!", L_Yes, "Actually, I'd like to know if you've seen any strange happenings in town.", L_NohMask_Answer; - if (@inspector != 1) - menu - "No thanks.", L_Close, - "Yes, please!", -; + menu + "No thanks.", L_Close, + "Yes, please!", L_Yes; + +L_Yes: mes "[Jack Lumber]"; mes "\"All I need is " + @RAWLOGS_AMOUNT + " raw logs. This needn't be highest-quality wood; pretty much any log you can find should work. Oh, and I'll also need " + @SHIELD_COST + " GP for other materials.\""; next; @@ -211,12 +212,15 @@ L_TooMany: L_Shield_state_3: mes "[Jack Lumber]"; mes "\"I hope that my shield will serve you well!\""; + if (@inspector != 1) + goto L_Close; next; - if (@inspector == 1) - menu - "Me too.", L_Close, - "Have you seen anything that might be connected to the recent robberies in town?", L_NohMask_Answer; + menu + "Me too.", L_Close, + "Have you seen anything that might be connected to the recent robberies in town?", L_NohMask_Answer; +// This is an ugly violation of the scripting standards, +// but it's somewhat complicated to fix. S_NohMask_Ask: next; menu |