summaryrefslogtreecommitdiff
path: root/npc/000-2-3
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-24 00:52:34 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-24 01:00:27 +0300
commit15a16c41f18020622771640c776f49d9f40af425 (patch)
treec38c0b4ddfe2788e30f16862b2bcae93eb71c79a /npc/000-2-3
parent6f0f6b45a3eef4811b0df05ff4433ab658b454e7 (diff)
downloadserverdata-15a16c41f18020622771640c776f49d9f40af425.tar.gz
serverdata-15a16c41f18020622771640c776f49d9f40af425.tar.bz2
serverdata-15a16c41f18020622771640c776f49d9f40af425.tar.xz
serverdata-15a16c41f18020622771640c776f49d9f40af425.zip
Add basic quest vars support.
Diffstat (limited to 'npc/000-2-3')
-rw-r--r--npc/000-2-3/box.txt6
-rw-r--r--npc/000-2-3/elmo.txt2
-rw-r--r--npc/000-2-3/nard.txt6
-rw-r--r--npc/000-2-3/sailors.txt12
4 files changed, 13 insertions, 13 deletions
diff --git a/npc/000-2-3/box.txt b/npc/000-2-3/box.txt
index 5dd91f3d..c15c0e50 100644
--- a/npc/000-2-3/box.txt
+++ b/npc/000-2-3/box.txt
@@ -17,7 +17,7 @@
000-2-3.gat,25,24,0 script Box 102;1,{
- set @q, geta2(ShipQuests, ShipQuests_Nardbox);
+ set @q, getq(ShipQuests_Nardbox);
mesn "Narrator";
mes col(l("Some Bandanas and Sailor Hats are inside this box."), 9);
@@ -60,7 +60,7 @@
next;
mesq l("Go outside and talk with Gugli, he will tell you what we need.");
- seta2 ShipQuests, ShipQuests_Nardbox, 1;
+ setq ShipQuests_Nardbox, 1;
close;
@@ -80,7 +80,7 @@ l_Give:
mesn "Nard";
mesq l("You are now part of the crew. Thanks again for your help.");
- seta2 ShipQuests, ShipQuests_Nardbox, 3;
+ setq ShipQuests_Nardbox, 3;
getitem "Bandana", 1;
// Need to add a skill for the crew at this line.
diff --git a/npc/000-2-3/elmo.txt b/npc/000-2-3/elmo.txt
index f5b58ed5..871c2170 100644
--- a/npc/000-2-3/elmo.txt
+++ b/npc/000-2-3/elmo.txt
@@ -6,7 +6,7 @@
000-2-3.gat,27,27,0,1 script Elmo 309;5,{
- set @q, geta(ShipQuests, ShipQuests_ArpanMoney);
+ set @q, getq(ShipQuests_ArpanMoney);
if (@q == 1) goto l_GotMoney;
mesn;
diff --git a/npc/000-2-3/nard.txt b/npc/000-2-3/nard.txt
index c5972586..daa5f6ca 100644
--- a/npc/000-2-3/nard.txt
+++ b/npc/000-2-3/nard.txt
@@ -17,7 +17,7 @@
000-2-3.gat,25,26,0,1 script Nard 306;5,{
- set @q, geta2(ShipQuests, ShipQuests_Nardbox);
+ set @q, getq(ShipQuests_Nardbox);
l_Checker:
if (@q == 1) goto l_NotYet;
@@ -85,7 +85,7 @@ l_NeedContent:
mesq l("Go outside and talk with Gugli, he'll tell you what we need.");
next;
- seta2 ShipQuests, ShipQuests_Nardbox, 1;
+ setq ShipQuests_Nardbox, 1;
close;
@@ -128,7 +128,7 @@ l_Give:
next;
mesq l("You are now part of the crew! Thanks again for your help.");
- seta2 ShipQuests, ShipQuests_Nardbox, 3;
+ setq ShipQuests_Nardbox, 3;
getitem "Bandana", 1;
// Need to add a skill for the crew at this line.
diff --git a/npc/000-2-3/sailors.txt b/npc/000-2-3/sailors.txt
index 52eba82f..ebcded78 100644
--- a/npc/000-2-3/sailors.txt
+++ b/npc/000-2-3/sailors.txt
@@ -8,8 +8,8 @@
000-2-3.gat,20,26,0,0 script AreaTop 0,1,0,{
OnTouch:
- if (geta(ShipQuests, ShipQuests_Door) == 1) end;
- seta ShipQuests, ShipQuests_Door, 1;
+ if (getq(ShipQuests_Door) == 1) end;
+ setq ShipQuests_Door, 1;
mesn "Elmo";
mesq g(l("So that's why we wanted to warn you, maybe she comes from that guild, as that sign was on her raft."),
@@ -48,8 +48,8 @@ OnTouch:
000-2-3.gat,21,27,0,0 script AreaMiddle 0,0,0,{
OnTouch:
- if (geta(ShipQuests, ShipQuests_Door) == 1) end;
- seta ShipQuests, ShipQuests_Door, 1;
+ if (getq(ShipQuests_Door) == 1) end;
+ setq ShipQuests_Door, 1;
mesn "Elmo";
mesq g(l("So that's why we wanted to warn you, maybe she comes from that guild, as that sign was on her raft."),
@@ -86,8 +86,8 @@ OnTouch:
000-2-3.gat,20,28,0,0 script AreaBottom 0,1,0,{
OnTouch:
- if (geta(ShipQuests, ShipQuests_Door) == 1) end;
- seta ShipQuests, ShipQuests_Door, 1;
+ if (getq(ShipQuests_Door) == 1) end;
+ setq ShipQuests_Door, 1;
mesn "Elmo";
mesq g(l("So that's why we wanted to warn you, maybe she comes from that guild, as that sign was on her raft."),