summaryrefslogtreecommitdiff
path: root/npc/000-2-1/chest.txt
diff options
context:
space:
mode:
authorSaulc <lucashelaine14@gmail.com>2018-02-18 02:08:36 +0100
committerSaulc <lucashelaine14@gmail.com>2018-02-18 02:08:36 +0100
commit26faa9a208a15ea858f5069a4c0d92e8a0709bdb (patch)
tree7ef0a6a5e39cb63f72ea9a6742f5a4cb320b41b4 /npc/000-2-1/chest.txt
parentb9416a07a0f085c64888ac02fecd47d43feee218 (diff)
downloadserverdata-26faa9a208a15ea858f5069a4c0d92e8a0709bdb.tar.gz
serverdata-26faa9a208a15ea858f5069a4c0d92e8a0709bdb.tar.bz2
serverdata-26faa9a208a15ea858f5069a4c0d92e8a0709bdb.tar.xz
serverdata-26faa9a208a15ea858f5069a4c0d92e8a0709bdb.zip
delete evol maps
Diffstat (limited to 'npc/000-2-1/chest.txt')
-rw-r--r--npc/000-2-1/chest.txt72
1 files changed, 0 insertions, 72 deletions
diff --git a/npc/000-2-1/chest.txt b/npc/000-2-1/chest.txt
deleted file mode 100644
index 3f5655218..000000000
--- a/npc/000-2-1/chest.txt
+++ /dev/null
@@ -1,72 +0,0 @@
-// Evol scripts.
-// Authors:
-// 4144
-// gumi
-// omatt
-// Reid
-// Description:
-// A box with clothes for new players.
-// Variable:
-// ShipQuests_Arpan
-// Values:
-// 1 Talked to Arpan and needs to get clothes.
-// 2 Has the clothes.
-
-000-2-1,51,37,0 script Chest#000-2-1 NPC_CHEST_BIG,2,4,{
-
- .@questState = getq(ShipQuests_Arpan);
-
- if (.@questState == 0)
- {
- npctalk3 l("You should talk to Magic Arpan first.");
- end;
- }
-
- if (.busy == false)
- {
- if (.@questState <= 1)
- {
- inventoryplace CreasedShirt, 2;
- setq ShipQuests_Arpan, 2;
- getitem CreasedShirt, 1;
- getitem CreasedShorts, 1;
- npctalk3 l("You take the clothes from the chest.");
- }
-
- specialeffect(.dir == 0 ? 24 : 25, AREA, getnpcid(0)); // closed ? opening : closing
- .dir = .dir == 0 ? 2 : 6; // closed ? opening : closing
- .busy = true; // lock the animation
- initnpctimer;
- }
- end;
-
-OnTimer220:
- .dir = .dir == 6 ? 0 : 4; // closing ? closed : open
- end;
-
-OnTimer500:
- .busy = false; // unlock
-
- if (.dir == 0)
- {
- stopnpctimer; // stop here if the chest is closed
- }
- end;
-
-OnUnTouch:
- if (getareausers(.x - 2, .y - 4, .x + 2, .y + 6) > 0 || .dir == 0)
- {
- end;
- }
-OnTimer30000:
- .busy = true;
- .dir = 6; // closing
- specialeffect(25, AREA, getnpcid(0)); // closing
- setnpctimer 0;
-OnTouch:
- end;
-
-OnInit:
- .distance = 2;
- end;
-}