summaryrefslogtreecommitdiff
path: root/npc/000-2-1/chest.txt
diff options
context:
space:
mode:
authoromatt <m.vuoso@laposte.net>2016-08-07 22:27:49 +0200
committeromatt <m.vuoso@laposte.net>2016-11-05 02:27:55 +0100
commitc2d88645247d31a5b7736a65afabb6d951aa2cb5 (patch)
tree363834f727cddb460cd2c34e80fe2cbfe4fcb5e7 /npc/000-2-1/chest.txt
parent6adf32ca56941699b9736e5f9d57790aa800198f (diff)
downloadserverdata-c2d88645247d31a5b7736a65afabb6d951aa2cb5.tar.gz
serverdata-c2d88645247d31a5b7736a65afabb6d951aa2cb5.tar.bz2
serverdata-c2d88645247d31a5b7736a65afabb6d951aa2cb5.tar.xz
serverdata-c2d88645247d31a5b7736a65afabb6d951aa2cb5.zip
chest 000-1, typo name, add sound
Diffstat (limited to 'npc/000-2-1/chest.txt')
-rw-r--r--npc/000-2-1/chest.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/npc/000-2-1/chest.txt b/npc/000-2-1/chest.txt
index f82ab9e9..ff5a3232 100644
--- a/npc/000-2-1/chest.txt
+++ b/npc/000-2-1/chest.txt
@@ -10,7 +10,7 @@
// 1 Talked to Arpan and needs to get clothes.
// 2 Has the clothes.
-000-2-1,51,37,0 script Chest NPC_CHEST_BIG,{
+000-2-1,51,37,0 script Chest#000-2-1 NPC_CHEST_BIG,{
.@q = getq(ShipQuests_Arpan);
if (.@q == 0) goto L_Talk;
@@ -19,6 +19,7 @@
.dir = 2;
initnpctimer;
startnpctimer;
+ misceffect 24;
close;
L_Give:
@@ -31,7 +32,7 @@ L_Give:
npctalk3 l("You take the clothes from the chest.");
goto L_Quit;
-OnTimer220:
+OnTimer360:
stopnpctimer;
if (.dir == 2) .dir = 4;
if (.dir == 6) .dir = 0;
@@ -46,6 +47,7 @@ L_Quit:
.dir = 6;
initnpctimer;
startnpctimer;
+ misceffect 25;
close;
OnInit: