diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-21 16:04:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-21 16:04:32 +0300 |
commit | 66a7953e6f6b4d7951c306e1d305ab3b904f557a (patch) | |
tree | d96f9df4db7a506277b5659aa6165e0efa7b1700 /npc/000-2-3 | |
parent | efb1c01272dc109188f1a4559db05a73405a7d38 (diff) | |
download | serverdata-66a7953e6f6b4d7951c306e1d305ab3b904f557a.tar.gz serverdata-66a7953e6f6b4d7951c306e1d305ab3b904f557a.tar.bz2 serverdata-66a7953e6f6b4d7951c306e1d305ab3b904f557a.tar.xz serverdata-66a7953e6f6b4d7951c306e1d305ab3b904f557a.zip |
Replace temp variables into scope temp variables.
Diffstat (limited to 'npc/000-2-3')
-rw-r--r-- | npc/000-2-3/box.txt | 8 | ||||
-rw-r--r-- | npc/000-2-3/elmo.txt | 4 | ||||
-rw-r--r-- | npc/000-2-3/nard.txt | 20 |
3 files changed, 16 insertions, 16 deletions
diff --git a/npc/000-2-3/box.txt b/npc/000-2-3/box.txt index 1ba6c4939..7f6cda197 100644 --- a/npc/000-2-3/box.txt +++ b/npc/000-2-3/box.txt @@ -20,7 +20,7 @@ // Size = 1 000-2-3,25,24,0 script Box 102,{ - set @q, getq(ShipQuests_Nard); + set .@q, getq(ShipQuests_Nard); mesn "Narrator"; mes col(l("Some Bandanas and Sailor Hats are inside this box."), 9); @@ -32,9 +32,9 @@ l("Take a Bandana."), -, l("Nothing."), L_Quit; - if (@q == 0) goto L_NoQuest; - if (@q == 4) goto L_Give; - if (@q > 4) goto L_Already; + if (.@q == 0) goto L_NoQuest; + if (.@q == 4) goto L_Give; + if (.@q > 4) goto L_Already; setcamnpc "Nard"; mes ""; diff --git a/npc/000-2-3/elmo.txt b/npc/000-2-3/elmo.txt index 0bd0ccdc8..89779294a 100644 --- a/npc/000-2-3/elmo.txt +++ b/npc/000-2-3/elmo.txt @@ -8,8 +8,8 @@ // Size = 5 // Gender = 1 000-2-3,27,27,0 script Elmo 409,{ - set @q, getq(ShipQuests_ArpanMoney); - if (@q == 1) goto L_GotMoney; + set .@q, getq(ShipQuests_ArpanMoney); + if (.@q == 1) goto L_GotMoney; mesn; mesq l("Hey you, sorry for leaving your room so quickly. I needed to speak with the captain about the food reserves. You know, now that we have a new mouth to feed, we need to check what we have."); diff --git a/npc/000-2-3/nard.txt b/npc/000-2-3/nard.txt index c3b5a581f..968cfa354 100644 --- a/npc/000-2-3/nard.txt +++ b/npc/000-2-3/nard.txt @@ -26,18 +26,18 @@ // Size = 5 // Gender = 1 000-2-3,25,26,0 script Nard 406,{ - set @nard, getq(ShipQuests_Nard); - set @gugli, getq(ShipQuests_Gugli); - set @gado, getq(ShipQuests_ChefGado); + set .@nard, getq(ShipQuests_Nard); + set .@gugli, getq(ShipQuests_Gugli); + set .@gado, getq(ShipQuests_ChefGado); L_Checker: - if (@gado > 3 && @nard == 3) goto L_ChefQuestComplete; - if (@nard == 2) goto L_ChefQuestStart; - if (@nard == 3) goto L_ChefQuestGiven; - if (@nard == 4) goto L_Reward; - if (@nard > 4) goto L_Already; - if (@gugli == 2) goto L_Done; - if (@nard == 1) goto L_NotYet; + if (.@gado > 3 && .@nard == 3) goto L_ChefQuestComplete; + if (.@nard == 2) goto L_ChefQuestStart; + if (.@nard == 3) goto L_ChefQuestGiven; + if (.@nard == 4) goto L_Reward; + if (.@nard > 4) goto L_Already; + if (.@gugli == 2) goto L_Done; + if (.@nard == 1) goto L_NotYet; mesn; mesq l("Hello."); |