summaryrefslogtreecommitdiff
path: root/npc/000-1/gugli.txt
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-21 16:04:32 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-21 16:04:32 +0300
commit66a7953e6f6b4d7951c306e1d305ab3b904f557a (patch)
treed96f9df4db7a506277b5659aa6165e0efa7b1700 /npc/000-1/gugli.txt
parentefb1c01272dc109188f1a4559db05a73405a7d38 (diff)
downloadserverdata-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-1/gugli.txt')
-rw-r--r--npc/000-1/gugli.txt22
1 files changed, 11 insertions, 11 deletions
diff --git a/npc/000-1/gugli.txt b/npc/000-1/gugli.txt
index b580aaa58..07388b502 100644
--- a/npc/000-1/gugli.txt
+++ b/npc/000-1/gugli.txt
@@ -28,13 +28,13 @@
OnTalk:
mesn;
- 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);
- if (@nard > 3) goto L_AllComplete;
- if (@nard > 1 || @gugli == 2) goto L_TaskCompleted;
- if (@gugli == 1) goto L_TaskGiven;
+ if (.@nard > 3) goto L_AllComplete;
+ if (.@nard > 1 || .@gugli == 2) goto L_TaskCompleted;
+ if (.@gugli == 1) goto L_TaskGiven;
mesq lg("Hi @@, I heard the captain sent you down here, uh?", strcharinfo(0));
next;
@@ -159,9 +159,9 @@ L_Location:
mesq l("You can try talking with some other sailors to get some information about that.");
next;
- set @r, rand(3000)/1000;
- if (@r == 1) goto L_Silvio;
- if (@r == 2) goto L_Lean;
+ set .@r, rand(3000)/1000;
+ if (.@r == 1) goto L_Silvio;
+ if (.@r == 2) goto L_Lean;
setcamnpc "Sapartan";
mesq l("Max and Sapartan for example?");
@@ -233,8 +233,8 @@ L_Quit:
// Gender = 1
000-1,83,107,0 script GugliBarrierCheck 32767,2,0,{
- set @gugli, getq(ShipQuests_Gugli);
- if (@gugli > 0) close;
+ set .@gugli, getq(ShipQuests_Gugli);
+ if (.@gugli > 0) close;
doevent "Gugli::OnTalk";
close;
}