From e6db4af9d0873d1b1b31680d54e5f8452000ea2b Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Thu, 7 Feb 2013 16:27:45 +0100 Subject: Variable restructuring: move Inspector quest to nibble 3 of QUEST_Hurnscald. --- world/map/npc/018-2/angus.txt | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'world/map/npc/018-2/angus.txt') diff --git a/world/map/npc/018-2/angus.txt b/world/map/npc/018-2/angus.txt index d5b9ad08..f44bef56 100644 --- a/world/map/npc/018-2/angus.txt +++ b/world/map/npc/018-2/angus.txt @@ -4,15 +4,23 @@ set @honorific$, "lad"; if (Sex == 0) set @honorific$, "lass"; - if (Inspector == 10) goto L_NohMask; + callfunc "ClearVariables"; + + set @inspector, ((QUEST_Hurnscald & NIBBLE_3_MASK) >> NIBBLE_3_SHIFT); + + if (@inspector == 10) goto L_NohMask; mes "[Angus]"; mes "Angus is tinkering with some mechanical concoction."; mes "\"It keeps breakin' left an' right... fortunat'ly I put in redundancies everywhere, but I haf' to keep repairin'.\""; - close; + goto L_Close; L_NohMask: mes "[Angus]"; mes "\"I'm sorry, " + @honorific$ + ", I truely am, but I stay in the town. One o' the miners might have heard something.\""; + goto L_Close; + +L_Close: + set @inspector, 0; close; } -- cgit v1.2.3-60-g2f50