summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/000-1.wlkbin16804 -> 19204 bytes
-rw-r--r--npc/000-1/chest.txt9
-rw-r--r--npc/000-2-1/box.txt3
3 files changed, 5 insertions, 7 deletions
diff --git a/data/000-1.wlk b/data/000-1.wlk
index 043f8e7f..ee636cb6 100644
--- a/data/000-1.wlk
+++ b/data/000-1.wlk
Binary files differ
diff --git a/npc/000-1/chest.txt b/npc/000-1/chest.txt
index cf924891..d8cef032 100644
--- a/npc/000-1/chest.txt
+++ b/npc/000-1/chest.txt
@@ -11,17 +11,16 @@
000-1.gat,58,31,0 script Chest 316;2,{
- set @q, geta2(ShipQuests, ShipQuests_TreasureChest);
+ set @q, geta(ShipQuests, ShipQuests_TreasureChest);
if (getnpcdir ("") == 4) goto l_Give;
-
setnpcdir 2;
initnpctimer;
startnpctimer;
close;
l_Give:
- if (@q > 1) goto l_Close;
- seta2 ShipQuests, ShipQuests_TreasureChest, 1;
+ if (@q > 0) goto l_Close;
+ seta ShipQuests, ShipQuests_TreasureChest, 1;
getitem "WornShirt", 1;
getitem "WornShorts", 1;
close;
@@ -38,4 +37,4 @@ OnTimer220:
if (getnpcdir ("") == 6) setnpcdir 0;
end;
-} \ No newline at end of file
+}
diff --git a/npc/000-2-1/box.txt b/npc/000-2-1/box.txt
index 381dde7b..4535565f 100644
--- a/npc/000-2-1/box.txt
+++ b/npc/000-2-1/box.txt
@@ -9,11 +9,10 @@
// 1: Talked to Arpan. Need to get cloths
// 2: Got cloths
-000-2-1.gat,41,37,0 script Box 317;2,{
+000-2-1.gat,41,37,0 script Box 316;2,{
set @q, geta2(ShipQuests, ShipQuests_Arpan);
if (getnpcdir ("") == 4) goto l_Give;
-
setnpcdir 2;
initnpctimer;
startnpctimer;