diff options
author | Saulc <lucashelaine14@gmail.com> | 2018-02-18 02:08:36 +0100 |
---|---|---|
committer | Saulc <lucashelaine14@gmail.com> | 2018-02-18 02:08:36 +0100 |
commit | 26faa9a208a15ea858f5069a4c0d92e8a0709bdb (patch) | |
tree | 7ef0a6a5e39cb63f72ea9a6742f5a4cb320b41b4 | |
parent | b9416a07a0f085c64888ac02fecd47d43feee218 (diff) | |
download | serverdata-26faa9a208a15ea858f5069a4c0d92e8a0709bdb.tar.gz serverdata-26faa9a208a15ea858f5069a4c0d92e8a0709bdb.tar.bz2 serverdata-26faa9a208a15ea858f5069a4c0d92e8a0709bdb.tar.xz serverdata-26faa9a208a15ea858f5069a4c0d92e8a0709bdb.zip |
delete evol maps
313 files changed, 49 insertions, 13203 deletions
diff --git a/conf/map/maps.conf b/conf/map/maps.conf index 7f075fff7..996cc179a 100644 --- a/conf/map/maps.conf +++ b/conf/map/maps.conf @@ -4,62 +4,8 @@ map_list: ( "000-0-0", "000-0-1", "000-0", - "000-1-1", - "000-1-2", - "000-1-4", - "000-1-9", - "000-1", - "000-2-0", - "000-2-1", - "000-2-2", "000-2-3", "000-2-4", - "001-1", - "001-2-0", - "001-2-1", - "001-2-10", - "001-2-11", - "001-2-12", - "001-2-13", - "001-2-14", - "001-2-15", - "001-2-16", - "001-2-17", - "001-2-18", - "001-2-19", - "001-2-2", - "001-2-20", - "001-2-21", - "001-2-22", - "001-2-23", - "001-2-24", - "001-2-25", - "001-2-26", - "001-2-27", - "001-2-28", - "001-2-29", - "001-2-3", - "001-2-30", - "001-2-31", - "001-2-32", - "001-2-33", - "001-2-34", - "001-2-35", - "001-2-36", - "001-2-37", - "001-2-38", - "001-2-39", - "001-2-4", - "001-2-40", - "001-2-41", - "001-2-42", - "001-2-5", - "001-2-6", - "001-2-7", - "001-2-8", - "001-2-9", - "001-3-0", - "001-3-1", "002-1", "002-2", "002-3", diff --git a/db/map_index.txt b/db/map_index.txt index 485370b36..6c4e3d1e2 100644 --- a/db/map_index.txt +++ b/db/map_index.txt @@ -1,102 +1,48 @@ 000-0-0 1 000-0-1 2 000-0 3 -000-1-1 4 -000-1-2 5 -000-1-4 6 -000-1-9 7 -000-1 8 -000-2-0 9 -000-2-1 10 -000-2-2 11 -000-2-3 12 -000-2-4 13 -001-1 14 -001-2-0 15 -001-2-1 16 -001-2-10 17 -001-2-11 18 -001-2-12 19 -001-2-13 20 -001-2-14 21 -001-2-15 22 -001-2-16 23 -001-2-17 24 -001-2-18 25 -001-2-19 26 -001-2-2 27 -001-2-20 28 -001-2-21 29 -001-2-22 30 -001-2-23 31 -001-2-24 32 -001-2-25 33 -001-2-26 34 -001-2-27 35 -001-2-28 36 -001-2-29 37 -001-2-3 38 -001-2-30 39 -001-2-31 40 -001-2-32 41 -001-2-33 42 -001-2-34 43 -001-2-35 44 -001-2-36 45 -001-2-37 46 -001-2-38 47 -001-2-39 48 -001-2-4 49 -001-2-40 50 -001-2-41 51 -001-2-42 52 -001-2-5 53 -001-2-6 54 -001-2-7 55 -001-2-8 56 -001-2-9 57 -001-3-0 58 -001-3-1 59 -002-1 60 -002-2 61 -002-3 62 -002-4 63 -003-1-2 64 -003-1 65 -003-13 66 -003-2-0 67 -003-2-1 68 -003-2-2 69 -003-2 70 -003-3 71 -003-4 72 -003-5 73 -003-6 74 -003-7 75 -003-8 76 -004-1 77 -005-1 78 -005-2 79 -005-3 80 -005-4 81 -005-5 82 -005-6 83 -008-1 84 -008-2-0 85 -008-2-1 86 -008-2-10 87 -008-2-11 88 -008-2-12 89 -008-2-13 90 -008-2-14 91 -008-2-2 92 -008-2-3 93 -008-2-4 94 -008-2-5 95 -008-2-6 96 -008-2-7 97 -008-2-8 98 -008-2-9 99 -aeros 100 -test 101 -testbg 102 +000-2-3 4 +000-2-4 5 +002-1 6 +002-2 7 +002-3 8 +002-4 9 +003-1-2 10 +003-1 11 +003-13 12 +003-2-0 13 +003-2-1 14 +003-2-2 15 +003-2 16 +003-3 17 +003-4 18 +003-5 19 +003-6 20 +003-7 21 +003-8 22 +004-1 23 +005-1 24 +005-2 25 +005-3 26 +005-4 27 +005-5 28 +005-6 29 +008-1 30 +008-2-0 31 +008-2-1 32 +008-2-10 33 +008-2-11 34 +008-2-12 35 +008-2-13 36 +008-2-14 37 +008-2-2 38 +008-2-3 39 +008-2-4 40 +008-2-5 41 +008-2-6 42 +008-2-7 43 +008-2-8 44 +008-2-9 45 +aeros 46 +test 47 +testbg 48 diff --git a/db/re/map_cache.dat b/db/re/map_cache.dat Binary files differindex 7258f0655..f9d116597 100755 --- a/db/re/map_cache.dat +++ b/db/re/map_cache.dat diff --git a/npc/000-0-1/_import.txt b/npc/000-0-1/_import.txt deleted file mode 100644 index ed7839379..000000000 --- a/npc/000-0-1/_import.txt +++ /dev/null @@ -1,4 +0,0 @@ -// Map 000-0-1: Sailor's Room -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/000-0-1/mapflags.txt", -"npc/000-0-1/narrator.txt", diff --git a/npc/000-0-1/mapflags.txt b/npc/000-0-1/mapflags.txt deleted file mode 100644 index 04d1aea50..000000000 --- a/npc/000-0-1/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -000-0-1 mapflag invisible diff --git a/npc/000-0-1/narrator.txt b/npc/000-0-1/narrator.txt deleted file mode 100644 index 5c7e4788d..000000000 --- a/npc/000-0-1/narrator.txt +++ /dev/null @@ -1,37 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Narrator explain to the player that he is dreaming. -// Variable: -// 0 General_Narrator -// Values: -// 0 PC is in the game introduction. -// 1 PC arrived Artis. - -000-0-1,25,28,0 script Narrator#000-0-1 NPC_NARRATOR,{ - - narrator S_LAST_NEXT, - l("Look, we finally meet."), - l("I think that you already understood, you are asleep."), - l("The ship, La Johanne, has left Drasil Island, finally."), - l("Nard and his crew are taking us to the city of Artis."), - l("There are a lot of things you must be wondering about."), - l("So, search for answers."), - l("..."), - l("Ah, seagulls. We are arriving."), - l("..."), - l("Wake-up!"); - - if (countitem(JohanneKey) == 1) delitem JohanneKey, 1; - setq General_Narrator, 1; - setq ShipQuests_Nard, 6; - savepoint "001-2-22", 50, 38; - warp "001-2-22", 50, 38; - closedialog; - close; - -OnInit: - .sex = G_OTHER; - end; -} diff --git a/npc/000-1-1/_import.txt b/npc/000-1-1/_import.txt deleted file mode 100644 index 82a91c723..000000000 --- a/npc/000-1-1/_import.txt +++ /dev/null @@ -1,5 +0,0 @@ -// Map 000-1-1: Drasil Island -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/000-1-1/_mobs.txt", -"npc/000-1-1/_warps.txt", -"npc/000-1-1/mapflags.txt", diff --git a/npc/000-1-1/_mobs.txt b/npc/000-1-1/_mobs.txt deleted file mode 100644 index 88ed34e75..000000000 --- a/npc/000-1-1/_mobs.txt +++ /dev/null @@ -1,39 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 000-1-1: Drasil Island mobs -000-1-1,28,49,6,9 monster Tortuga 1004,3,16000,120000 -000-1-1,58,118,34,14 monster Tortuga 1004,4,35000,300000 -000-1-1,71,95,4,12 monster Tortuga 1004,1,35000,300000 -000-1-1,52,92,4,17 monster Tortuga 1004,2,35000,300000 -000-1-1,37,66,11,5 monster Tortuga 1004,2,35000,120000 -000-1-1,42,41,9,16 monster Tortuga 1004,2,35000,120000 -000-1-1,87,37,12,11 monster Tortuga 1004,3,35000,120000 -000-1-1,44,75,2,1 monster Little Blub 1007,2,25000,120000 -000-1-1,61,64,7,10 monster Little Blub 1007,2,25000,120000 -000-1-1,62,25,10,4 monster Little Blub 1007,2,25000,120000 -000-1-1,87,69,4,3 monster Blub 1008,1,60000,120000 -000-1-1,85,33,2,3 monster Little Blub 1007,1,25000,120000 -000-1-1,85,58,14,9 monster Little Blub 1007,2,35000,120000 -000-1-1,48,61,9,6 monster Little Blub 1007,1,35000,120000 -000-1-1,28,48,3,5 monster Little Blub 1007,1,35000,120000 -000-1-1,35,50,0,1 monster Plushroom Field 1011,1,35000,150000 -000-1-1,54,115,0,1 monster Plushroom Field 1011,1,35000,150000 -000-1-1,63,80,4,2 monster Plushroom Field 1011,1,35000,150000 -000-1-1,54,64,0,2 monster Plushroom Field 1011,1,35000,150000 -000-1-1,78,58,4,5 monster Plushroom Field 1011,2,35000,150000 -000-1-1,71,62,1,1 monster Plushroom Field 1011,1,35000,150000 -000-1-1,32,116,8,9 monster Croc 1006,2,35000,300000 -000-1-1,63,31,10,3 monster Croc 1006,1,35000,300000 -000-1-1,76,68,1,1 monster Croc 1006,1,35000,300000 -000-1-1,52,92,4,17 monster Croc 1006,1,35000,300000 -000-1-1,71,77,4,4 monster Croc 1006,1,35000,300000 -000-1-1,0,0,0,0 monster Piou 1002,4,60000,15000 -000-1-1,78,115,0,0 monster Crocotree 1010,1,420000,240000 -000-1-1,57,104,0,0 monster Crocotree 1010,1,420000,240000 -000-1-1,39,112,0,0 monster Crocotree 1010,1,420000,240000 -000-1-1,67,93,0,0 monster Crocotree 1010,1,420000,240000 -000-1-1,53,77,0,0 monster Crocotree 1010,1,420000,240000 -000-1-1,64,63,0,0 monster Crocotree 1010,1,420000,240000 -000-1-1,31,69,0,0 monster Crocotree 1010,1,420000,240000 -000-1-1,44,44,0,0 monster Crocotree 1010,1,420000,240000 -000-1-1,70,33,0,0 monster Crocotree 1010,1,420000,240000 -000-1-1,84,66,0,0 monster Crocotree 1010,1,420000,240000 diff --git a/npc/000-1-1/_warps.txt b/npc/000-1-1/_warps.txt deleted file mode 100644 index e27a1d7e9..000000000 --- a/npc/000-1-1/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 000-1-1: Drasil Island warps -000-1-1,94,100,0 warp #000-1-1_94_100 0,0,000-2-0,21,28 diff --git a/npc/000-1-1/mapflags.txt b/npc/000-1-1/mapflags.txt deleted file mode 100644 index 708dd2ab8..000000000 --- a/npc/000-1-1/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -000-1 mapflag town diff --git a/npc/000-1-2-3-4/_import.txt b/npc/000-1-2-3-4/_import.txt deleted file mode 100644 index 436f127e1..000000000 --- a/npc/000-1-2-3-4/_import.txt +++ /dev/null @@ -1,4 +0,0 @@ -// Map 000-1-2-3-4: Drasil Island -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/000-1-2-3-4/_mobs.txt", -"npc/000-1-2-3-4/_warps.txt", diff --git a/npc/000-1-2-3-4/_mobs.txt b/npc/000-1-2-3-4/_mobs.txt deleted file mode 100644 index e16cc9feb..000000000 --- a/npc/000-1-2-3-4/_mobs.txt +++ /dev/null @@ -1,39 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 000-1-2-3-4: Drasil Island mobs -000-1-2-3-4,28,49,6,9 monster Tortuga 1004,3,16000,120000 -000-1-2-3-4,58,118,34,14 monster Tortuga 1004,4,35000,300000 -000-1-2-3-4,71,95,4,12 monster Tortuga 1004,1,35000,300000 -000-1-2-3-4,52,92,4,17 monster Tortuga 1004,2,35000,300000 -000-1-2-3-4,37,66,11,5 monster Tortuga 1004,2,35000,120000 -000-1-2-3-4,42,41,9,16 monster Tortuga 1004,2,35000,120000 -000-1-2-3-4,87,37,12,11 monster Tortuga 1004,3,35000,120000 -000-1-2-3-4,44,75,2,1 monster Little Blub 1007,2,25000,120000 -000-1-2-3-4,61,64,7,10 monster Little Blub 1007,2,25000,120000 -000-1-2-3-4,62,25,10,4 monster Little Blub 1007,2,25000,120000 -000-1-2-3-4,87,69,4,3 monster Blub 1008,1,60000,120000 -000-1-2-3-4,85,33,2,3 monster Little Blub 1007,1,25000,120000 -000-1-2-3-4,85,58,14,9 monster Little Blub 1007,2,35000,120000 -000-1-2-3-4,48,61,9,6 monster Little Blub 1007,1,35000,120000 -000-1-2-3-4,28,48,3,5 monster Little Blub 1007,1,35000,120000 -000-1-2-3-4,35,50,0,1 monster Plushroom Field 1011,1,35000,150000 -000-1-2-3-4,54,115,0,1 monster Plushroom Field 1011,1,35000,150000 -000-1-2-3-4,63,80,4,2 monster Plushroom Field 1011,1,35000,150000 -000-1-2-3-4,54,64,0,2 monster Plushroom Field 1011,1,35000,150000 -000-1-2-3-4,78,58,4,5 monster Plushroom Field 1011,2,35000,150000 -000-1-2-3-4,71,62,1,1 monster Plushroom Field 1011,1,35000,150000 -000-1-2-3-4,32,116,8,9 monster Croc 1006,2,35000,300000 -000-1-2-3-4,63,31,10,3 monster Croc 1006,1,35000,300000 -000-1-2-3-4,76,68,1,1 monster Croc 1006,1,35000,300000 -000-1-2-3-4,52,92,4,17 monster Croc 1006,1,35000,300000 -000-1-2-3-4,71,77,4,4 monster Croc 1006,1,35000,300000 -000-1-2-3-4,0,0,0,0 monster Piou 1002,4,60000,15000 -000-1-2-3-4,78,115,0,0 monster Crocotree 1010,1,420000,240000 -000-1-2-3-4,57,104,0,0 monster Crocotree 1010,1,420000,240000 -000-1-2-3-4,39,112,0,0 monster Crocotree 1010,1,420000,240000 -000-1-2-3-4,67,93,0,0 monster Crocotree 1010,1,420000,240000 -000-1-2-3-4,53,77,0,0 monster Crocotree 1010,1,420000,240000 -000-1-2-3-4,64,63,0,0 monster Crocotree 1010,1,420000,240000 -000-1-2-3-4,31,69,0,0 monster Crocotree 1010,1,420000,240000 -000-1-2-3-4,44,44,0,0 monster Crocotree 1010,1,420000,240000 -000-1-2-3-4,70,33,0,0 monster Crocotree 1010,1,420000,240000 -000-1-2-3-4,84,66,0,0 monster Crocotree 1010,1,420000,240000 diff --git a/npc/000-1-2-3-4/_warps.txt b/npc/000-1-2-3-4/_warps.txt deleted file mode 100644 index abfd5a996..000000000 --- a/npc/000-1-2-3-4/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 000-1-2-3-4: Drasil Island warps -000-1-2-3-4,94,100,0 warp #000-1-2-3-4_94_100 0,0,000-2-0,21,28 diff --git a/npc/000-1-2/_import.txt b/npc/000-1-2/_import.txt deleted file mode 100644 index c1214a4ba..000000000 --- a/npc/000-1-2/_import.txt +++ /dev/null @@ -1,2 +0,0 @@ -// Map 000-1-2: Caverna Halloween -// This file is generated automatically. All manually added changes will be removed when running the Converter. diff --git a/npc/000-1-4/_import.txt b/npc/000-1-4/_import.txt deleted file mode 100644 index b85766215..000000000 --- a/npc/000-1-4/_import.txt +++ /dev/null @@ -1,2 +0,0 @@ -// Map 000-1-4: Drasil Island -// This file is generated automatically. All manually added changes will be removed when running the Converter. diff --git a/npc/000-1-7-2/_import.txt b/npc/000-1-7-2/_import.txt deleted file mode 100644 index 4bf6fa252..000000000 --- a/npc/000-1-7-2/_import.txt +++ /dev/null @@ -1,4 +0,0 @@ -// Map 000-1-7-2: Drasil Island -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/000-1-7-2/_mobs.txt", -"npc/000-1-7-2/_warps.txt", diff --git a/npc/000-1-7-2/_mobs.txt b/npc/000-1-7-2/_mobs.txt deleted file mode 100644 index 667cc86fb..000000000 --- a/npc/000-1-7-2/_mobs.txt +++ /dev/null @@ -1,39 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 000-1-7-2: Drasil Island mobs -000-1-7-2,28,49,6,9 monster Tortuga 1004,3,16000,120000 -000-1-7-2,58,118,34,14 monster Tortuga 1004,4,35000,300000 -000-1-7-2,71,95,4,12 monster Tortuga 1004,1,35000,300000 -000-1-7-2,52,92,4,17 monster Tortuga 1004,2,35000,300000 -000-1-7-2,37,66,11,5 monster Tortuga 1004,2,35000,120000 -000-1-7-2,42,41,9,16 monster Tortuga 1004,2,35000,120000 -000-1-7-2,87,37,12,11 monster Tortuga 1004,3,35000,120000 -000-1-7-2,44,75,2,1 monster Little Blub 1007,2,25000,120000 -000-1-7-2,61,64,7,10 monster Little Blub 1007,2,25000,120000 -000-1-7-2,62,25,10,4 monster Little Blub 1007,2,25000,120000 -000-1-7-2,87,69,4,3 monster Blub 1008,1,60000,120000 -000-1-7-2,85,33,2,3 monster Little Blub 1007,1,25000,120000 -000-1-7-2,85,58,14,9 monster Little Blub 1007,2,35000,120000 -000-1-7-2,48,61,9,6 monster Little Blub 1007,1,35000,120000 -000-1-7-2,28,48,3,5 monster Little Blub 1007,1,35000,120000 -000-1-7-2,35,50,0,1 monster Plushroom Field 1011,1,35000,150000 -000-1-7-2,54,115,0,1 monster Plushroom Field 1011,1,35000,150000 -000-1-7-2,63,80,4,2 monster Plushroom Field 1011,1,35000,150000 -000-1-7-2,54,64,0,2 monster Plushroom Field 1011,1,35000,150000 -000-1-7-2,78,58,4,5 monster Plushroom Field 1011,2,35000,150000 -000-1-7-2,71,62,1,1 monster Plushroom Field 1011,1,35000,150000 -000-1-7-2,32,116,8,9 monster Croc 1006,2,35000,300000 -000-1-7-2,63,31,10,3 monster Croc 1006,1,35000,300000 -000-1-7-2,76,68,1,1 monster Croc 1006,1,35000,300000 -000-1-7-2,52,92,4,17 monster Croc 1006,1,35000,300000 -000-1-7-2,71,77,4,4 monster Croc 1006,1,35000,300000 -000-1-7-2,0,0,0,0 monster Piou 1002,4,60000,15000 -000-1-7-2,78,115,0,0 monster Crocotree 1010,1,420000,240000 -000-1-7-2,57,104,0,0 monster Crocotree 1010,1,420000,240000 -000-1-7-2,39,112,0,0 monster Crocotree 1010,1,420000,240000 -000-1-7-2,67,93,0,0 monster Crocotree 1010,1,420000,240000 -000-1-7-2,53,77,0,0 monster Crocotree 1010,1,420000,240000 -000-1-7-2,64,63,0,0 monster Crocotree 1010,1,420000,240000 -000-1-7-2,31,69,0,0 monster Crocotree 1010,1,420000,240000 -000-1-7-2,44,44,0,0 monster Crocotree 1010,1,420000,240000 -000-1-7-2,70,33,0,0 monster Crocotree 1010,1,420000,240000 -000-1-7-2,84,66,0,0 monster Crocotree 1010,1,420000,240000 diff --git a/npc/000-1-7-2/_warps.txt b/npc/000-1-7-2/_warps.txt deleted file mode 100644 index 6b6a569a4..000000000 --- a/npc/000-1-7-2/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 000-1-7-2: Drasil Island warps -000-1-7-2,94,100,0 warp #000-1-7-2_94_100 0,0,000-2-0,21,28 diff --git a/npc/000-1-7-3/_import.txt b/npc/000-1-7-3/_import.txt deleted file mode 100644 index 20ac31d18..000000000 --- a/npc/000-1-7-3/_import.txt +++ /dev/null @@ -1,4 +0,0 @@ -// Map 000-1-7-3: Drasil Island -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/000-1-7-3/_mobs.txt", -"npc/000-1-7-3/_warps.txt", diff --git a/npc/000-1-7-3/_mobs.txt b/npc/000-1-7-3/_mobs.txt deleted file mode 100644 index bbccf85df..000000000 --- a/npc/000-1-7-3/_mobs.txt +++ /dev/null @@ -1,40 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 000-1-7-3: Drasil Island mobs -000-1-7-3,48,69,6,9 monster Tortuga 1004,3,16000,120000 -000-1-7-3,78,138,34,14 monster Tortuga 1004,4,35000,300000 -000-1-7-3,91,115,4,12 monster Tortuga 1004,1,35000,300000 -000-1-7-3,72,112,4,17 monster Tortuga 1004,2,35000,300000 -000-1-7-3,57,86,11,5 monster Tortuga 1004,2,35000,120000 -000-1-7-3,62,61,9,16 monster Tortuga 1004,2,35000,120000 -000-1-7-3,107,57,12,11 monster Tortuga 1004,3,35000,120000 -000-1-7-3,64,95,2,1 monster Little Blub 1007,2,25000,120000 -000-1-7-3,81,84,7,10 monster Little Blub 1007,2,25000,120000 -000-1-7-3,82,45,10,4 monster Little Blub 1007,2,25000,120000 -000-1-7-3,107,89,4,3 monster Blub 1008,1,60000,120000 -000-1-7-3,105,53,2,3 monster Little Blub 1007,1,25000,120000 -000-1-7-3,105,78,14,9 monster Little Blub 1007,2,35000,120000 -000-1-7-3,68,81,9,6 monster Little Blub 1007,1,35000,120000 -000-1-7-3,48,68,3,5 monster Little Blub 1007,1,35000,120000 -000-1-7-3,55,70,0,1 monster Plushroom Field 1011,1,35000,150000 -000-1-7-3,74,135,0,1 monster Plushroom Field 1011,1,35000,150000 -000-1-7-3,83,100,4,2 monster Plushroom Field 1011,1,35000,150000 -000-1-7-3,74,84,0,2 monster Plushroom Field 1011,1,35000,150000 -000-1-7-3,98,78,4,5 monster Plushroom Field 1011,2,35000,150000 -000-1-7-3,91,82,1,1 monster Plushroom Field 1011,1,35000,150000 -000-1-7-3,52,136,8,9 monster Croc 1006,2,35000,300000 -000-1-7-3,83,51,10,3 monster Croc 1006,1,35000,300000 -000-1-7-3,96,88,1,1 monster Croc 1006,1,35000,300000 -000-1-7-3,72,112,4,17 monster Croc 1006,1,35000,300000 -000-1-7-3,91,97,4,4 monster Croc 1006,1,35000,300000 -000-1-7-3,20,20,0,0 monster Piou 1002,4,60000,15000 -000-1-7-3,98,135,0,0 monster Crocotree 1010,1,420000,240000 -000-1-7-3,77,124,0,0 monster Crocotree 1010,1,420000,240000 -000-1-7-3,59,132,0,0 monster Crocotree 1010,1,420000,240000 -000-1-7-3,87,113,0,0 monster Crocotree 1010,1,420000,240000 -000-1-7-3,73,97,0,0 monster Crocotree 1010,1,420000,240000 -000-1-7-3,84,83,0,0 monster Crocotree 1010,1,420000,240000 -000-1-7-3,51,89,0,0 monster Crocotree 1010,1,420000,240000 -000-1-7-3,64,64,0,0 monster Crocotree 1010,1,420000,240000 -000-1-7-3,90,53,0,0 monster Crocotree 1010,1,420000,240000 -000-1-7-3,104,86,0,0 monster Crocotree 1010,1,420000,240000 -000-1-7-3,81,95,36,58 monster Maggot 1030,60,35000,120000 diff --git a/npc/000-1-7-3/_warps.txt b/npc/000-1-7-3/_warps.txt deleted file mode 100644 index 3df8e19b3..000000000 --- a/npc/000-1-7-3/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 000-1-7-3: Drasil Island warps -000-1-7-3,80,67,0 warp #000-1-7-3_80_67 0,0,000-2-0,21,28 diff --git a/npc/000-1-7/_import.txt b/npc/000-1-7/_import.txt deleted file mode 100644 index 842ff5088..000000000 --- a/npc/000-1-7/_import.txt +++ /dev/null @@ -1,4 +0,0 @@ -// Map 000-1-7: Drasil Island -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/000-1-7/_mobs.txt", -"npc/000-1-7/_warps.txt", diff --git a/npc/000-1-7/_mobs.txt b/npc/000-1-7/_mobs.txt deleted file mode 100644 index 4d3235432..000000000 --- a/npc/000-1-7/_mobs.txt +++ /dev/null @@ -1,39 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 000-1-7: Drasil Island mobs -000-1-7,28,49,6,9 monster Tortuga 1004,3,16000,120000 -000-1-7,58,118,34,14 monster Tortuga 1004,4,35000,300000 -000-1-7,71,95,4,12 monster Tortuga 1004,1,35000,300000 -000-1-7,52,92,4,17 monster Tortuga 1004,2,35000,300000 -000-1-7,37,66,11,5 monster Tortuga 1004,2,35000,120000 -000-1-7,42,41,9,16 monster Tortuga 1004,2,35000,120000 -000-1-7,87,37,12,11 monster Tortuga 1004,3,35000,120000 -000-1-7,44,75,2,1 monster Little Blub 1007,2,25000,120000 -000-1-7,61,64,7,10 monster Little Blub 1007,2,25000,120000 -000-1-7,62,25,10,4 monster Little Blub 1007,2,25000,120000 -000-1-7,87,69,4,3 monster Blub 1008,1,60000,120000 -000-1-7,85,33,2,3 monster Little Blub 1007,1,25000,120000 -000-1-7,85,58,14,9 monster Little Blub 1007,2,35000,120000 -000-1-7,48,61,9,6 monster Little Blub 1007,1,35000,120000 -000-1-7,28,48,3,5 monster Little Blub 1007,1,35000,120000 -000-1-7,35,50,0,1 monster Plushroom Field 1011,1,35000,150000 -000-1-7,54,115,0,1 monster Plushroom Field 1011,1,35000,150000 -000-1-7,63,80,4,2 monster Plushroom Field 1011,1,35000,150000 -000-1-7,54,64,0,2 monster Plushroom Field 1011,1,35000,150000 -000-1-7,78,58,4,5 monster Plushroom Field 1011,2,35000,150000 -000-1-7,71,62,1,1 monster Plushroom Field 1011,1,35000,150000 -000-1-7,32,116,8,9 monster Croc 1006,2,35000,300000 -000-1-7,63,31,10,3 monster Croc 1006,1,35000,300000 -000-1-7,76,68,1,1 monster Croc 1006,1,35000,300000 -000-1-7,52,92,4,17 monster Croc 1006,1,35000,300000 -000-1-7,71,77,4,4 monster Croc 1006,1,35000,300000 -000-1-7,0,0,0,0 monster Piou 1002,4,60000,15000 -000-1-7,78,115,0,0 monster Crocotree 1010,1,420000,240000 -000-1-7,57,104,0,0 monster Crocotree 1010,1,420000,240000 -000-1-7,39,112,0,0 monster Crocotree 1010,1,420000,240000 -000-1-7,67,93,0,0 monster Crocotree 1010,1,420000,240000 -000-1-7,53,77,0,0 monster Crocotree 1010,1,420000,240000 -000-1-7,64,63,0,0 monster Crocotree 1010,1,420000,240000 -000-1-7,31,69,0,0 monster Crocotree 1010,1,420000,240000 -000-1-7,44,44,0,0 monster Crocotree 1010,1,420000,240000 -000-1-7,70,33,0,0 monster Crocotree 1010,1,420000,240000 -000-1-7,84,66,0,0 monster Crocotree 1010,1,420000,240000 diff --git a/npc/000-1-7/_warps.txt b/npc/000-1-7/_warps.txt deleted file mode 100644 index 4bac91ce7..000000000 --- a/npc/000-1-7/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 000-1-7: Drasil Island warps -000-1-7,94,100,0 warp #000-1-7_94_100 0,0,000-2-0,21,28 diff --git a/npc/000-1-9/_import.txt b/npc/000-1-9/_import.txt deleted file mode 100644 index ace9eb2dd..000000000 --- a/npc/000-1-9/_import.txt +++ /dev/null @@ -1,4 +0,0 @@ -// Map 000-1-9: Candor -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/000-1-9/_mobs.txt", -"npc/000-1-9/_warps.txt", diff --git a/npc/000-1-9/_mobs.txt b/npc/000-1-9/_mobs.txt deleted file mode 100644 index a7876afdb..000000000 --- a/npc/000-1-9/_mobs.txt +++ /dev/null @@ -1,39 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 000-1-9: Candor mobs -000-1-9,28,49,6,9 monster Tortuga 1004,3,16000,120000 -000-1-9,58,118,34,14 monster Tortuga 1004,4,35000,300000 -000-1-9,71,95,4,12 monster Tortuga 1004,1,35000,300000 -000-1-9,52,92,4,17 monster Tortuga 1004,2,35000,300000 -000-1-9,37,66,11,5 monster Tortuga 1004,2,35000,120000 -000-1-9,42,41,9,16 monster Tortuga 1004,2,35000,120000 -000-1-9,87,37,12,11 monster Tortuga 1004,3,35000,120000 -000-1-9,44,75,2,1 monster Little Blub 1007,2,25000,120000 -000-1-9,61,64,7,10 monster Little Blub 1007,2,25000,120000 -000-1-9,62,25,10,4 monster Little Blub 1007,2,25000,120000 -000-1-9,87,69,4,3 monster Blub 1008,1,60000,120000 -000-1-9,85,33,2,3 monster Little Blub 1007,1,25000,120000 -000-1-9,85,58,14,9 monster Little Blub 1007,2,35000,120000 -000-1-9,48,61,9,6 monster Little Blub 1007,1,35000,120000 -000-1-9,28,48,3,5 monster Little Blub 1007,1,35000,120000 -000-1-9,35,50,0,1 monster Plushroom Field 1011,1,35000,150000 -000-1-9,54,115,0,1 monster Plushroom Field 1011,1,35000,150000 -000-1-9,63,80,4,2 monster Plushroom Field 1011,1,35000,150000 -000-1-9,54,64,0,2 monster Plushroom Field 1011,1,35000,150000 -000-1-9,78,58,4,5 monster Plushroom Field 1011,2,35000,150000 -000-1-9,71,62,1,1 monster Plushroom Field 1011,1,35000,150000 -000-1-9,32,116,8,9 monster Croc 1006,2,35000,300000 -000-1-9,63,31,10,3 monster Croc 1006,1,35000,300000 -000-1-9,76,68,1,1 monster Croc 1006,1,35000,300000 -000-1-9,52,92,4,17 monster Croc 1006,1,35000,300000 -000-1-9,71,77,4,4 monster Croc 1006,1,35000,300000 -000-1-9,0,0,0,0 monster Piou 1002,4,60000,15000 -000-1-9,78,115,0,0 monster Crocotree 1010,1,420000,240000 -000-1-9,57,104,0,0 monster Crocotree 1010,1,420000,240000 -000-1-9,39,112,0,0 monster Crocotree 1010,1,420000,240000 -000-1-9,67,93,0,0 monster Crocotree 1010,1,420000,240000 -000-1-9,53,77,0,0 monster Crocotree 1010,1,420000,240000 -000-1-9,64,63,0,0 monster Crocotree 1010,1,420000,240000 -000-1-9,31,69,0,0 monster Crocotree 1010,1,420000,240000 -000-1-9,44,44,0,0 monster Crocotree 1010,1,420000,240000 -000-1-9,70,33,0,0 monster Crocotree 1010,1,420000,240000 -000-1-9,84,66,0,0 monster Crocotree 1010,1,420000,240000 diff --git a/npc/000-1-9/_warps.txt b/npc/000-1-9/_warps.txt deleted file mode 100644 index 81e302375..000000000 --- a/npc/000-1-9/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 000-1-9: Candor warps -000-1-9,94,100,0 warp #000-1-9_94_100 0,0,000-2-0,21,28 diff --git a/npc/000-1/_import.txt b/npc/000-1/_import.txt deleted file mode 100644 index da1819af6..000000000 --- a/npc/000-1/_import.txt +++ /dev/null @@ -1,4 +0,0 @@ -// Map 000-1: Drasil Island -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/000-1/_mobs.txt", -"npc/000-1/_warps.txt", diff --git a/npc/000-1/_mobs.txt b/npc/000-1/_mobs.txt deleted file mode 100644 index 9bd9ea81c..000000000 --- a/npc/000-1/_mobs.txt +++ /dev/null @@ -1,39 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 000-1: Drasil Island mobs -000-1,28,49,6,9 monster Tortuga 1004,3,16000,120000 -000-1,58,118,34,14 monster Tortuga 1004,4,35000,300000 -000-1,71,95,4,12 monster Tortuga 1004,1,35000,300000 -000-1,52,92,4,17 monster Tortuga 1004,2,35000,300000 -000-1,37,66,11,5 monster Tortuga 1004,2,35000,120000 -000-1,42,41,9,16 monster Tortuga 1004,2,35000,120000 -000-1,87,37,12,11 monster Tortuga 1004,3,35000,120000 -000-1,44,75,2,1 monster Little Blub 1007,2,25000,120000 -000-1,61,64,7,10 monster Little Blub 1007,2,25000,120000 -000-1,62,25,10,4 monster Little Blub 1007,2,25000,120000 -000-1,87,69,4,3 monster Blub 1008,1,60000,120000 -000-1,85,33,2,3 monster Little Blub 1007,1,25000,120000 -000-1,85,58,14,9 monster Little Blub 1007,2,35000,120000 -000-1,48,61,9,6 monster Little Blub 1007,1,35000,120000 -000-1,28,48,3,5 monster Little Blub 1007,1,35000,120000 -000-1,35,50,0,1 monster Plushroom Field 1011,1,35000,150000 -000-1,54,115,0,1 monster Plushroom Field 1011,1,35000,150000 -000-1,63,80,4,2 monster Plushroom Field 1011,1,35000,150000 -000-1,54,64,0,2 monster Plushroom Field 1011,1,35000,150000 -000-1,78,58,4,5 monster Plushroom Field 1011,2,35000,150000 -000-1,71,62,1,1 monster Plushroom Field 1011,1,35000,150000 -000-1,32,116,8,9 monster Croc 1006,2,35000,300000 -000-1,63,31,10,3 monster Croc 1006,1,35000,300000 -000-1,76,68,1,1 monster Croc 1006,1,35000,300000 -000-1,52,92,4,17 monster Croc 1006,1,35000,300000 -000-1,71,77,4,4 monster Croc 1006,1,35000,300000 -000-1,0,0,0,0 monster Piou 1002,4,60000,15000 -000-1,78,115,0,0 monster Crocotree 1010,1,420000,240000 -000-1,57,104,0,0 monster Crocotree 1010,1,420000,240000 -000-1,39,112,0,0 monster Crocotree 1010,1,420000,240000 -000-1,67,93,0,0 monster Crocotree 1010,1,420000,240000 -000-1,53,77,0,0 monster Crocotree 1010,1,420000,240000 -000-1,64,63,0,0 monster Crocotree 1010,1,420000,240000 -000-1,31,69,0,0 monster Crocotree 1010,1,420000,240000 -000-1,44,44,0,0 monster Crocotree 1010,1,420000,240000 -000-1,70,33,0,0 monster Crocotree 1010,1,420000,240000 -000-1,84,66,0,0 monster Crocotree 1010,1,420000,240000 diff --git a/npc/000-1/_warps.txt b/npc/000-1/_warps.txt deleted file mode 100644 index 47b4fb420..000000000 --- a/npc/000-1/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 000-1: Drasil Island warps -000-1,94,100,0 warp #000-1_94_100 0,0,000-2-0,21,28 diff --git a/npc/000-2-0/_import.txt b/npc/000-2-0/_import.txt deleted file mode 100644 index c0b9afb11..000000000 --- a/npc/000-2-0/_import.txt +++ /dev/null @@ -1,8 +0,0 @@ -// Map 000-2-0: First Deck -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/000-2-0/_warps.txt", -"npc/000-2-0/billybons.txt", -"npc/000-2-0/doors.txt", -"npc/000-2-0/julia.txt", -"npc/000-2-0/mapflags.txt", -"npc/000-2-0/note.txt", diff --git a/npc/000-2-0/_warps.txt b/npc/000-2-0/_warps.txt deleted file mode 100644 index 5496ecaea..000000000 --- a/npc/000-2-0/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 000-2-0: First Deck warps -000-2-0,31,25,0 warp #000-2-0_31_25 0,0,000-2-1,72,29 diff --git a/npc/000-2-0/billybons.txt b/npc/000-2-0/billybons.txt deleted file mode 100644 index 4a4e63682..000000000 --- a/npc/000-2-0/billybons.txt +++ /dev/null @@ -1,108 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Drunk easteregg telling about the player's past. - -000-2-0,20,23,0 script Billy Bons NPC_BILLY_BONS,{ - if (rand(5) == 2) goto L_Hic; - .@q = getq(ShipQuests_Bottle); - if (.@q) == 1 close; - - mesn; - mesq l("You? Here?"); - mesq l("How is *hic* it possible?"); - next; - - mesn "Narrator"; - mes col(l("The sailor chugs his beer."), 9); - next; - - select - lg("Excuse me? Do you know who I am?"); - - mes ""; - mesn; - mesq l("Don't do theee... *hic* with me eh!"); - next; - - menu - l("Are you ok?"), L_Quit, - ("Take the bottle?"), L_Give, - l("Alright... Bye."), -; - - mes ""; - mesn; - mesq lg("No and *hic*... No, you and you and your... *burp* stup*hic* guild!"); - next; - mesq l("You tried to get rid of me, eeh? But surprise! I'm still here... *hic* Or there..."); - next; - mesq l("But you won't *hic* me this time..."); - next; - - menu - l("What are you talking about? What guild?"), L_Quit, - l("You are full of wine, my friend..."), -, - l("You should go and get some sleep."), L_Quit; - - mes ""; - mesn; - mesq l("If I saw *hic* who you were... *hic* Would not have helped you! "); - next; - - menu - l("But who am I?"), -, - l("What am I supposed to say?"), L_Quit, - l("You should go and get some sleep."), L_Secret; - - mes ""; - mesn; - mesq l("The giant boogeyman!"); - - close; - -L_Secret: - mes ""; - mesn; - mesq l("Hear me *hic* well, what ever, whatididever you will *hic* said ab... uhm... out what?! You saw there, the Legion of Aemil won't let it get public."); - next; - mesq l("Nobody will know about the existence of the Mercurians."); - next; - mesq l("Nobody! *burp*"); - next; - - close; - -L_Hic: - npctalk3 l("*Hic*"); - - close; - -L_Quit: - mes ""; - mesn; - mesq l("Yeah you're all like *hic* that in Esperia, but you won't get me! *burp*"); - next; - mesq l("I'm not that numb eeh *hic* what did ever yous disco... ...vered there, the Legion of Aemil won't get me!"); - mesq l("*burp*"); - next; - - mesn "Narrator"; - mes col(l("The sailor turns his back to you."), 9); - - close; - - L_Give: - mes ""; - inventoryplace 833, 1; - - setq ShipQuests_Bottle, 1; - getitem 833, 1; - - close; - -OnInit: - .sex = G_MALE; - .distance = 3; - end; -} diff --git a/npc/000-2-0/doors.txt b/npc/000-2-0/doors.txt deleted file mode 100644 index 979bc7d96..000000000 --- a/npc/000-2-0/doors.txt +++ /dev/null @@ -1,85 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Doors NPCs. -// The third value of the .@nard variable has been removed for the beta2, it'll then be re-added for the Aurora release. -// Variable: -// 0 ShipQUests_Nard -// 1 ShipQuests_Julia -// Values: -// Nard: -// 00 Introduction of the boxes and Nard. This is displayed when the player never spoke to Nard or his box. -// 01 Nard spoke and gave access to the outdoor of the ship. -// 02 Completed the Gugli quest. -// 03 ChefGado Quest accepted. -// 04 ChefGado Quest completed and "Introduction" chapter finalized. -// 05 Reward taken from the box. -// 10 Has not talked to Julia -// 11 Need to see Julia -// 12 Has been registered by Julia - -000-2-0,19,28,0 script AreaNPC#doors1 NPC_HIDDEN,0,0,{ - -OnTouch: - .@nard = getq(ShipQuests_Nard); - - if (getq(General_Narrator) > 0) - { - warp "005-1", 42, 107; - close; - } - - if (.@nard == 4) goto L_GotoNard; - if (.@nard == 5) goto L_End; - if (.@nard > 0 && countitem(718) > 0) goto L_Key; - - setcamnpc "Julia"; - mesn "Julia"; - mesq l("The captain has locked the door, you should go see him."); - next; - - mesn "Narrator"; - mes col(l("Captain Nard is in the room to your right."), 9); - next; - restorecam; - - close; - -L_Key: - warp "005-1", 42, 107; - close; - -L_GotoNard: - setcamnpc "Julia"; - mesn "Julia"; - mesq l("The captain is waiting for you! Hurry up."); - next; - restorecam; - - close; - -L_End: - mesn "Narrator"; - mesq col(l("This door is locked."), 9); - setcamnpc "Julia"; - next; - mesn "Julia"; - mesq l("We're soon leaving that island, please return to your cabine."); - next; - restorecam; - - close; -} - -000-2-0,33,28,0 script AreaNPC#doors2 NPC_HIDDEN,0,0,{ - -OnTouch: - .@julia = getq(ShipQuests_Julia); - if (.@julia == 2) goto L_Warp; - close; - -L_Warp: - warp "000-2-3", 20, 27; - close; -} diff --git a/npc/000-2-0/julia.txt b/npc/000-2-0/julia.txt deleted file mode 100644 index 33916d85b..000000000 --- a/npc/000-2-0/julia.txt +++ /dev/null @@ -1,302 +0,0 @@ -// Evol scripts. -// Authors: -// 4144 -// Qwerty Dragon -// Vasily_Makarov -// Description: -// Allows to change language and talks about what happened to him. -// 2 Bits Array: -// ShipQuests -// Variables: -// 0 ShipQuests_Julia -// 1 ShipQuests_ChefGado -// 2 ShipQuests_Nard -// Values: -// Julia: -// 10 Default, no quest given. -// 01 Need to see Julia. -// 02 Has been registered by Julia. -// Gado: -// 10 Default, no quest given. -// 11 Quest accepted. -// 12 Ingredients collected, ready to poison Julia. -// 13 Julia poisoned. -// 14 Quest complete. Chef Gago wins. -// 15 Quest complete. Julia wins (poison dish returned). -// 16 Quest complete. Julia wins. -// Nard: -// 20 Introduction of the boxes and Nard. This is displayed when the player never spoke to Nard or his box. -// 21 Nard spoke and gave access to the outdoor of the ship. -// 22 Completed the Gugli quest. -// 23 ChefGado Quest accepted. -// 24 ChefGado Quest completed and "Introduction" chapter finalized. -// 25 Reward taken from the box. - -000-2-0,27,24,0 script Julia NPC_JULIA,2,10,{ - - function ynMenu { - if (select(l("Yes, I do."), l("No, none.")) == 1) { - return; - } - closedialog; - } - - function poisonJulia { - mes ""; - mesn; - mesq l("Seems yummy! Let me taste it!"); - next; - mesq l("Hmmm, hm... *cough*, *cough*, *burp*, *cough*. What... What is that?!... *cough*, *burp*... Damn Gado... *cough*"); - if (countitem(PoisonedDish) > 0) delitem PoisonedDish, 1; - setq ShipQuests_ChefGado, 3; - close; - } - - function gotoSleep { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("You already did enough for us, follow Nard's advice and get some rest."), - l("We are at half a day from our final destination, by the time that you wake up I'm sure that we will be there!"), - l("Do you have any other questions for me?"); - ynMenu; - return; - } - - function heardRumors { - mes ""; - mesn; - mesq l("You shouldn't believe every tale drunken sailors tell you."); - next; - - select - l("Let's say the person who told me about that is well respected on this ship and never drunk."); - - mes ""; - mesn; - mesq l("Hahaha! All sailors aboard this ship are always drunk... Well... Except... Wait, what?! Nard told you?!"); - next; - mesq l("Doesn't he like the way I'm taking care of his ship? Everything is clean and tidy with me, rightful lieutenant of La Johanne."); - next; - mesq l("I give tasks to every single sailor, all day long. That should make him happy!"); - next; - - select - l("Well... I don't think it is the best way to rule a ship. Think about it."), - l("In fact, everything seems to work perfectly under your guidance. Nard has made the right choice."); - - if (@menu == 1) - { - closedialog; - end; - } - - mes ""; - mesn; - mesq l("I'm glad you're on my side."); - next; - mesq l("Take this money as a reward for your nice words."); - - setq ShipQuests_ChefGado, 6; - Zeny += 100; - message strcharinfo(0), l("You receive @@ E!", 100); - getexp 8, 0; - close; - } - - function gotRegrets { - mes ""; - mesn; - mesq l("Why? And who should you bring it back to?"); - next; - - select - l("Ehm... He was really upset because of some past stories."); - - mes ""; - mesn; - mesq l("Gado! That coward lives in the past, I will ask Nard to punish him, again!"); - next; - mesq l("Take this money for your wise choice. But do not try it again. The open sea has been merciful with you once... Do not further tempt the fates!"); - - setq ShipQuests_ChefGado, 5; - Zeny += 200; - message strcharinfo(0), l("You receive @@ E!", 200); - getexp 15, 0; - close; - } - - function basicSkill { - mes ""; - mesn; - mesq l("Let me check into it..."); - next; - adddefaultskills; - mesq l("Here you go, everything is fixed."); - emotion E_HAPPY; - next; - mesq l("Do you have any other questions for me?"); - next; - ynMenu; - return; - } - - function chooseLang { - mes ""; - mesn; - mesq l("Of course! Tell me which language you speak and I will change the note on the ship passenger list."); - next; - - asklanguage(LANG_IN_SHIP); - - mes ""; - mesn; - mesq l("Ok, done."); - - if (getq(ShipQuests_Julia) == 2) - { - next; - mesq l("Do you have any other questions for me?"); - next; - ynMenu; - return; - } - - next; - mesq l("I'm sure that you've got some questions for me, feel free to ask them, but first I need to tell you the rules of proper social conduct on board."); - - mesq l("Here they are."); - next; - - narrator S_LAST_NEXT, - l("There is a paper with some rules written on it."); - - GameRules 8 | 4; - - mesn; - mesq l("Oh, and I almost forgot! Do not give the password of your room to anybody! I am the only one who has the other key and I won't ask for yours so keep it secret and try not to use the same password for any other room in the future."); - next; - mesq l("If you want to read this page again, there is a copy up on the left wall."); - next; - mesq l("You can also read The Book of Laws at any time to see the rules."); - next; - mesq l("I think I'm done with that now. Do you have any questions?"); - next; - - setq ShipQuests_Julia, 2; - return; - } - - function whereAmI { - mes ""; - mesn; - mesq l("You're on a ship, we're on our way to the commercial capital of Artis."); - next; - mesq l("We should be there in a few days, once we arrive, I will warn the Legion of Aemil about what happened, I'm sure they can help."); - next; - mesq l("But for now, you can relax on the ship, or visit the island we're docked at! Its a small island, but a good place to get some exercise and stretch your legs."); - next; - mesq l("Do you have any other questions for me?"); - next; - ynMenu; - return; - } - - function whatHappened { - mes ""; - mesn; - mesq l("We thought that you could help us understand this, all we know is that we found you cast in the sea, adrift on your raft."); - next; - mesq lg("You were in bad shape, you should be happy we found you before the sea killed you."); - next; - mesq l("Oh, and there was this inscription on your raft. It represents the Legion of Aemil, one of the four main guilds of Gasaron. Does that help you remember anything, anything at all?"); - next; - - select - l("Sorry, but I can't tell you anything about that."), - l("Nothing, sorry."); - - mes ""; - mesn; - mesq l("No problem, do you have any other questions for me?"); - next; - ynMenu; - return; - } - - function readRules { - mes ""; - mesn; - mesq l("Of course, they are on the left wall, go have a look at them."); - next; - mesq l("Do you have any other questions for me?"); - next; - ynMenu; - return; - } - - function mainMenu { - do - { - .@q2 = getq(ShipQuests_ChefGado); - .@q3 = getq(ShipQuests_Nard); - .@q4 = getq(General_Narrator); - - selectd - rif(.@q3 == 5 && .@q4 < 1, l("What can I do now?")), - rif(.@q3 == 3 && .@q2 == 0, l("I heard rumors about some old hostilities between you and Gado. Are they true?")), - rif(.@q2 == 2 && countitem(PoisonedDish), l("Well... No wait, I have something for you but you shouldn't eat it... I'm taking it back to the kitchen.")), - rif(.@q2 == 2 && countitem(PoisonedDish), l("I have brought you a tasty present for your delicate mouth.")), - rif(getskilllv(NV_BASIC) < 6, l("Something is wrong with me, I can't smile nor sit.")), - lg("I made a mistake, I would like to change my language."), - l("Could you explain to me where I am?"), - l("What happened to me?"), - l("Can I read these rules again?"), - l("Nothing, sorry."); - - switch (@menu) - { - case 1: gotoSleep; break; - case 2: heardRumors; break; - case 3: gotRegrets; break; - case 4: poisonJulia; break; - case 5: basicSkill; break; - case 6: chooseLang .@s$; break; - case 7: whereAmI; break; - case 8: whatHappened; break; - case 9: readRules; break; - case 10: closedialog; end; - } - } while (1); - } - - mesn; - mesq lg("Hello dear!"); - next; - mesq l("What do you want today?"); - next; - - mainMenu; - -OnTouch: - .@q = getq(ShipQuests_Julia); - if (.@q > 1) end; - - checkclientversion; - - mesn; - mesq l("Hi, nice to see you!"); - next; - mesq l("My name is Julia, it is me who took care of you after we found you in the sea."); - next; - mesq lg("I'm glad to see you're okay."); - next; - mesq lg("Could I ask you what your native language is? A sailor told me you're Russian, but another one told me you're French... I'm a bit lost. I will register you on the ship passenger list just after that."); - next; - chooseLang; - mainMenu; - end; - -OnInit: - .sex = G_FEMALE; - .distance = 10; - .quest_debug = ShipQuests_Julia; -} diff --git a/npc/000-2-0/mapflags.txt b/npc/000-2-0/mapflags.txt deleted file mode 100644 index d3a4bd222..000000000 --- a/npc/000-2-0/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -000-2-0 mapflag town diff --git a/npc/000-2-0/note.txt b/npc/000-2-0/note.txt deleted file mode 100644 index fcb28f717..000000000 --- a/npc/000-2-0/note.txt +++ /dev/null @@ -1,27 +0,0 @@ -// Evol scripts. -// Authors: -// gumi -// Qwerty Dragon -// Reid -// WildX -// Description: -// A small note presenting the 6 main rules of Evol Online. - -000-2-0,29,25,0 script Note NPC_PAPER_NOTE,{ - narrator S_LAST_NEXT, - l("There is a paper with some rules written on it."); - - GameRules 8 | 4; - - narrator S_NO_NPC_NAME, - l("Following these lines are some other writings on this paper."), - l("Do not give the password of your room to anybody! Keep it secret and try not to use the same one in any other room in the future. - Julia"), - l("Does anyone know a good place to hang out in Esperia? - M. Arpan"), - l("Other things are written but are not legible anymore."); - - close; - -OnInit: - .distance = 2; - end; -} diff --git a/npc/000-2-1/_import.txt b/npc/000-2-1/_import.txt deleted file mode 100644 index 03a56e8c9..000000000 --- a/npc/000-2-1/_import.txt +++ /dev/null @@ -1,16 +0,0 @@ -// Map 000-2-1: Second Deck -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/000-2-1/_mobs.txt", -"npc/000-2-1/_savepoints.txt", -"npc/000-2-1/_warps.txt", -"npc/000-2-1/alige.txt", -"npc/000-2-1/arpan.txt", -"npc/000-2-1/chefgado.txt", -"npc/000-2-1/chest.txt", -"npc/000-2-1/dan.txt", -"npc/000-2-1/devis.txt", -"npc/000-2-1/hammock.txt", -"npc/000-2-1/knife.txt", -"npc/000-2-1/mapflags.txt", -"npc/000-2-1/peter.txt", -"npc/000-2-1/story_save.txt", diff --git a/npc/000-2-1/_mobs.txt b/npc/000-2-1/_mobs.txt deleted file mode 100644 index e4b38bfc2..000000000 --- a/npc/000-2-1/_mobs.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 000-2-1: Second Deck mobs -000-2-1,52,32,21,9 monster Piou 1002,3,30000,20000 diff --git a/npc/000-2-1/_savepoints.txt b/npc/000-2-1/_savepoints.txt deleted file mode 100644 index 14b79c7e4..000000000 --- a/npc/000-2-1/_savepoints.txt +++ /dev/null @@ -1,38 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 000-2-1: Second Deck saves -000-2-1,40,37,0 script #save_000-2-1_40_37 NPC_SAVE_POINT,{ - savepointparticle .map$, .x, .y, NO_INN; - close; - -OnInit: - .distance = 2; - .sex = G_OTHER; - end; -} -000-2-1,46,37,0 script #save_000-2-1_46_37 NPC_SAVE_POINT,{ - savepointparticle .map$, .x, .y, NO_INN; - close; - -OnInit: - .distance = 2; - .sex = G_OTHER; - end; -} -000-2-1,50,38,0 script #save_000-2-1_50_38 NPC_SAVE_POINT,{ - savepointparticle .map$, .x, .y, NO_INN; - close; - -OnInit: - .distance = 2; - .sex = G_OTHER; - end; -} -000-2-1,55,40,0 script #save_000-2-1_55_40 NPC_SAVE_POINT,{ - savepointparticle .map$, .x, .y, NO_INN; - close; - -OnInit: - .distance = 2; - .sex = G_OTHER; - end; -} diff --git a/npc/000-2-1/_warps.txt b/npc/000-2-1/_warps.txt deleted file mode 100644 index db3a1c8e8..000000000 --- a/npc/000-2-1/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 000-2-1: Second Deck warps -000-2-1,72,30,0 warp #000-2-1_72_30 0,0,000-2-0,31,26 diff --git a/npc/000-2-1/alige.txt b/npc/000-2-1/alige.txt deleted file mode 100644 index c2ab33074..000000000 --- a/npc/000-2-1/alige.txt +++ /dev/null @@ -1,320 +0,0 @@ -// Evol scripts. -// Authors: -// Ablu -// Alige -// Qwerty Dragon -// Reid -// Vasily_Makarov -// Description: -// Hidden in a ship's hole. -// 2 bits array: -// ShipQuests -// Variable: -// ShipQuests_Alige -// Values: -// 0 Never talk. -// 1 First talk. -// 2 Accept the task. -// 3 Bring first food. - -000-2-1,43,32,0 script AligeTrigger#000-2-1 NPC_HIDDEN,1,1,{ - -OnTouch: - if (getareausers() <= 1) - { - setnpcdir "Alige#000-2-1", 2; - stopnpctimer; - initnpctimer; - } - - if (getq(ShipQuests_Alige) > 0) close; - doevent "Alige#000-2-1::OnFirstEncounter"; - - close; - -OnUnTouch: - if (getareausers() == 0) - { - setnpcdir "Alige", 4; - stopnpctimer; - initnpctimer; - } - close; - -OnTimer190: - stopnpctimer; - - if (getnpcdir("Alige") == 2) setnpcdir "Alige", 6; - if (getnpcdir("Alige") == 4) setnpcdir "Alige", 8; - - end; -} - -000-2-1,43,31,0 script Alige#000-2-1 NPC_ALIGE,{ - .@q = getq(ShipQuests_Alige); - if (.@q > 1) goto L_AskForFood; - - goto OnFirstEncounter; - -OnFirstEncounter: - setq ShipQuests_Alige, 1; - - setcamnpc; - mesn "Hidden Person"; - mesq l("Hey, psst! You're not a sailor, right?"); - next; - restorecam; - - menu - lg("I am, who are you?"), -, - lg("Indeed, I am not."), L_NeedHelp; - - mes ""; - mesn "Narrator"; - mes col(l("The stowaway doesn't answer."), 9); - - close; - -L_NeedHelp: - setcamnpc; - mes ""; - mesn "Hidden Person"; - mesq l("Good, good... Hey, could you help me please? I beg you, please, pleeeease..."); - next; - restorecam; - - menu - l("Why not, but who are you, and what kind of help do you need?"), L_CanHelp; - l("Sorry but I have no time for this."), -; - - closedialog; - close; - -L_CanHelp: - setcamnpc; - mes ""; - mesn; - mesq l("My name is Alige, I've been hiding here for weeks. All I have to eat are these berries... berries... berries..."); - next; - mesq l("I'm losing my mind here, I need something else to eat!"); - next; - mesq l("Could you please bring me something which isn't a berry, and I'm not big on vegetables either. I need proteins!"); - next; - restorecam; - - menu - l("Sure, but what will you give me in exchange?"), L_AboutReward, - l("Why don't you come out?"), -; - -L_ExplainHiding: - setcamnpc; - mes ""; - mesn; - mesq l("No, I can't. I won't! All I wanted was to travel across the seas for fun, growl... sniff. And in this hole in the floor, as you can see, I have lots of fun."); - next; - mesq l("Oh... um... actually... all I wanted was to get to Artis. Err... but I didn't, uhm... have enough money to pay for the ferry!"); - next; - mesq l("Please don't tell people you saw me. I don't want to be decapitated or get thrown into the sea as food for sharks, or get my hair mussed!"); - next; - restorecam; - - if (getq(ShipQuests_Alige) == 2) goto L_SoAskForFood; - goto L_Accept; - -L_AboutReward: - setcamnpc; - mes ""; - mesn; - mesq l("I'll share my berries with you if you help me."); - next; - restorecam; - -L_Accept: - menu - l("Understood, I will help you."), L_FirstAccepted, - l("What is Artis?"), L_Artis, - l("I think I should report you to the crew members."), -; - - setcamnpc; - mesq lg("Growl, sniff, grr! You'd better not tell anyone you saw me!"); - - close; - -L_Artis: - setcamnpc; - mes ""; - mesn; - mesq l("It's a commercial port of Andorra, it's weird that you don't know about it since it is one of the most famous cities throughout the whole world. But hey, back to me. Remember me telling you that I'm hun...grrr...eee!"); - next; - restorecam; - - if (.@q == 2) goto L_SoAskForFood; - goto L_Accept; - -L_FirstAccepted: - if (getq(ShipQuests_Alige) >= 2) goto L_Accepted; - setq ShipQuests_Alige, 2; - - goto L_Accepted; - -L_Accepted: - setcamnpc; - mes ""; - mesn; - mesq lg("Great, what food do you have for me today?"); - next; - restorecam; - -L_GiveFood: - mes ""; - menuint - rif(countitem(Acorn), l(getitemname(Acorn))), 0, - rif(countitem(Bread), l(getitemname(Bread))), 502, - rif(countitem(Fungus), l(getitemname(Fungus))), 503, - rif(countitem(Cheese), l(getitemname(Cheese))), 504, - rif(countitem(PiouLegs), l(getitemname(PiouLegs))), 505, - rif(countitem(LettuceLeaf), l(getitemname(LettuceLeaf))), 0, - rif(countitem(Piberries), l(getitemname(Piberries))), 2, - rif(countitem(SeaDrops), l(getitemname(SeaDrops))), 1, - rif(countitem(Aquada), l(getitemname(Aquada))), 509, - rif(countitem(PinkBlobime), l(getitemname(PinkBlobime))), 1, - rif(countitem(HalfCroconut), l(getitemname(HalfCroconut))), 512, - rif(countitem(Croconut), l(getitemname(Croconut))), 0, - rif(countitem(Plushroom), l(getitemname(Plushroom))), 515, - rif(countitem(PumpkinSeeds), l(getitemname(PumpkinSeeds))), 1, - rif(countitem(UrchinMeat), l(getitemname(UrchinMeat))), 1, - rif(countitem(EasterEgg), l(getitemname(EasterEgg))), 1, - rif(countitem(PumpkishJuice), l(getitemname(PumpkishJuice))), 527, - rif(countitem(Manana), l(getitemname(Manana))), 528, - rif(countitem(Curshroom), l(getitemname(Curshroom))), 529, - rif(countitem(Carrot), l(getitemname(Carrot))), 530, - rif(countitem(RedPlushWine), l(getitemname(RedPlushWine))), 3, - l("I don't have anything good for you today."), -1; - - .@id = @menuret; - if (.@id == -1) goto L_Quit; // Quit message. - if (.@id == 0) goto L_NoReward; // In case of wrong food. - if (.@id == 1) goto L_Poison; // In case of poisoned food. - if (.@id == 2) goto L_NoMore; // In case of Piberries. - if (.@id == 3) goto L_Drunk; // In case of Alcohol. - if (countitem(.@id) == 0) goto L_Quit; -// if (.@id == item's ID) then food is correct. -// Do not put any other number than -1, 0, 1, 2 or the item's ID, that'll avoid confusion. - - inventoryplace Piberries, 3; - delitem .@id, 1; - - setcamnpc; - mes ""; - mesn; - mesq l("Thank you so much! Here, have some of my berries."); - - setq ShipQuests_Alige, 3; - getitem Piberries, rand(1, 3); - next; - - goto L_ReturnMenu; - -L_NoReward: - setcamnpc; - mes ""; - mesn; - mesq l("You don't expect me to eat that, do you? Give me something else!"); - next; - restorecam; - - goto L_GiveFood; - -L_Drunk: - setcamnpc; - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("I asked for food but... *hips* Ah, that'll do!"); - restorecam; - - goto L_GiveFood; - -L_ReturnMenu: - setcamnpc; - mesq l("Do you have anything else for me?"); - next; - restorecam; - - goto L_GiveFood; - -L_NoMore: - setcamnpc; - mes ""; - mesn; - mesq l("Grr, don't give me more berries! I don't want them, stupid berries, stupid... Stupid... Stupid!"); - next; - - goto L_ReturnMenu; - -L_Poison: - setcamnpc; - mes ""; - mesn; - mesq l("Don't try to poison me! I know what that does!"); - next; - restorecam; - goto L_ReturnMenu; - -L_SoAskForFood: - setcamnpc; - mesn; - mesq l("So, do you have anything for me today?"); - next; - restorecam; - goto L_IntroMenu; - -L_AskForFood: - setcamnpc; - mesn; - mesq l("Do you have anything for me today?"); - next; - restorecam; - -L_IntroMenu: - menu - l("Yes."), L_GiveFood, - l("Where can I find some food?"), L_FindFood, - l("Why are you hiding?") + " " + l("Why don't you come out?"), L_ExplainHiding, - l("What is Artis?"), L_Artis, - l("I think I should report you to the crew members."), -; - - setcamnpc; - mesq lg("Growl, sniff, grr! You'd better not tell anyone you saw me!"); - - close; - -L_FindFood: - setcamnpc; - mes ""; - mesn; - mesq l("There are some flying yellow plushes around you. They're called pious. Getting a roasted leg of one of them would be perfect."); - next; - mesq l("I'd like to catch one of them, but they fly away when I try."); - next; - mesq l("Walking around a bit, it'll be easy for you to catch one, I bet. Impale one of them for me please."); - next; - restorecam; - mesn "Narrator"; - mes col(l("You can attack a monster by clicking on it, or from your keyboard you can press the 'A' key to select the monster followed by 'Ctrl' to attack it."), 9); - next; - mes col(l("Once the monster is dead, click on the dropped items to add them to your inventory. You can also use the 'Z' key to claim the drops."), 9); - - close; - -L_Quit: - setcamnpc; - mes ""; - mesn; - mesq l("Too bad... Come back when you'll have some nice food for me. Growl... grumble... grumble."); - - close; - -OnInit: - .sex = G_MALE; - .distance = 2; - end; -} diff --git a/npc/000-2-1/arpan.txt b/npc/000-2-1/arpan.txt deleted file mode 100644 index 353e2dc8e..000000000 --- a/npc/000-2-1/arpan.txt +++ /dev/null @@ -1,272 +0,0 @@ -// Evol scripts. -// Authors: -// Ablu -// Qwerty Dragon -// Description: -// Explains to the player how he got here. -// Variable: -// 0 ShipQuests_Arpan -// 1 ShipQuests_Julia -// Values: -// 00 Has not talked to Arpan yet. -// 01 Talked to Arpan and needs to get the clothes. -// 02 Has the clothes. -// 03 Has and equipped the clothes. -// 10 Has not talked to Julia -// 11 Need to see Julia -// 12 Has been registered by Julia - -000-2-1,49,36,0 script LeftDoorCheck#000-21 NPC_HIDDEN,0,0,{ - .@q = getq(ShipQuests_Arpan); - if (.@q == 0) doevent "Magic Arpan#000-2-1::OnTalk"; - - close; -} - -000-2-1,54,36,0 script RightDoorCheck#000-21 NPC_HIDDEN,0,0,{ - .@q = getq(ShipQuests_Arpan); - if (.@q == 0) doevent "Magic Arpan#000-2-1::OnTalk"; - - close; -} - -000-2-1,47,32,0 script LeftBarrierCheck#000-21 NPC_HIDDEN,0,2,{ - .@q = getq(ShipQuests_Arpan); - if (.@q > 2) close; - if (.@q == 2 && getequipid(equip_torso) == 1300 && getequipid(equip_legs) == 2200) goto L_EquipDone; - if (.@q == 2) goto L_Equip; - if (.@q == 1) goto L_GetCloth; - - doevent "Magic Arpan#000-2-1::OnClothNotTaken"; - -L_Equip: - warp "000-2-1", 49, 32; - doevent "Magic Arpan#000-2-1::OnEquip"; - - close; - -L_GetCloth: - warp "000-2-1", 49, 32; - doevent "Magic Arpan#000-2-1::OnClothNotTaken"; - - close; - -L_EquipDone: - setq ShipQuests_Arpan, 3; - - close; -} - -000-2-1,56,32,0 script RightBarrierCheck{::RightBC-000-2-1} NPC_HIDDEN,0,2,{ - .@q = getq(ShipQuests_Arpan); - if (.@q > 2) close; - if (.@q == 2 && getequipid(equip_torso) == 1300 && getequipid(equip_legs) == 2200) goto L_EquipDone; - if (.@q == 2) goto L_Equip; - if (.@q == 1) goto L_GetCloth; - - doevent "Magic Arpan#000-2-1::OnClothNotTaken"; - -L_Equip: - warp "000-2-1", 55, 32; - doevent "Magic Arpan#000-2-1::OnEquip"; - - close; - -L_GetCloth: - warp "000-2-1", 55, 32; - doevent "Magic Arpan#000-2-1::OnClothNotTaken"; - - close; - -L_EquipDone: - setq ShipQuests_Arpan, 3; - - close; -} - -000-2-1,49,33,0 script Magic Arpan#000-2-1 NPC_MAGIC_ARPAN,{ - .@q = getq(ShipQuests_Arpan); - .@q_nard = getq(ShipQuests_Nard); - .@q_julia = getq(ShipQuests_Julia); - if (.@q == 2 && getequipid(equip_torso) == 1300 && getequipid(equip_legs) == 2200) goto L_EquipDone; - -OnTalk: - mesn; - - if (.@q > 0) goto L_Menu; - - mesq lg("Yeye, you are really lucky to be alive. You are in good enough shape for walking, do you remember what happened?"); - next; - setq ShipQuests_Arpan, 1; - - menu - lg("I only remember I was rescued by you."), L_Story, - lg("I can't remember anything."), L_OhWell; - -OnClothNotTaken: - mesn; - mesq lg("Yeye, you still did not get your new clothes from the chest next to your bed!"); - - close; - -OnEquip: - mesn "Narrator"; - mes col(l("To open your inventory, use the F3 key or use your mouse to select it in the above menu in your client."), 9); - next; - mes col(l("When your inventory is open, you can equip an item by selecting it and clicking 'Equip'. You can do the same to remove an item by clicking on 'Unequip'."), 9); - next; - mes col(l("Items have different effects. Some will heal you, some can be used as weapons or armor, and some can be sold for gold."), 9); - - close; - -L_OhWell: - mes ""; - mesq lg("Oh well, we rescued you when you were yaying adrift in the sea."); - next; - - select - l("And then what happened?"); - -L_Story: - mes ""; - mesq lg("You were yaying sleeping for quite some time there. Our shipkeeper, Julia, was here with you, and she did her best to heal your injuries."); - next; - if (.@q_julia == 0) setq ShipQuests_Julia, 1; - mesq lg("Yaya, you should go see her! She'll be happy to see you."); - next; - mesq lg("Also, we took your yayed clothes, as they were... Yeyeye... In a bad shape. Go check the chest near your bed, there are some other ones inside."); - setcamnpc "Chest"; - - close; - -L_Menu: - mesq l("What yeye could I do for you today?"); - next; - .@equipped = getequipid(equip_torso) == 1300 && getequipid(equip_legs) == 2200; - - menu - rif(.@q_nard == 5 && getq(General_Narrator) < 1, l("What can I do now?")), L_GotoSleep, - lg("Could you tell me where I am?"), L_Where, - lg("Where can I find Julia?"), L_Julia, - l("Who are you?"), L_Who, - rif(getq(ShipQuests_ArpanMoney) == 1, lg("Do you know what happened to the gold I had when you guys saved me?")), L_WhereMoney, - rif(getq(ShipQuests_ArpanMoney) < 2, l("Where are my old clothes?")), L_WhereOldClothes, - rif(!.@equipped, lg("What should I do after taking these clothes?")), L_WhatCloth, - rif(!.@equipped, l("Thank you, I'll take them and put them on.")), -, - l("Nothing, sorry."), -; - - closedialog; - close; - -L_Where: - mes ""; - mesn; - mesq lg("You're on our ship, we made port to a little island and we're actually yeyending our long merchant traveling adventure at the city of Artis."); - next; - mesq l("We will be yaying there in a few days, so we will drop you off there."); - next; - mesq l("You will see, citizens are polite and you can still ask for help in the Legion of Aemil. They can help find a job for you or maybe help you find out what happened to you out at sea!"); - next; - - goto L_Menu; - -L_Julia: - mes ""; - mesn; - mesq lg("She's on the upper level, yeye can't miss her. She's the only girl in this crew, oh well, except for you now yeyeye!", "She's on the upper level, yeye can't miss her. She's the only girl in this crew."); - next; - - mesn "Narrator"; - mes col(l("Julia is on the upper level of the ship, use the arrow keys to walk to the stairs or click on the stairs at the top right of your screen."), 9); - next; - - goto L_Menu; - -L_Who: - mes ""; - mesn; - mesq l("Sorry! I forgot to introduce myself. My name is Arpan, but other sailors call me Magic Arpan because I know one or two yaing magic spells."); - next; - - goto L_Menu; - -L_WhereOldClothes: - mes ""; - mesn; - mesq lg("We tried to clean them but the sea water mostly destroyed them. It's why we gave you these clothes. They're not very nice, but that's all that we have for you."); - next; - mes lg("Oh, now that I remember, we also found some money in your pockets, here it is!"); - next; - - setq ShipQuests_ArpanMoney, 2; - .@q = getq(ShipQuests_Arpan); - Zeny = Zeny + 10; - message strcharinfo(0), l("You receive @@ E!", 10); - - goto L_BeforeMenu; - -L_WhereMoney: - mes ""; - mesn; - mesq l("Oh right, I totally forgot about that, here you go."); - next; - - setq ShipQuests_ArpanMoney, 2; - .@q = getq(ShipQuests_Arpan); - Zeny = Zeny + 10; - message strcharinfo(0), l("You receive @@ E!", 10); - - goto L_BeforeMenu; - -L_WhatCloth: - mes ""; - mesn; - mesq lg("Oh yeyeye... As they are not edible, you can maybe try to equip them?"); - next; - - mesn "Narrator"; - mes col(l("To open your inventory, use the F3 key or use your mouse to select it in the above menu in your client."), 9); - next; - mes col(l("When your inventory is open, you can equip an item by selecting it and clicking 'Equip'. You can do the same to unequip an item by clicking on 'Unequip'."), 9); - next; - mes col(l("Items have different effects. Some will heal you, some can be used as weapons or armor, and some can be sold for gold."), 9); - next; - -L_BeforeMenu: - mesn; - goto L_Menu; - -L_EquipDone: - setq ShipQuests_Arpan, 3; - goto L_Menu; - -L_GotoSleep: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("You already did enough for us, do you want to follow Nard's advice and get some rest?"); - - switch (select(l("Yes."), l("No."))) - { - case 1: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Fine."), - l("We are at half a day from our final destination, by the time that you wake up I'm sure that we will be there!"); - - closedialog; - doevent "#name3::OnClick"; - close; - - break; - case 2: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Alright, take your time we are not in a hurry."); - - break; - } - - goto L_Menu; - -OnInit: - .sex = G_MALE; - .distance = 5; - end; -} diff --git a/npc/000-2-1/chefgado.txt b/npc/000-2-1/chefgado.txt deleted file mode 100644 index 1aa4c8be1..000000000 --- a/npc/000-2-1/chefgado.txt +++ /dev/null @@ -1,213 +0,0 @@ -// Evol scripts. -// Authors: -// Hal9000 -// Qwerty Dragon -// Description: -// La Johanne Chef. -// Variable: -// ShipQuests_ChefGado -// ShipQuests_Nard -// Values: -// 0 Default, no quest given. -// 1 Quest accepted. -// 2 Ingredients collected, ready to poison Julia. -// 3 Julia poisoned. -// 4 Quest complete. Chef Gago wins. -// 5 Quest complete. Julia wins (poison dish returned). -// 6 Quest complete. Julia wins. - -000-2-1,27,28,0 script Chef Gado#Org NPC_CHEF_GADO,{ - .@q = getq(ShipQuests_ChefGado); - .@n = getq(ShipQuests_Nard); - if (.@q == 1) goto L_QuestAccepted; - if (.@q == 2) goto L_PoisonAccepted; - if (.@q == 3) goto L_PoisonJulia; - if (.@q == 4) goto L_QuestComplete; - if (.@q == 5 && countitem(PoisonedDish) > 0) goto L_Aborting; - if (.@q > 4) goto L_QuestAborted; - if (.@n == 3) goto L_QuestStart; - - mesn; - .@r = rand(3); - if (.@r == 0) mesq l("What are you doing in my kitchen?! Get out, it's not a place for kids!"); - if (.@r == 1) mesq l("Where is the damn salt?! Give me the salt, I know you have it!"); - if (.@r == 2) mesq l("Are you going to stand here all day long? Do the dishes or go away."); - - close; - -L_QuestStart: - mesn; - mesq l("So it seems I have another stomach to fill. Those bastards have no respect for who feeds them every damn day!"); - next; - - menu - l("How rude! What is the reason behind your malice?"), L_Rude, - l("I swear, I do not eat so much."), -; - - mes ""; - mesn; - mesq l("Yeah, yeah, of course you don't..."); - - close; - -L_Rude: - mes ""; - mesn; - mesq l("UAHAHAHAAH! I am the cook of that bunch of donkeys, and I can be rude with everyone from this bossy captain to that harpy-lady!"); - next; - - select - l("Harpy-lady?"); - - mes ""; - mesn; - mesq l("I am sure you know her. Nice dress, large smile and a constant flux of orders and rules. Julia they call her!"); - next; - mesq l("You have to know that there was a time during which I was the unopposed lieutenant of this crew. Then one day one of those damn sailors brought that 'nice' lady here."); - next; - mesq l("I will not tell you all the details, but after a month, she was ruling the ship and I was sent down here, cooking for those traitors!"); - next; - mesq l("But I swear that one day... Oh... My tasty revenge! Hhm, actually I wonder if... Maybe..."); - next; - - select - l("M... Maybe?"); - - mes ""; - mesn; - mesq lg("Well, eh-heh... Welcome aboard, cutie!", "Well, eh-heh... Welcome aboard, son!"); - next; - mesq l("I just realized I am lacking some common things, and one key ingredient, to prepare a... A special recipe."); - next; - mesq l("I only need 2 @@, 2 @@s, 1 @@...", getitemlink(PiouLegs), getitemlink(HalfCroconut), getitemlink(Aquada)); - next; - mesq l("... and 1 @@.", getitemlink(SeaDrops)); - next; - - menu - l("Sea water?! I will not help you with your evil plan!"), L_Quit, - l("Sure, why not?"), -; - - setq ShipQuests_ChefGado, 1; - mes ""; - mesn; - mesq lg("Well done! Collect all the ingredients and then come back here. You will be rewarded once I am satisfied that they understand who rules this ship!"); - next; - mesq l("Before you go, let me tell you how to get @@s, because you don't look very smart.", getitemlink(HalfCroconut)); - - goto L_OpenCroconut; - -L_QuestAccepted: - mesn; - mesq l("Have you collected all the ingredients for my recipe? The special one too?"); - next; - - menu - rif(countitem(PiouLegs) > 1 && countitem(HalfCroconut) > 1 && countitem(Aquada) > 0 && countitem(SeaDrops) > 0, l("All your... Fresh ingredients are ready to be cooked.")), L_GotAll, - l("What are your needs?"), L_Need, - l("Where can I find a half croconut?"), L_OpenCroconut, - l("Not yet. I will be back soon."), L_Quit; - -L_OpenCroconut: - mes ""; - mesn; - mesq lg("Take a @@ and try opening it using something like a sharp knife. I doubt you'll succeed, you're being so weak in everything.", - "Take a @@ and try opening it using something like a sharp knife. I doubt you'll succeed, you're being so weak in everything.", getitemlink(Croconut)); - next; - mesq l("Now move!"); - - close; - -L_GotAll: - mes ""; - - inventoryplace PoisonedDish, 1; - - delitem PiouLegs, 2; - delitem HalfCroconut, 1; - delitem Aquada, 1; - delitem SeaDrops, 1; - - mesn; - mesq l("Let me see... Crispy legs, disgusting liquids... Let's start!"); - next; - mesq l("Water, salt, spicy herbs and meat stuffed with my special surprise!"); - next; - mesq l("Done. Here, take it! Now, here is the plan. Go talk to her and offer our beautiful lady a bite of her arrogance!"); - - setq ShipQuests_ChefGado, 2; - getitem PoisonedDish, 1; - close; - -L_Need: - mes ""; - mesn; - mesq l("Shhht, don't say it that loud..."); - next; - mesq l("I only need 2 @@, 2 @@s, 1 @@...", getitemlink(PiouLegs), getitemlink(HalfCroconut), getitemlink(Aquada)); - next; - mesq l("... and 1 @@.", getitemlink(SeaDrops)); - - close; - -L_PoisonAccepted: - mesn; - mesq l("Fool! Just come back here when you'll be done with our little... 'Secret mission'."); - - close; - -L_PoisonJulia: - mesn; - mesq l("The usurper has been punished! This is a great day! Take this reward as a prize for your loyalty to the old commander!"); - - setq ShipQuests_ChefGado, 4; - Zeny = Zeny + 200; - message strcharinfo(0), l("You receive @@ E!", 200); - inventoryplace Bread, 1; - getitem Bread, 1; - getexp 15, 0; - - close; - -L_QuestComplete: - mesn; - mesq l("Oh, it's you. I think it's better we do not talk for a while. They suspect something."); - - close; - -L_Aborting: - mesn; - mesq l("Wait, why do you still have the dish with you?!"); - next; - - select - l("I informed Julia about your monstrous plan."); - - mes ""; - mesn; - mesq l("Are you mad?!"); - next; - mesq lg("Give me back this dish, you dirty liar!"); - - if (countitem(PoisonedDish) > 0) delitem PoisonedDish, 1; - - next; - mesq l("You're like the rest of this filthy crew, I can't trust you!"); - - close; - -L_QuestAborted: - mesn; - mesq lg("You're like the rest of this filthy crew. Your name is now on the traitors list!"); - - close; - -L_Quit: - closedialog; - close; - -OnInit: - .sex = G_MALE; - .distance = 2; - end; -} 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; -} diff --git a/npc/000-2-1/dan.txt b/npc/000-2-1/dan.txt deleted file mode 100644 index 8c6cc4797..000000000 --- a/npc/000-2-1/dan.txt +++ /dev/null @@ -1,94 +0,0 @@ -// Evol scripts. -// Authors: -// Qwerty Dragon -// Reid -// Description: -// There are two kinds of dialogues in this script. -// Dan will randomly choose between a useless sentence, and a quest in Artis. - -000-2-1,32,31,0 script Dan#000-2-1 NPC_DEMON_MAN,{ - if (getq(General_Narrator) > 0) - { - sailortalk; - close; - } - - mesn; - .@q = rand(3); - if (.@q == 0) goto L_QuestStory; - - mesq l("You see these pious around us?"); - next; - mesq l("It seems that we are close to an island, we should take a look at the upper level."); - - close; - -L_QuestStory: - mesq l("It's so hard to find the motivation..."); - next; - - menu - l("Why?"), -, - l("I guess so... I will leave you alone."), L_Quit; - - mes ""; - mesn; - mesq l("Oh, it's you."); - next; - mesq lg("So, you finally woke up? We all thought you were in something like... You know, one of these long comas."); - next; - - menu - l("I'm still in a coma, but my ghost is haunting you!"), L_Quit, - l("It was something like a long nap."), -; - - mes ""; - mesn; - mesq l("It's good, good... I have a friend who is still in a coma, but I can't be with her without working..."); - next; - mesq l("The fear to see her sleeping on this quiet and lonely bed is becoming more and more unbearable, I think that I won't get the bravery to see her this time..."); - next; - - menu - l("Who is she?"), L_She, - l("Do you want me to go see her instead of you?"), L_Quest; - l("I don't know what to say..."), -; - - mes ""; - mesn; - mesq lg("There's nothing to say, don't worry miss.", "There's nothing to say, don't worry sir."); - - close; - -L_She: - mes ""; - mesn; - mesq l("She is a good friend of mine... We wanted to marry a few weeks before her accident but..."); - next; - - goto L_Quit2; - -L_Quest: - mes ""; - mesn; - mesq l("I don't think that we are in a good place to talk about this..."); - next; - -L_Quit: - mes ""; - mesn "Narrator"; - mes col(l("Dan keeps silent since your last question."), 9); - - close; - -L_Quit2: - mesn "Narrator"; - mes col(l("Dan ends the conversation and resumes to write his letter."), 9); - - close; - -OnInit: - .sex = G_MALE; - .distance = 2; - end; -} diff --git a/npc/000-2-1/devis.txt b/npc/000-2-1/devis.txt deleted file mode 100644 index d3d6b566e..000000000 --- a/npc/000-2-1/devis.txt +++ /dev/null @@ -1,17 +0,0 @@ -// Evol scripts. -// Authors: -// Alige -// Reid -// Vasily_Makarov -// Description: -// Sleeping and grumbling NPC. - -000-2-1,32,38,0 script Devis#000-2-1 NPC_HAMMOC,{ - asleep; - close; - -OnInit: - .sex = G_MALE; - .distance = 2; - end; -} diff --git a/npc/000-2-1/hammock.txt b/npc/000-2-1/hammock.txt deleted file mode 100644 index 94df3b60e..000000000 --- a/npc/000-2-1/hammock.txt +++ /dev/null @@ -1,125 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Animated hammock at the mid level of the ship. - -000-2-1,32,27,0 script #hammock1-Org NPC_LEFT_HAMMOCK,1,0,{ - -OnTouch: - hamTouchLeft; - -OnUnTouch: - hamUnTouch; - -OnTimer5440: - hamTimerLeft; -} - -000-2-1,32,25,0 script #hammock2-Org NPC_LEFT_HAMMOCK,1,0,{ - -OnTouch: - hamTouchLeft; - -OnUnTouch: - hamUnTouch; - -OnTimer5440: - hamTimerLeft; -} - -000-2-1,37,25,0 script #hammock3-Org NPC_RIGHT_HAMMOCK,1,0,{ - -OnTouch: - hamTouchLeft; - -OnUnTouch: - hamUnTouch; - -OnTimer5440: - hamTimerLeft; -} - -000-2-1,37,27,0 script #hammock4-Org NPC_RIGHT_HAMMOCK,1,0,{ - -OnTouch: - hamTouchLeft; - -OnUnTouch: - hamUnTouch; - -OnTimer5440: - hamTimerLeft; -} - -000-2-1,37,29,0 script #hammock5-Org NPC_RIGHT_HAMMOCK,1,0,{ - -OnTouch: - hamTouchLeft; - -OnUnTouch: - hamUnTouch; - -OnTimer5440: - hamTimerLeft; -} - -000-2-1,37,34,0 script #hammock6-Org NPC_RIGHT_HAMMOCK,1,0,{ - -OnTouch: - hamTouchLeft; - -OnUnTouch: - hamUnTouch; - -OnTimer5440: - hamTimerLeft; -} - -000-2-1,37,36,0 script #hammock7-Org NPC_RIGHT_HAMMOCK,1,0,{ - -OnTouch: - hamTouchLeft; - -OnUnTouch: - hamUnTouch; - -OnTimer5440: - hamTimerLeft; -} - -000-2-1,37,38,0 script #hammock8-Org NPC_RIGHT_HAMMOCK,1,0,{ - -OnTouch: - hamTouchLeft; - -OnUnTouch: - hamUnTouch; - -OnTimer5440: - hamTimerLeft; -} - -000-2-1,32,40,0 script #hammock9-Org NPC_LEFT_HAMMOCK,1,0,{ - -OnTouch: - hamTouchLeft; - -OnUnTouch: - hamUnTouch; - -OnTimer5440: - hamTimerLeft; -} - -000-2-1,37,40,0 script #hammock10-Org NPC_RIGHT_HAMMOCK,1,0,{ - -OnTouch: - hamTouchLeft; - -OnUnTouch: - hamUnTouch; - -OnTimer5440: - hamTimerLeft; -} diff --git a/npc/000-2-1/knife.txt b/npc/000-2-1/knife.txt deleted file mode 100644 index d531a8111..000000000 --- a/npc/000-2-1/knife.txt +++ /dev/null @@ -1,48 +0,0 @@ -// Evol scripts. -// Authors: -// Ablu -// Saulc -// Qwerty Dragon -// Description: -// Knife on the table. -// Variable: -// ShipQuests_Knife -// Values: -// 0 Default, not taken. -// 1 Knife taken. - -000-2-1,50,24,0 script #knife-Org NPC_KNIVES,{ - .@q = getq(ShipQuests_Knife); - if (.@q) close; - - mesn "Narrator"; - mes col(l("There are some old rusty knives on the table. Would you like to take one?"), 9); - next; - - menu - l("Yeah !."), L_Give, - l("Na."), -; - - closedialog; - close; - -L_Give: - mes ""; - inventoryplace RustyKnife, 1; - - setq ShipQuests_Knife, 1; - getitem RustyKnife, 1; - - mesn "Narrator"; - mes col(l("To open your inventory, use the F3 key or use your mouse to select it in the above menu in your client."), 9); - next; - mes col(l("When your inventory is open, you can equip an item by selecting it and clicking 'Equip'. You can do the same to unequip an item by clicking on 'Unequip'."), 9); - next; - mes col(l("Items have different effects. Some will heal you, some can be used as weapons or armor, and some can be sold for gold."), 9); - - close; - -OnInit: - .distance = 2; - end; -} diff --git a/npc/000-2-1/mapflags.txt b/npc/000-2-1/mapflags.txt deleted file mode 100644 index 1543b585c..000000000 --- a/npc/000-2-1/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -000-2-1 mapflag town diff --git a/npc/000-2-1/peter.txt b/npc/000-2-1/peter.txt deleted file mode 100644 index 75f8e630a..000000000 --- a/npc/000-2-1/peter.txt +++ /dev/null @@ -1,339 +0,0 @@ -// Evol scripts. -// Authors: -// 4144 -// Ablu -// Alastrim -// Qwerty Dragon -// Reid -// Vasily_Makarov -// Description: -// Rat hunter. -// 4+2 bits array: -// ShipQuests -// Variable: -// ShipQuests_Peter -// Values: -// 0 Doesn't know the quest. -// 1 Task given. -// 2 Task given and reward expected. -// 3 Task completed without reward. -// 4 Asked for reward after completion of the task. -// 5 Task done and reward given. -// 6 Did not start the quest. -// Others: -// .@peter = Peter variable. -// "000-2-2" - map with mobs. -// "$@RAT_SAILOR_HELPER$" - Name of the participant. -// "$@RAT_SAILOR_DEATHS - Number of deaths when the participant starts the fight. -// "$@RAT_SAILOR_CONTROL" - Explanation of each index of the array. -// "$@RAT_SAILOR_OLD_HELPER$" - Name of the participant. -// "$@RAT_SAILOR_COUNTDOWN" - Seconds since the epoch of when the player done the quest. -// [1] = Shows status of ratto number 1 (1 is dead and 0 is alive). -// [2] = Shows status of ratto number 2 (1 is dead and 0 is alive). -// [3] = Shows status of ratto number 3 (1 is dead and 0 is alive). -// [4] = Shows status of ratto number 4 (1 is dead and 0 is alive). -// [5] = Shows how many seconds passed since ratto number 1 died. -// [6] = Shows how many seconds passed since ratto number 2 died. -// [7] = Shows how many seconds passed since ratto number 3 died. -// [8] = Shows how many seconds passed since ratto number 4 died. -// [9] = Shows how many seconds passed since the player started the quest. -// [10] = Shows how many seconds passed since the player done the quest. - -000-2-1,72,34,0 script AreaNPC#000-2-1 NPC_HIDDEN,0,1,{ - -OnTouch: - if (BaseLevel < 5) goto L_Stop; - if ($@RAT_SAILOR_COUNTDOWN == 0) goto L_NoCountDown; - if ((gettimetick(2) - $@RAT_SAILOR_COUNTDOWN) < 10) goto L_NoGoodTick; - if (($@RAT_SAILOR_OLD_HELPER$ == strcharinfo(0)) && ((gettimetick(2) - $@RAT_SAILOR_COUNTDOWN) < 60)) goto L_NoGoodTick; - $@RAT_SAILOR_COUNTDOWN = 0; - -L_NoCountDown: - if ($@RAT_SAILOR_HELPER$ != "") goto L_Occupied; - .@peter = getq(ShipQuests_Peter); - if (.@peter < 1 || .@peter > 5) goto L_Task; - if (.@peter == 1 || .@peter == 2) goto L_Rfail; - if (.@peter == 3 || .@peter == 4) goto L_Rwin; - if (.@peter > 5) goto L_SecondTime; - doevent "Peter#000-2-1::OnReturnWin"; - close; - -L_Stop: - doevent "Peter#000-2-1::OnStop"; - - close; - -L_Occupied: - doevent "Peter#000-2-1::OnDontneedHelp"; - - close; - -L_Task: - doevent "Peter#000-2-1::OnGiveTask"; - - close; - -L_Rfail: - doevent "Peter#000-2-1::OnReturnFail"; - - close; - -L_Rwin: - doevent "Peter#000-2-1::OnReturnWin"; - - close; - -L_NoGoodTick: - doevent "Peter#000-2-1::OnNoGoodTick"; - - close; -} - -000-2-1,70,35,0 script Peter#000-2-1 NPC_RATTO_SAILOR,{ - if (BaseLevel < 5) goto OnTooWeak; - if ($@RAT_SAILOR_COUNTDOWN == 0) goto L_NoCountDown; - if ((gettimetick(2) - $@RAT_SAILOR_COUNTDOWN) < 10) goto OnNoGoodTick; - if (($@RAT_SAILOR_OLD_HELPER$ == strcharinfo(0)) && ((gettimetick(2) - $@RAT_SAILOR_COUNTDOWN) < 60)) goto OnNoGoodTick; - $@RAT_SAILOR_COUNTDOWN = 0; - -L_NoCountDown: - .@peter = getq(ShipQuests_Peter); - if (.@peter == 1 || .@peter == 2) goto OnReturnFail; - if (.@peter == 3 || .@peter == 4 || .@peter == 5) goto OnReturnWin; - -OnGiveTask: - setq ShipQuests_Peter, 6; - .@peter = getq(ShipQuests_Peter); - mesn; - mesq lg("Hey, girl!", "Hey, man!"); - next; - mesq l("I need somebody who can rid the hold of the ship of these rattos. Can you help me?"); - next; - - menu - l("Yeah, but what reward will I get?"), L_BonusTask, - l("Why not, I need to train anyway."), L_Task, - l("No, they are way too dangerous for me!"), -; - - mes ""; - mesn; - mesq l("Hehe, hehe. Well, come back if you change your mind."); - - goto L_Quit; - -OnTooWeak: - mesn; - mesq lg("I need someone to help me clean the edge of the ship, but you aren't strong enough for now."); - - goto L_Quit; - -OnStop: - warp "000-2-1", 72, 36; - - mesn; - mesq l("You can't go there!"); - - close; - -OnReturnFail: - mesn; - mesq l("I see it's not so easy to get rid of these rattos. Do you want to try again?"); - next; - - menu - l("Yeah, but I would like to make sure I get a reward."), L_BonusTask, - l("Why not, I need to train anyway."), L_Task, - l("No, they are way too dangerous for me!"), -; - - mes ""; - mesn; - mesq l("Hehe, hehe. Well, come back if you change your mind."); - - goto L_Quit; - -OnReturnWin: - .@peter = getq(ShipQuests_Peter); - mesn; - mesq l("Thanks again for helping me. Drats these rattos for infesting our fair vessal!"); - next; - mesq l("They are a permanent problem so I will always need your help to exterminate them in order to keep their number under control."); - next; - mesq l("Your help is very welcome indeed. Unfortunately, I can give you a reward for the first extermination only."); - next; - - if (.@peter == 3 || .@peter == 4) - menu - l("Did you say reward? I want it!"), L_BonusTask, - l("I am not worried about rewards. I just want to help."), L_Task, - l("Sorry, I am not in the mood for another fight with these rattos."), -; - - if (.@peter == 5) - menu - l("No problem, I can help you anyway."), L_Task, - l("Sorry, I am not in the mood for another fight with these rattos."), -; - - mes ""; - mesn; - mesq l("Hehe, hehe. Well, come back if you change your mind."); - - close; - -L_BonusTask: - mes ""; - mesn; - mesq l("What if I give you 1000 Esperin for that job, is it ok?"); - next; - - menu - lg("Okay, I'm ready to work!"), -, - l("What? This reward is too small!"), L_Quit; - - .@peter = getq(ShipQuests_Peter); - if ($@RAT_SAILOR_HELPER$ != "") goto OnDontneedHelp; - if (.@peter == 6) setq ShipQuests_Peter, 2; - if (.@peter == 3) setq ShipQuests_Peter, 4; - .@peter = getq(ShipQuests_Peter); - goto L_Start; - -L_Task: - .@peter = getq(ShipQuests_Peter); - if ($@RAT_SAILOR_HELPER$ != "") goto OnDontneedHelp; - if (.@peter == 6) setq ShipQuests_Peter, 1; - .@peter = getq(ShipQuests_Peter); - -L_Start: - mes ""; - mesn; - mesq l("Okay, you can start!"); - -OnStartOutside: - if ($@RAT_SAILOR_HELPER$ != "") goto OnDontneedHelp; - $@RAT_SAILOR_HELPER$ = strcharinfo(0); - $@RAT_SAILOR_DEATHS = PC_DIE_COUNTER; - initnpctimer; - warp "000-2-2", 48, 28; - doevent "RattosControl#000-2-2::OnSpawn"; - - goto L_Quit; - -OnTimer2000: - if (attachrid(getcharid(3, $@RAT_SAILOR_HELPER$)) == 0) goto L_Logoff; - $@RAT_SAILOR_CONTROL[9] = $@RAT_SAILOR_CONTROL[9] + 2; - if ($@RAT_SAILOR_CONTROL[9] > 100) goto L_Timeout; - if (PC_DIE_COUNTER > $@RAT_SAILOR_DEATHS) goto L_Dead; - if ($@RAT_SAILOR_CONTROL[1] && $@RAT_SAILOR_CONTROL[2] && $@RAT_SAILOR_CONTROL[3] && $@RAT_SAILOR_CONTROL[4]) goto L_Done; - if (getmapusers("000-2-2") == 0) goto L_CleaningEnd; - goto L_CheckRattos; - - end; - -L_CheckRattos: - if ($@RAT_SAILOR_CONTROL[1]) $@RAT_SAILOR_CONTROL[5] = $@RAT_SAILOR_CONTROL[5] + 2; - if ($@RAT_SAILOR_CONTROL[2]) $@RAT_SAILOR_CONTROL[6] = $@RAT_SAILOR_CONTROL[6] + 2; - if ($@RAT_SAILOR_CONTROL[3]) $@RAT_SAILOR_CONTROL[7] = $@RAT_SAILOR_CONTROL[7] + 2; - if ($@RAT_SAILOR_CONTROL[4]) $@RAT_SAILOR_CONTROL[8] = $@RAT_SAILOR_CONTROL[8] + 2; - if ($@RAT_SAILOR_CONTROL[5] > 45) doevent "RattosControl#000-2-2::OnRatto1Respawn"; - if ($@RAT_SAILOR_CONTROL[6] > 45) doevent "RattosControl#000-2-2::OnRatto2Respawn"; - if ($@RAT_SAILOR_CONTROL[7] > 45) doevent "RattosControl#000-2-2::OnRatto3Respawn"; - if ($@RAT_SAILOR_CONTROL[8] > 45) doevent "RattosControl#000-2-2::OnRatto4Respawn"; - -L_NotYet: - setnpctimer 0; - - end; - -OnDontneedHelp: - mesn; - mesq l("I don't need your help right now, come back later."); - next; - mesq l("@@ is helping me.", $@RAT_SAILOR_HELPER$); - - goto L_Quit; - -L_Timeout: - mesn; - mesq l("Hey! Be careful. You can't stay in this basement for so long, you're going to get sick. Come outside and take a break, maybe you can try again later."); - warp "000-2-1", 72, 36; - - goto L_CleaningClose; - -L_Logoff: - goto L_CleaningEnd; - -L_Dead: -// Warps the dead body outside, so it does not interfere with the getmapusers check. - if (getmapusers("000-2-2") > 0) warp "000-2-1", 72, 36; - - goto L_CleaningEnd; - -L_Done: - $@RAT_SAILOR_CONTROL[10] = $@RAT_SAILOR_CONTROL[10] + 2; - if($@RAT_SAILOR_CONTROL[10] < 5) goto L_NotYet; - .@peter = getq(ShipQuests_Peter); - if (.@peter == 2 || .@peter == 4) goto L_Reward; - warp "000-2-1", 72, 36; - - goto L_Thanks; - -L_CleaningEnd: - stopnpctimer; - $@RAT_SAILOR_HELPER$ = ""; - $@RAT_SAILOR_DEATHS = 0; - cleararray $@RAT_SAILOR_CONTROL, 0, 11; - killmonster "000-2-2", "RattosControl#000-2-2::OnRatto1Death"; - killmonster "000-2-2", "RattosControl#000-2-2::OnRatto2Death"; - killmonster "000-2-2", "RattosControl#000-2-2::OnRatto3Death"; - killmonster "000-2-2", "RattosControl#000-2-2::OnRatto4Death"; - - end; - -L_CleaningClose: - stopnpctimer; - $@RAT_SAILOR_OLD_HELPER$ = $@RAT_SAILOR_HELPER$; - $@RAT_SAILOR_HELPER$ = ""; - $@RAT_SAILOR_DEATHS = 0; - cleararray $@RAT_SAILOR_CONTROL, 0, 11; - killmonster "000-2-2", "RattosControl#000-2-2::OnRatto1Death"; - killmonster "000-2-2", "RattosControl#000-2-2::OnRatto2Death"; - killmonster "000-2-2", "RattosControl#000-2-2::OnRatto3Death"; - killmonster "000-2-2", "RattosControl#000-2-2::OnRatto4Death"; - $@RAT_SAILOR_COUNTDOWN = gettimetick(2); - - close; - -L_Reward: - warp "000-2-1", 72, 36; - setq ShipQuests_Peter, 5; - .@peter = getq(ShipQuests_Peter); - mesn; - mesq l("Good job!") + " " + l("Here's your reward!"); - getexp 100, 0; - Zeny = Zeny + 1000; - message strcharinfo(0), l("You receive @@ E!", 1000); - - goto L_CleaningClose; - -L_Thanks: - mesn; - mesq l("Thanks for helping me!"); - .@peter = getq(ShipQuests_Peter); - if (.@peter == 1) setq ShipQuests_Peter, 3; - .@peter = getq(ShipQuests_Peter); - - goto L_CleaningClose; - -L_Quit: - .@peter = 0; - - close; - -OnNoGoodTick: - mesn; - mesq l("I don't need your help right now, come back later."); - close; - -OnInit: - .sex = G_MALE; - .distance = 3; - end; -} diff --git a/npc/000-2-1/story_save.txt b/npc/000-2-1/story_save.txt deleted file mode 100644 index 5901795a8..000000000 --- a/npc/000-2-1/story_save.txt +++ /dev/null @@ -1,30 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Scritpted save locations in 000-2-1 map. - -000-2-1,50,38,0 script #name3-Org NPC_FINAL_POINT,{ - .@q_nard = getq(ShipQuests_Nard); - .@q_narr = getq(General_Narrator); - - if(.@q_nard == 5 && .@q_narr < 1) - { -OnClick: - narrator S_LAST_NEXT, - l("You lie in the bed."), - l("Your head is suddently heavy, your eyes are closing..."), - lg("You fell asleep."); - - warp "000-0-1", 26, 28; - } - else - { - savepointparticle "000-2-1", 50, 38; - } - close; - -OnInit: - .distance = 2; - end; -} diff --git a/npc/000-2-2/_import.txt b/npc/000-2-2/_import.txt deleted file mode 100644 index 81d32fdfb..000000000 --- a/npc/000-2-2/_import.txt +++ /dev/null @@ -1,5 +0,0 @@ -// Map 000-2-2: Hold -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/000-2-2/doors.txt", -"npc/000-2-2/mapflags.txt", -"npc/000-2-2/ratto.txt", diff --git a/npc/000-2-2/doors.txt b/npc/000-2-2/doors.txt deleted file mode 100644 index 6c50db882..000000000 --- a/npc/000-2-2/doors.txt +++ /dev/null @@ -1,69 +0,0 @@ -// Evol scripts. -// Authors: -// Ablu -// Alastrim -// Reid -// Description: -// Doors NPCs. - -000-2-2,48,29,0 script DoorUpwards#000-2-2 NPC_HIDDEN,0,0,{ - -OnTouch: - if (mobcount("000-2-2","all") > 0) goto L_Warn; - - goto L_Warp; - -L_Warn: - .@q = getq(ShipQuests_Peter); - if (.@q == 5) goto L_Warp; - - mesn "Narrator"; - mes col(l("There are still some rattos left! Do you want to abort the quest?"), 9); - next; - - menu - l("Yes."), L_Warp, - l("No."), -; - - warp "000-2-2", 48, 28; - closedialog; - close; - -L_Warp: - warp "000-2-1", 72, 36; - closedialog; - close; -} - -000-2-2,24,31,0 script LeftDoor#000-2-2 NPC_HIDDEN,0,0,{ - -OnTouch: - mesn "Narrator"; - mes col(l("It seems that you need a key to open this door."), 9); - next; - mes col(l("What do you want to do?"), 9); - next; - - menu - rif(countitem(718) > 0, l("Use the key.")), L_Warp, - l("Break the door."), L_Break, - l("Go away."), -; - - closedialog; - close; - -L_Break: - - mes ""; - mesn "Narrator"; - mes col(l("You hear a loud scream. It must be the creaking of the wooden door..."), 9); - - close; - -L_Warp: - mes ""; - mesn "Narrator"; - mes col(l("Wait, it seems someone is blocking the door from the other side!"), 9); - - close; -} diff --git a/npc/000-2-2/mapflags.txt b/npc/000-2-2/mapflags.txt deleted file mode 100644 index 5202b3321..000000000 --- a/npc/000-2-2/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -000-2-2 mapflag nosave 000-2-1,50,38 diff --git a/npc/000-2-2/ratto.txt b/npc/000-2-2/ratto.txt deleted file mode 100644 index 5a6099716..000000000 --- a/npc/000-2-2/ratto.txt +++ /dev/null @@ -1,68 +0,0 @@ -// Evol scripts. -// Authors: -// Ablu -// Alastrim -// Reid -// Description: -// Ratto killer. - -// $@RAT_SAILOR_CONTROL array explanation: -// [1] = Shows status of ratto number 1 (1 is dead and 0 is alive). -// [2] = Shows status of ratto number 2 (1 is dead and 0 is alive). -// [3] = Shows status of ratto number 3 (1 is dead and 0 is alive). -// [4] = Shows status of ratto number 4 (1 is dead and 0 is alive). -// [5] = Shows how many seconds passed since ratto number 1 died. -// [6] = Shows how many seconds passed since ratto number 2 died. -// [7] = Shows how many seconds passed since ratto number 3 died. -// [8] = Shows how many seconds passed since ratto number 4 died. -// [9] = Shows how many seconds passed since the player started the quest. - -000-2-2,47,30,0 script RattosControl#000-2-2 NPC_HIDDEN,{ - -OnSpawn: - areamonster "000-2-2", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl#000-2-2::OnRatto1Death"; - areamonster "000-2-2", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl#000-2-2::OnRatto2Death"; - areamonster "000-2-2", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl#000-2-2::OnRatto3Death"; - areamonster "000-2-2", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl#000-2-2::OnRatto4Death"; - close; - -OnRatto1Respawn: - areamonster "000-2-2", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl#000-2-2::OnRatto1Death"; - $@RAT_SAILOR_CONTROL[1] = 0; - $@RAT_SAILOR_CONTROL[5] = 0; - end; - -OnRatto2Respawn: - areamonster "000-2-2", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl#000-2-2::OnRatto2Death"; - $@RAT_SAILOR_CONTROL[2] = 0; - $@RAT_SAILOR_CONTROL[6] = 0; - end; - -OnRatto3Respawn: - areamonster "000-2-2", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl#000-2-2::OnRatto3Death"; - $@RAT_SAILOR_CONTROL[3] = 0; - $@RAT_SAILOR_CONTROL[7] = 0; - end; - -OnRatto4Respawn: - areamonster "000-2-2", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl#000-2-2::OnRatto4Death"; - $@RAT_SAILOR_CONTROL[4] = 0; - $@RAT_SAILOR_CONTROL[8] = 0; - end; - -OnRatto1Death: - $@RAT_SAILOR_CONTROL[1] = 1; - end; - -OnRatto2Death: - $@RAT_SAILOR_CONTROL[2] = 1; - end; - -OnRatto3Death: - $@RAT_SAILOR_CONTROL[3] = 1; - end; - -OnRatto4Death: - $@RAT_SAILOR_CONTROL[4] = 1; - end; -} diff --git a/npc/000-2-3/_import.txt b/npc/000-2-3/_import.txt deleted file mode 100644 index 16842f77b..000000000 --- a/npc/000-2-3/_import.txt +++ /dev/null @@ -1,10 +0,0 @@ -// Map 000-2-3: Nard's Room -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/000-2-3/_warps.txt", -"npc/000-2-3/box.txt", -"npc/000-2-3/elmo.txt", -"npc/000-2-3/hammock.txt", -"npc/000-2-3/mapflags.txt", -"npc/000-2-3/nard.txt", -"npc/000-2-3/piourocket.txt", -"npc/000-2-3/sailors.txt", diff --git a/npc/000-2-3/_warps.txt b/npc/000-2-3/_warps.txt deleted file mode 100644 index f5c0e1e70..000000000 --- a/npc/000-2-3/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 000-2-3: Nard's Room warps -000-2-3,19,27,0 warp #000-2-3_19_27 0,0,000-2-0,32,28 diff --git a/npc/000-2-3/box.txt b/npc/000-2-3/box.txt deleted file mode 100644 index cc280b746..000000000 --- a/npc/000-2-3/box.txt +++ /dev/null @@ -1,112 +0,0 @@ -// Evol scripts. -// Authors: -// Qwerty Dragon -// Reid -// Description: -// Captain Nard dialogs. -// Nard does the introduction with a small quest. -// This quest is meant to teach the player how to use a weapon,and to bring food to the ship. -// 4 bits array: -// ShipQuests -// Variable: -// ShipQuests_Nard -// Values: -// 0 Introduction of the boxes and Nard. This is displayed when the player never spoke to Nard or his box. -// 1 Nard spoke and gave access to the outdoor of the ship. -// 2 Completed the Gugli quest. -// 3 ChefGado Quest accepted. -// 4 ChefGado Quest completed and "Introduction" chapter finalized. -// 5 Reward taken from the box. - -000-2-3,25,24,0 script Box NPC_HAT_BOX,{ - .@q = getq(ShipQuests_Nard); - - mesn "Narrator"; - mes col(l("Some Bandanas and Sailor Hats are inside this box."), 9); - next; - mes col(l("What do you wish to do?"), 9); - next; - - menu - l("Take a Bandana."), -, - l("Nothing."), L_Quit; - - if (.@q == 0) goto L_NoQuest; - if (.@q == 4) goto L_Give; - if (.@q > 4) goto L_Already; - - setcamnpc "Nard"; - mes ""; - mesn "Nard"; - mesq l("Please don't touch these hats, they are for crew members only."); - - close; - -L_NoQuest: - mes ""; - mesn "Narrator"; - mes col(l("Nard looks surprised and stops you."), 9); - next; - - setcamnpc "Nard"; - mesn "Nard"; - mesq l("You like these hats, right?"); - next; - mesq l("How about I ask you to help the crew? It would mean that you're one of us and that you will be able to get one of these hats."); - next; - mesq l("We need as many hands as possible to explore the island out there, and to get some new food."); - next; - mesq l("You could meet some of the other sailors this way, and... Getting this hat of course, will be a sign of you becoming part of our crew."); - next; - mesq l("What do you think?"); - next; - - menu - l("Why not, I've got plenty of free time."), -, - l("I think that I'm still a bit sick."), L_Quit; - - mes ""; - mesn "Nard"; - mesq l("Great!"); - next; - mesq l("I give you this key, it opens all the doors on this ship."); - next; - mesq l("Now go outside and talk with Gugli, he'll tell you what provisions we need."); - next; - - inventoryplace JohanneKey, 1; - setq ShipQuests_Nard, 1; - getitem JohanneKey, 1; - - close; - -L_Give: - setcamnpc "Nard"; - mes ""; - mesn "Nard"; - mesq l("Congrats, you are now part of the crew. Thanks again for your help."); - - inventoryplace Bandana, 1; - - setq ShipQuests_Nard, 5; - getitem Bandana, 1; -// Need to add a skill for the crew at this line. - - close; - -L_Already: - setcamnpc "Nard"; - mes ""; - mesn "Nard"; - mesq l("You already took a @@, please put this one back in the box.", getitemlink(Bandana)); - - close; - -L_Quit: - closedialog; - close; - -OnInit: - .distance = 1; - end; -} diff --git a/npc/000-2-3/elmo.txt b/npc/000-2-3/elmo.txt deleted file mode 100644 index f2209824e..000000000 --- a/npc/000-2-3/elmo.txt +++ /dev/null @@ -1,67 +0,0 @@ -// Evol scripts. -// Authors: -// Qwerty Dragon -// Reid -// Description: -// Elmo's second dialog. - -000-2-3,27,27,0 script Elmo#000-2-3 NPC_ELMO,{ - function got_money { - speech S_LAST_NEXT, - lg("Be patient a little while longer, in the next few days we will arrive at the port of Artis..."), - l("If you feel bored or like running around in circles, you may want to talk with the other sailors around here to get some tasks to do."), - l("From what I heard, my brother Gugli needs the help of as many people as possible in order to collect a lot of neat things that can be found on this island."), - l("Other than that, I don't know much about what else is going on, so directly asking the Cap'tain about it could be a good idea."); - - goodbye; - } - - if (getq(General_Narrator) > 0) - { - sailortalk; - } - - if (getq(ShipQuests_ArpanMoney) == 2) - { - got_money; - } - - speech S_LAST_NEXT, - l("Hey you, sorry for leaving your room so quickly. I needed to speak with the captain about the food reserves. You know, now that we have a new mouth to feed, we need to check what we have."), - l("So, how is it going? Did you meet any other crew members yet?"); - - switch (select(l("Yes, Arpan gave me these clothes."), l("Not yet."))) - { - case 1: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Oh good! Did he give you your money back as well?"); - - switch (select(l("Yes he did."), l("He told me nothing about that."))) - { - case 1: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Ok, be patient a little while longer, in the next few days we will arrive at the port of Artis..."); - break; - case 2: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Hehe, sometimes he gets his head in the clouds, You should go ask him about that."); - setq ShipQuests_ArpanMoney, 1; - break; - } - - break; - case 2: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("You should go see them."), - l("You still got a few days before we arrive at the port, maybe you can learn something from them?"); - - break; - } - - goodbye; - -OnInit: - .sex = G_MALE; - .distance = 5; - end; -} diff --git a/npc/000-2-3/hammock.txt b/npc/000-2-3/hammock.txt deleted file mode 100644 index 0ceeadbff..000000000 --- a/npc/000-2-3/hammock.txt +++ /dev/null @@ -1,17 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Animated hammock at the top level of the ship. - -000-2-3,28,24,0 script #name5 NPC_LEFT_HAMMOCK,1,0,{ - -OnTouch: - hamTouchRight; - -OnUnTouch: - hamUnTouch; - -OnTimer5440: - hamTimerRight; -} diff --git a/npc/000-2-3/mapflags.txt b/npc/000-2-3/mapflags.txt deleted file mode 100644 index b04a0fc96..000000000 --- a/npc/000-2-3/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -000-2-3 mapflag town diff --git a/npc/000-2-3/nard.txt b/npc/000-2-3/nard.txt deleted file mode 100644 index f54f0f89f..000000000 --- a/npc/000-2-3/nard.txt +++ /dev/null @@ -1,277 +0,0 @@ -// Evol scripts. -// Authors: -// Qwerty Dragon -// Reid -// Description: -// Captain Nard dialogs. -// Nard does the introduction with a small quest. -// This quest is meant to teach the player how to use a weapon,and to bring food to the ship. -// 4 bits array: -// ShipQuests -// Variable: -// 0 ShipQuests_Nard -// 1 ShipQuests_Gugli -// 2 ShipQuests_ChefGado -// Values: -// 00 Introduction of the boxes and Nard. This is displayed when the player never spoke to Nard or his box. -// 01 Nard spoke and gave access to the outdoor of the ship. -// 02 Completed the Gugli quest. -// 03 ChefGado Quest accepted. -// 04 ChefGado Quest completed and "Introduction" chapter finalized. -// 05 Reward taken from the box. -// 06 Intro finished -// 10 Never talked with Gugli. -// 11 Gugli gives you the task. -// 12 Gave all of the boxes to Gugli. - -000-2-3,25,26,0 script Nard#000-2-3 NPC_NARD,{ - .@nard = getq(ShipQuests_Nard); - .@gugli = getq(ShipQuests_Gugli); - .@gado = getq(ShipQuests_ChefGado); - -L_Checker: - if (.@gado > 3 && .@nard == 3) goto L_ChefQuestComplete; - if (.@nard == 2) goto L_ChefQuestStart; - if (.@nard == 3) goto L_ChefQuestGiven; - if (.@nard == 4) goto L_Reward; - if (.@nard > 5) goto L_GoBackArtis; - if (.@nard > 4) goto L_Already; - if (.@gugli == 2) goto L_Done; - if (.@nard == 1) goto L_NotYet; - - mesn; - mesq l("Hello."); - next; - mesq l("Let me introduce myself, I am Nard, captain of this ship."); - next; - mesq lg("I am pleased to see that you have woken up and are active. Elmo came here to tell me this good news!"); - next; - - setcamnpc "Elmo"; - mesn "Elmo"; - mesq l("Oh... Err, yes I did, or, well, good day to you!"); - next; - restorecam; - - mesn; - mesq l("Hehehe, he is a bit nervous, please forgive him, it is not everyday we have a new member in the crew!"); - next; - mesq l("So, how do you feel? I see that Julia did a marvelous job! You look like you're in good health now."); - next; - -L_Menu: - menu - lg("I feel ok."), L_Ok, - l("Who's this Julia?"), L_Julia, - lg("I'm a bit sick..."), -; - - mes ""; - mesn; - mesq l("Oh, I was going to ask you if you wanted to help the crew search for some food and explore the island out there."); - next; - -L_MenuQuest: - menu - l("What do you need?"), -, - l("Is there a reward?"), L_NeedHead, - l("Wait, you never came here before?"), L_DrasilIsland; - - mes ""; - mesn; - mesq l("Oh! I like that sort of answer!"); - next; - mesq lg("We need manpower on the island... Oh forgive me, women are also welcome, of course.", "We need manpower on the island."); - next; - - goto L_NeedContent; - -L_NeedHead: - mes ""; - mesn; - mesq l("Of course there is a reward for your task."); - next; - mesq l("Hard work always pays off!"); - next; - mesq l("What? It's not good enough?"); - next; - -L_NeedContent: - mesq l("Our crew is like a family, and if you agree to help us, I would like to invite you to join our family!"); - next; - mesq l("Hmm, I'll also give you one of these hats from the box near you, but only after you complete your task!"); - next; - mesq l("Here, take this key, it opens all the doors on this ship."); - next; - mesq l("Now go outside and talk to Gugli, he'll tell you what we need."); - next; - - inventoryplace JohanneKey, 1; - - setq ShipQuests_Nard, 1; - getitem JohanneKey, 1; - - close; - -L_Ok: - mes ""; - mesn; - mesq l("Good to know."); - next; - mesq l("We have made a stop at a little island, before making it on to the port of Artis."); - next; - mesq l("It would be good for you to do some exercise, the ship isn't big enough for that."); - next; - - goto L_SpecialTask; - -L_Julia: - mes ""; - mesn; - mesq l("You have an awful case of amnesia."); - next; - mesq l("She is the nurse and shipkeeper of this ship."); - next; - mesq lg("But most important, she is the one who took care of you when you were unconscious."); - next; - -L_SpecialTask: - mesq l("I know that you are just starting to feel better, but I'd like to give you a special task."); - next; - - goto L_MenuQuest; - -L_DrasilIsland: - mes ""; - mesn; - mesq l("To be honest, no, never."); - next; - mesq l("But discovering new territories is probably the best thing that can happen to sailors, don't you think?"); - next; - mesq l("I'm really excited, this place reminds me of an ancient mythical tree, you might know what I'm talking about..."); - emotion E_WINK; - next; - mesq l("As captain of this ship, I officially name this newly discovered land the ##BDrasil Island##b!"); - next; - mesq l("Now, lets get back to business."); - next; - - goto L_NeedContent; - -L_NotYet: - mesn; - mesq l("You still haven't completed your tasks."); - close; - -L_Done: - mesn; - mesq l("Hi @@.", strcharinfo(0)); - next; - mesq l("Elmo and Gugli told me that you did all of the tasks outside, congrats!"); - - setq ShipQuests_Nard, 2; - next; - goto L_ChefQuestRedir; - -L_ChefQuestStart: - mesn; - mesq lg("Elmo told me you are now considered family and are numbered among us in our activities on the island. I do so very much appreciate the efforts you did down there."); - next; - -L_ChefQuestRedir: - mesq l("Unfortunately, we still need help from you. This time it will be a delicate task, here onboard."); - next; - mesq l("Elmo brought reports to me about some frictions between my old and new lieutenants. You probably already met Julia and Chef Gado."); - next; - mesq l("They are each valued individuals and I need them both. In the past, I probably made my share of mistakes. I regret good management is so difficult. I was wondering if you could investigate and... Sort out this situation."); - next; - - select - l("Of the two of them, who has 'good' on their side?"); - - mes ""; - mesq l("I do not want to go pointing my finger at someone. I want to be honorable and fair, and I sense the same quality in you, so I put my trust in you. I am sure you will be able to judge and solve this troubling situation."); - - setq ShipQuests_Nard, 3; - - close; - -L_ChefQuestGiven: - mesn; - mesq l("It seems you still have some work to do."); - - close; - -L_ChefQuestComplete: - mesn; - mesq l("Congratulations!"); - next; - mesq l("You are now officially part of my crew! Thanks again for your help."); - next; - mesq l("Take your reward from the box next to my desk!"); - next; - - select - l("I will take it! Thank you captain!"); - - setq ShipQuests_Nard, 4; - getexp 50, 0; - -// Need to add a skill for the crew at this line. - mes ""; - -L_Already: - speech - l("I recommend you to take a nap on the inferior level, we will soon leave this place."); - - close; - -L_GoBackArtis: - checkclientversion; - speech S_LAST_NEXT, - l("Enough of this island?"), - l("Where would you like to go now?"); - switch (select(l("Let's go to Artis."), - l("Tell me, where are we right now?"), - l("I would like to stay here a bit more."))) - { - case 1: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Let's set sail then!"); - - savepoint "001-2-22", 50, 38; - if (!getmapxy(.@map$, .@x, .@y, 0)) - { - warp "001-2-24", .@x, .@y; - } - else - { - warp "001-2-24", 22, 27; - } - - closedialog; - close; - - case 2: - closedialog; - npctalk3 l("This is Drasil Island, I named it after an ancient mythical tree."); - close; - - case 3: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Ok I stay here with my paperwork if you need my help."); - - closedialog; - close; - } - -L_Reward: - mesn; - mesq l("Hey! There's a reward for you in the box next to me!"); - - close; - -OnInit: - .sex = G_MALE; - .distance = 5; - end; -} diff --git a/npc/000-2-3/piourocket.txt b/npc/000-2-3/piourocket.txt deleted file mode 100644 index e6ff2039e..000000000 --- a/npc/000-2-3/piourocket.txt +++ /dev/null @@ -1,29 +0,0 @@ -// Evol scripts. -// Author: -// Ablu -// Description: -// Jumping piou. - -000-2-3,27,23,4 script #piourocket NPC_PIOU_ROCKET,{ - - .@now = gettimetick(2); - - if (.@now - .last > 1) - { - .dir = 2; - .last = .@now; - specialeffect(26); - initnpctimer; - } - - close; - -OnTimer1420: - .dir = 4; - stopnpctimer; - end; - -OnInit: - .distance = 3; - end; -} diff --git a/npc/000-2-3/sailors.txt b/npc/000-2-3/sailors.txt deleted file mode 100644 index 968d8c92a..000000000 --- a/npc/000-2-3/sailors.txt +++ /dev/null @@ -1,47 +0,0 @@ -// Evol scripts. -// Authors: -// Ablu -// Qwerty Dragon -// Reid -// Description: -// End of introduction with Nard and Elmo talking about the player. - -000-2-3,21,28,0 script AreaTop NPC_HIDDEN,0,5,{ - -OnTouch: - if (getq(ShipQuests_Door) == 1) end; - setq ShipQuests_Door, 1; - - setcamnpc "Elmo"; - mesn "Elmo"; - mesq lg("So that's why we wanted to warn you, maybe she comes from that guild, as that sign was on her raft.", "So that's why we wanted to warn you, maybe he comes from that guild, as that sign was on his raft."); - next; - - setcamnpc "Nard"; - mesn "Captain Nard"; - mesq lg("I see. Warn the other sailors about this. But if she's part of the Legion of Aemil, then she's also our friend and ally.", "I see. Warn the other sailors about this. But if he's part of the Legion of Aemil, then he's also our friend and ally."); - next; - - setcamnpc "Elmo"; - mesn "Elmo"; - mesq l("I will."); - next; - mesq l("About the Legion of Aemil, I'm not sure about them, frankly."); - next; - mesq l("There are rumors going around that they did some monstrous things and that they are hiding quite a lot from us."); - next; - - setcamnpc "Nard"; - mesn "Captain Nard"; - mesq lg("This kind of talk should be taken with a grain of salt, but I agree and admit that I too am skeptical, so keep an eye on her.", "This kind of talk should be taken with a grain of salt, but I agree and admit that I too am skeptical, so keep an eye on him."); - next; - - mesq lg("But... If she has amnesia like Julia said... We don't need to worry about her. At least not yet.", "But... If he has amnesia like Julia said... We don't need to worry about him. At least not yet."); - next; - - setcamnpc "Elmo"; - mesn "Elmo"; - mesq l("Sure, cap'tain."); - - close; -} diff --git a/npc/000-2-4/_import.txt b/npc/000-2-4/_import.txt deleted file mode 100644 index 579e400ac..000000000 --- a/npc/000-2-4/_import.txt +++ /dev/null @@ -1,6 +0,0 @@ -// Map 000-2-4: Alige's Hiding Place -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/000-2-4/_mobs.txt", -"npc/000-2-4/_warps.txt", -"npc/000-2-4/alige.txt", -"npc/000-2-4/mapflags.txt", diff --git a/npc/000-2-4/_mobs.txt b/npc/000-2-4/_mobs.txt deleted file mode 100644 index 56230670e..000000000 --- a/npc/000-2-4/_mobs.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 000-2-4: Alige's Hiding Place mobs -000-2-4,30,30,1,1 monster Cuco 1020,1,80000,90000 diff --git a/npc/000-2-4/_warps.txt b/npc/000-2-4/_warps.txt deleted file mode 100644 index adfe94409..000000000 --- a/npc/000-2-4/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 000-2-4: Alige's Hiding Place warps -000-2-4,41,30,0 warp #000-2-4_41_30 0,0,000-2-2,25,31 diff --git a/npc/000-2-4/alige.txt b/npc/000-2-4/alige.txt deleted file mode 100644 index fbfb79eeb..000000000 --- a/npc/000-2-4/alige.txt +++ /dev/null @@ -1,39 +0,0 @@ -// Evol scripts. -// Authors: -// Reid -// Travolta - -000-2-4,38,22,0 script Alige#000-2-4 NPC_ALIGE_BARREL,2,2,{ - npctalk3 l("Protect me, please..."); - end; - -OnTouch: - .dir = LEFT; - stopnpctimer; - initnpctimer; - end; - -OnUnTouch: - .dir = UP; - stopnpctimer; - initnpctimer; - end; - -OnTimer190: - switch (.dir) - { - case UP: - .dir = DOWN; - break; - case LEFT: - .dir = RIGHT; - break; - } - stopnpctimer; - end; - -OnInit: - .sex = G_MALE; - .distance = 2; - end; -} diff --git a/npc/000-2-4/mapflags.txt b/npc/000-2-4/mapflags.txt deleted file mode 100644 index 9c0339379..000000000 --- a/npc/000-2-4/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -000-2-4 mapflag nosave 000-2-1,50,38 diff --git a/npc/001-1/_import.txt b/npc/001-1/_import.txt deleted file mode 100644 index d86cf6a3a..000000000 --- a/npc/001-1/_import.txt +++ /dev/null @@ -1,40 +0,0 @@ -// Map 001-1: Artis -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-1/_mobs.txt", -"npc/001-1/_warps.txt", -"npc/001-1/artaxe.txt", -"npc/001-1/beuss.txt", -"npc/001-1/calypsan.txt", -"npc/001-1/carmie.txt", -"npc/001-1/chelios.txt", -"npc/001-1/cookiemaster.txt", -"npc/001-1/devis.txt", -"npc/001-1/doors.txt", -"npc/001-1/elmo.txt", -"npc/001-1/enora.txt", -"npc/001-1/fexil.txt", -"npc/001-1/flyingpiou.txt", -"npc/001-1/harbours.txt", -"npc/001-1/hinnack.txt", -"npc/001-1/juscare.txt", -"npc/001-1/karim.txt", -"npc/001-1/katja.txt", -"npc/001-1/lucas.txt", -"npc/001-1/manhole.txt", -"npc/001-1/mapflags.txt", -"npc/001-1/merlin.txt", -"npc/001-1/mouboo.txt", -"npc/001-1/nalkri.txt", -"npc/001-1/panels.txt", -"npc/001-1/pious.txt", -"npc/001-1/qonan.txt", -"npc/001-1/qpid.txt", -"npc/001-1/rock.txt", -"npc/001-1/rumly.txt", -"npc/001-1/salem.txt", -"npc/001-1/shop.txt", -"npc/001-1/sign.txt", -"npc/001-1/taree.txt", -"npc/001-1/treeleaf.txt", -"npc/001-1/trees.txt", -"npc/001-1/xilaxa.txt", diff --git a/npc/001-1/_mobs.txt b/npc/001-1/_mobs.txt deleted file mode 100644 index a2b6e5f1a..000000000 --- a/npc/001-1/_mobs.txt +++ /dev/null @@ -1,32 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-1: Artis mobs -001-1,0,0,0,0 monster Piou 1002,2,15000,60000 -001-1,0,0,0,0 monster Piousse 1003,1,15000,150000 -001-1,174,34,11,15 monster Fluffy 1022,6,18000,100000 -001-1,199,48,2,5 monster Fluffy 1022,4,18000,100000 -001-1,174,34,11,15 monster Piou 1002,1,12000,60000 -001-1,35,62,1,4 monster Pikpik 1013,3,40000,20000 -001-1,26,96,3,2 monster Pikpik 1013,1,40000,20000 -001-1,42,137,4,1 monster Pikpik 1013,2,40000,20000 -001-1,45,136,0,0 monster Crocotree 1010,1,420000,240000 -001-1,70,136,0,0 monster Crocotree 1010,1,420000,240000 -001-1,37,126,0,0 monster Manana Tree 1017,1,420000,240000 -001-1,34,130,0,0 monster Manana Tree 1017,1,420000,240000 -001-1,41,129,0,0 monster Manana Tree 1017,1,420000,240000 -001-1,36,77,0,0 monster Manana Tree 1017,1,420000,240000 -001-1,37,79,0,0 monster Manana Tree 1017,1,420000,240000 -001-1,39,73,0,0 monster Manana Tree 1017,1,420000,240000 -001-1,43,70,0,0 monster Manana Tree 1017,1,420000,240000 -001-1,48,71,0,0 monster Manana Tree 1017,1,420000,240000 -001-1,40,67,0,0 monster Manana Tree 1017,1,420000,240000 -001-1,46,65,0,0 monster Manana Tree 1017,1,420000,240000 -001-1,152,26,0,0 monster Manana Tree 1017,1,420000,240000 -001-1,152,32,0,0 monster Manana Tree 1017,1,420000,240000 -001-1,155,37,0,0 monster Manana Tree 1017,1,420000,240000 -001-1,158,29,0,0 monster Manana Tree 1017,1,420000,240000 -001-1,203,51,0,0 monster Manana Tree 1017,1,420000,240000 -001-1,198,50,0,0 monster Manana Tree 1017,1,420000,240000 -001-1,199,55,0,0 monster Manana Tree 1017,1,420000,240000 -001-1,185,65,0,0 monster Manana Tree 1017,1,420000,240000 -001-1,191,63,0,0 monster Manana Tree 1017,1,420000,240000 -001-1,200,66,0,0 monster Manana Tree 1017,1,420000,240000 diff --git a/npc/001-1/_warps.txt b/npc/001-1/_warps.txt deleted file mode 100644 index 90a7dc1f8..000000000 --- a/npc/001-1/_warps.txt +++ /dev/null @@ -1,445 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-1: Artis warps -001-1,51,80,0 script #001-1_51_80_h NPC_HIDDEN,0,0,{ -OnTouch: - warp "001-2-4", 48, 40; -close; - -OnUnTouch: - doevent "#001-1_51_80::OnUnTouch"; -} -001-1,51,80,0 script #001-1_51_80 NPC_ARTIS_DOOR,2,3,{ - close; -OnTouch: - doorTouch; - -OnUnTouch: - doorUnTouch; - -OnTimer340: - doorTimer; - -OnInit: - doorInit; -} - -001-1,70,77,0 script #001-1_70_77_h NPC_HIDDEN,0,0,{ -OnTouch: - warp "001-2-2", 38, 38; -close; - -OnUnTouch: - doevent "#001-1_70_77::OnUnTouch"; -} -001-1,70,77,0 script #001-1_70_77 NPC_ARTIS_DOOR,2,3,{ - close; -OnTouch: - doorTouch; - -OnUnTouch: - doorUnTouch; - -OnTimer340: - doorTimer; - -OnInit: - doorInit; -} - -001-1,51,65,0 script #001-1_51_65_h NPC_HIDDEN,0,0,{ -OnTouch: - warp "001-2-0", 30, 34; -close; - -OnUnTouch: - doevent "#001-1_51_65::OnUnTouch"; -} -001-1,51,65,0 script #001-1_51_65 NPC_ARTIS_DOOR,2,3,{ - close; -OnTouch: - doorTouch; - -OnUnTouch: - doorUnTouch; - -OnTimer340: - doorTimer; - -OnInit: - doorInit; -} - -001-1,55,71,0 script #001-1_55_71_h NPC_HIDDEN,0,0,{ -OnTouch: - warp "001-2-0", 37, 45; -close; - -OnUnTouch: - doevent "#001-1_55_71::OnUnTouch"; -} -001-1,55,71,0 script #001-1_55_71 NPC_ARTIS_DOOR,2,3,{ - close; -OnTouch: - doorTouch; - -OnUnTouch: - doorUnTouch; - -OnTimer340: - doorTimer; - -OnInit: - doorInit; -} - -001-1,168,98,0 script #001-1_168_98_h NPC_HIDDEN,0,0,{ -OnTouch: - warp "001-2-16", 32, 35; -close; - -OnUnTouch: - doevent "#001-1_168_98::OnUnTouch"; -} -001-1,168,98,0 script #001-1_168_98 NPC_ARTIS_DOOR,2,3,{ - close; -OnTouch: - doorTouch; - -OnUnTouch: - doorUnTouch; - -OnTimer340: - doorTimer; - -OnInit: - doorInit; -} - -001-1,194,109,0 warp #001-1_194_109 0,0,001-2-21,20,28 -001-1,100,37,0 warp #001-1_100_37 0,0,001-2-19,32,39 -001-1,104,43,0 warp #001-1_104_43 0,0,001-2-19,41,49 -001-1,134,83,0 warp #001-1_134_83 0,0,001-2-28,60,31 -001-1,118,88,0 script #001-1_118_88_h NPC_HIDDEN,0,0,{ -OnTouch: - warp "001-2-28", 29, 42; -close; - -OnUnTouch: - doevent "#001-1_118_88::OnUnTouch"; -} -001-1,118,88,0 script #001-1_118_88 NPC_ARTIS_DOOR,2,3,{ - close; -OnTouch: - doorTouch; - -OnUnTouch: - doorUnTouch; - -OnTimer340: - doorTimer; - -OnInit: - doorInit; -} - -001-1,182,74,0 script #001-1_182_74_h NPC_HIDDEN,0,0,{ -OnTouch: - warp "001-2-18", 39, 35; -close; - -OnUnTouch: - doevent "#001-1_182_74::OnUnTouch"; -} -001-1,182,74,0 script #001-1_182_74 NPC_ARTIS_DOOR,2,3,{ - close; -OnTouch: - doorTouch; - -OnUnTouch: - doorUnTouch; - -OnTimer340: - doorTimer; - -OnInit: - doorInit; -} - -001-1,163,70,0 script #001-1_163_70_h NPC_HIDDEN,0,0,{ -OnTouch: - warp "001-2-26", 28, 42; -close; - -OnUnTouch: - doevent "#001-1_163_70::OnUnTouch"; -} -001-1,163,70,0 script #001-1_163_70 NPC_ARTIS_DOOR,2,3,{ - close; -OnTouch: - doorTouch; - -OnUnTouch: - doorUnTouch; - -OnTimer340: - doorTimer; - -OnInit: - doorInit; -} - -001-1,132,67,0 script #001-1_132_67_h NPC_HIDDEN,0,0,{ -OnTouch: - warp "001-2-15", 34, 45; -close; - -OnUnTouch: - doevent "#001-1_132_67::OnUnTouch"; -} -001-1,132,67,0 script #001-1_132_67 NPC_ARTIS_DOOR,2,3,{ - close; -OnTouch: - doorTouch; - -OnUnTouch: - doorUnTouch; - -OnTimer340: - doorTimer; - -OnInit: - doorInit; -} - -001-1,101,107,0 script #001-1_101_107_h NPC_HIDDEN,0,0,{ -OnTouch: - warp "001-2-27", 35, 34; -close; - -OnUnTouch: - doevent "#001-1_101_107::OnUnTouch"; -} -001-1,101,107,0 script #001-1_101_107 NPC_ARTIS_DOOR,2,3,{ - close; -OnTouch: - doorTouch; - -OnUnTouch: - doorUnTouch; - -OnTimer340: - doorTimer; - -OnInit: - doorInit; -} - -001-1,89,65,0 script #001-1_89_65_h NPC_HIDDEN,0,0,{ -OnTouch: - warp "001-2-7", 36, 45; -close; - -OnUnTouch: - doevent "#001-1_89_65::OnUnTouch"; -} -001-1,89,65,0 script #001-1_89_65 NPC_ARTIS_DOOR,2,3,{ - close; -OnTouch: - doorTouch; - -OnUnTouch: - doorUnTouch; - -OnTimer340: - doorTimer; - -OnInit: - doorInit; -} - -001-1,57,41,0 warp #001-1_57_41 0,0,001-2-33,34,45 -001-1,142,30,0 script #001-1_142_30_h NPC_HIDDEN,0,0,{ -OnTouch: - warp "001-2-12", 34, 35; -close; - -OnUnTouch: - doevent "#001-1_142_30::OnUnTouch"; -} -001-1,142,30,0 script #001-1_142_30 NPC_ARTIS_DOOR,2,3,{ - close; -OnTouch: - doorTouch; - -OnUnTouch: - doorUnTouch; - -OnTimer340: - doorTimer; - -OnInit: - doorInit; -} - -001-1,128,30,0 script #001-1_128_30_h NPC_HIDDEN,0,0,{ -OnTouch: - warp "001-2-1", 37, 40; -close; - -OnUnTouch: - doevent "#001-1_128_30::OnUnTouch"; -} -001-1,128,30,0 script #001-1_128_30 NPC_ARTIS_DOOR,2,3,{ - close; -OnTouch: - doorTouch; - -OnUnTouch: - doorUnTouch; - -OnTimer340: - doorTimer; - -OnInit: - doorInit; -} - -001-1,104,32,0 script #001-1_104_32_h NPC_HIDDEN,0,0,{ -OnTouch: - warp "001-2-19", 41, 30; -close; - -OnUnTouch: - doevent "#001-1_104_32::OnUnTouch"; -} -001-1,104,32,0 script #001-1_104_32 NPC_ARTIS_DOOR,2,3,{ - close; -OnTouch: - doorTouch; - -OnUnTouch: - doorUnTouch; - -OnTimer340: - doorTimer; - -OnInit: - doorInit; -} - -001-1,107,49,0 script #001-1_107_49_h NPC_HIDDEN,0,0,{ -OnTouch: - warp "001-2-20", 33, 34; -close; - -OnUnTouch: - doevent "#001-1_107_49::OnUnTouch"; -} -001-1,107,49,0 script #001-1_107_49 NPC_ARTIS_DOOR,2,3,{ - close; -OnTouch: - doorTouch; - -OnUnTouch: - doorUnTouch; - -OnTimer340: - doorTimer; - -OnInit: - doorInit; -} - -001-1,148,54,0 script #001-1_148_54_h NPC_HIDDEN,0,0,{ -OnTouch: - warp "001-2-11", 46, 45; -close; - -OnUnTouch: - doevent "#001-1_148_54::OnUnTouch"; -} -001-1,148,54,0 script #001-1_148_54 NPC_ARTIS_DOOR,2,3,{ - close; -OnTouch: - doorTouch; - -OnUnTouch: - doorUnTouch; - -OnTimer340: - doorTimer; - -OnInit: - doorInit; -} - -001-1,135,49,0 script #001-1_135_49_h NPC_HIDDEN,0,0,{ -OnTouch: - warp "001-2-10", 51, 44; -close; - -OnUnTouch: - doevent "#001-1_135_49::OnUnTouch"; -} -001-1,135,49,0 script #001-1_135_49 NPC_ARTIS_DOOR,2,3,{ - close; -OnTouch: - doorTouch; - -OnUnTouch: - doorUnTouch; - -OnTimer340: - doorTimer; - -OnInit: - doorInit; -} - -001-1,118,49,0 script #001-1_118_49_h NPC_HIDDEN,0,0,{ -OnTouch: - warp "001-2-10", 27, 44; -close; - -OnUnTouch: - doevent "#001-1_118_49::OnUnTouch"; -} -001-1,118,49,0 script #001-1_118_49 NPC_ARTIS_DOOR,2,3,{ - close; -OnTouch: - doorTouch; - -OnUnTouch: - doorUnTouch; - -OnTimer340: - doorTimer; - -OnInit: - doorInit; -} - -001-1,49,96,0 script #001-1_49_96_h NPC_HIDDEN,0,0,{ -OnTouch: - warp "001-2-31", 32, 39; -close; - -OnUnTouch: - doevent "#001-1_49_96::OnUnTouch"; -} -001-1,49,96,0 script #001-1_49_96 NPC_ARTIS_DOOR,2,3,{ - close; -OnTouch: - doorTouch; - -OnUnTouch: - doorUnTouch; - -OnTimer340: - doorTimer; - -OnInit: - doorInit; -} - -001-1,198,61,0 warp #001-1_198_61 0,0,001-3-0,198,59 diff --git a/npc/001-1/artaxe.txt b/npc/001-1/artaxe.txt deleted file mode 100644 index 9f8e02f25..000000000 --- a/npc/001-1/artaxe.txt +++ /dev/null @@ -1,19 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Legion NPC blocking the north road of Artis. - -001-1,90,31,0 script Artaxe NPC_ARTAXE,{ - speech S_LAST_NEXT, - l("Sorry buddy, you can't pass by this way, we're moving some furniture."), - l("Come back later!"); - - closedialog; - close; - -OnInit: - .sex = G_MALE; - .distance = 2; - end; -} diff --git a/npc/001-1/beuss.txt b/npc/001-1/beuss.txt deleted file mode 100644 index 9040f64e8..000000000 --- a/npc/001-1/beuss.txt +++ /dev/null @@ -1,28 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Angry member of the Legion of Aemil. - -001-1,45,48,0 script Beuss NPC_BEUSS,{ - stopnpctimer; - initnpctimer; - .dir = 4; - mesn; - mesq l("You seem pathetically weak. What is such boneless jelly like you doing around here?"); - - goto L_Close; - -L_Close: - close; - -OnTimer10000: - .dir = 2; - stopnpctimer; - end; - -OnInit: - .sex = G_MALE; - .distance = 2; - end; -} diff --git a/npc/001-1/calypsan.txt b/npc/001-1/calypsan.txt deleted file mode 100644 index 7f3d6a0ae..000000000 --- a/npc/001-1/calypsan.txt +++ /dev/null @@ -1,105 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Dye seller, she sells and explain how works dye cards. -// Version: -// 2016.019 "Under Construction". -// Variables: -// ArtisQuests_Fexil -// Quest states: -// 0 -- not started -// 1 -- Lloyd warned about the quest -// 2 -- Fexil explain what he needs -// 3 -- Fexil buy every fur that the pc bring to him - -001-1,47,126,0 script Calypsan#001-1 NPC_CALYPSAN,{ - - function explain_dyes { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Look at your equipment, can you guess what material it is made from?"), - l("Seek a colorant for that material:"), - l("Cotton, cashmere, leather, ..."), - l("Zinc-Titanium Oxide, Phthalocyanides, Cadmiums, Lazulite..."), - l("Colorant is not the yeying color. Some wear out from light, others look great but inflict itai-itai, and others become spotty or wash-away."), - l("What yoiis should know:"), - l("1: The type of item yoiis want to dye."), - l("2: What material it is made from."), - l("3: Which colorants can dye it."), - l("4: How many cards your item can contain."), - l("Exemple for yoiis:"), - l("Take an @@ and a @@, yeye obtains a @@.", getitemlink(ArtisTankTop), getitemlink(RedCottonDye), getitemlink(ArtisTankTop, RedCottonDye)), - l("If yoiis wants to see a different use for the cards he can yeye for Resa at the light armor shop for a description of the styling cards."); - } - - function sell_dye { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, l("For what kind of tissue?"); - .@tissue_type = select(l("Cotton"), l("Cashmere")); - - closedialog; - switch (.@tissue_type) - { - case 1: - shop "Cotton#Dye001-1"; - break; - case 2: - shop "Cashmere#Dye001-1"; - break; - default: - debugmes "Calypsan script error, tissue_type is incorrect"; - break; - } - close; - } - - speech S_LAST_NEXT, - l("Yoiis envies a rainbow in the sky?"), - l("It is possible to yeye your cloth with my beautiful dyes."), - l("What does yoiis want today?"); - - .@fexil = getq(ArtisQuests_Fexil); - - do - { - select - rif(.@fexil == 1, l("Have you seen Fexil?")), - menuaction(l("Trade")), - l("How do these dyes work?"), - l("I want to make my own dyes."), - menuaction(l("Quit")); - - switch (@menu) - { - case 1: - setcamnpc "Fexil#001-1"; - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Oh yeye did, his store is just beside me!"), - l("Yoiis should look there."); - restorecam; - - break; - case 2: - sell_dye; - close; - - case 3: - explain_dyes; - break; - case 4: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Yoiis is not yet ready to make his own dyes."), - l("But in the future I might be able to help you create some of your own."); - break; - } - } while (@menu != 5); - - closedialog; - goodbye; - close; - -OnInit: - .sex = G_FEMALE; - .distance = 3; - end; -} - diff --git a/npc/001-1/carmie.txt b/npc/001-1/carmie.txt deleted file mode 100644 index e87e7fe67..000000000 --- a/npc/001-1/carmie.txt +++ /dev/null @@ -1,68 +0,0 @@ -// Evol scripts. -// Authors: -// Alige -// Reid -// Description: -// Carmie, walking NPC of the legion of Aemil on the center part of Artis. -// Variables: -// .@rand = Random number of sentences. - -001-1,86,66,0 script Carmie#001-1 NPC_RAIJIN_FEMALE_LEGION_ARTIS,{ - - legiontalk; - - close; - -OnTimer1000: - domovestep; - -OnInit: - initpath "move", 89, 68, - "move", 89, 77, - "move", 84, 81, - "dir", LEFT, 0, - "wait", 2, 0, - "dir", DOWN, 0, - "wait", 1, 0, - "dir", RIGHT, 0, - "wait", 1, 0, - "move", 89, 85, - "dir", LEFT, 0, - "wait", 1, 0, - "dir", DOWN, 0, - "dir", RIGHT, 0, - "wait", 1, 0, - "move", 94, 81, - "dir", RIGHT, 0, - "wait", 2, 0, - "dir", DOWN, 0, - "wait", 1, 0, - "dir", LEFT, 0, - "wait", 1, 0, - "move", 89, 76, - "move", 89, 68, - "dir", LEFT, 0, - "wait", 2, 0, - "dir", DOWN, 0, - "wait", 4, 0, - "dir", RIGHT, 0, - "wait", 2, 0, - "move", 92, 66, - "dir", RIGHT, 0, - "wait", 2, 0, - "dir", DOWN, 0, - "wait", 1, 0, - "dir", LEFT, 0, - "wait", 1, 0, - "move", 86, 66, - "dir", LEFT, 0, - "wait", 2, 0, - "dir", DOWN, 0, - "wait", 1, 0, - "dir", RIGHT, 0, - "wait", 1, 0; - - initialmove; - initnpctimer; - .distance = 5; -} diff --git a/npc/001-1/chelios.txt b/npc/001-1/chelios.txt deleted file mode 100644 index 2846f8641..000000000 --- a/npc/001-1/chelios.txt +++ /dev/null @@ -1,117 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Blacksmith's assistant of Artis -// Variables: -// ArtisQuests_Enora -// Values: -// 0 Default. -// 1 BlackSmith quest delivered. -// 2 Chelios Quest given. -// 3 Chelios Quest done. -// 4 BlackSmith gave the sword. - -001-1,95,109,0 script Chelios NPC_CHELIOS,{ - - function give_small_quest { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Her sword... I'm having some trouble finishing it."), - l("You see, Enora asked me to do a black iron sword, unfortunately I ran out of the material needed, and..."), - l("Only Don and the Merchant Guild have that kind of material in stock. It's called black iron."), - l("It's better to deal with the Merchant Guild than the old man, Don has this ability to hammer down your enthusiasm in sparkling fury!"), - l("If Enora wants her sword now, I need to ask for your help."); - - switch (select(l("Let's not keep her waiting."), - l("Not now."))) - { - case 1: - break; - case 2: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - lg("I'll be here, come back when you'll be ready."); - - return; - } - - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Thank you very much!"), - l("Talk with Lloyd the Banker in the Merchant Guild, it's a big building in the northern side of Artis, at the top of the small hill."); - - setq ArtisQuests_Enora, 2; - - return; - } - - function more_info { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("It's the big building in northern Artis, at the top of a small hill."), - l("Take the east road that goes to the north and follow it until you are on top of the cliff."), - l("That part of the town is called the Gilded Hill, it's also where the Merchant Guild has its headquarters."), //rich hill - l("Lloyd still owes me, but beware of those money-grabbers, or they might sell your own teeth to you!"); - - return; - } - - function quest_completed { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Oh... Awesome!"), - l("You were gone so I thought you let me down."), - l("Don gave me some black iron... after I asked him nearly ten times."), - l("But thank you anyway! I can refund him now!"), - l("Take the sword, and say hi to Enora for me!"); - - setq ArtisQuests_Enora, 4; - - return; - } - - function blacksmith_house{ - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Behind me? It's the Blacksmith House, the most renowned throughout Aemil."), - l("There are two shops inside, they are independent from the Merchant Guild of Artis."), - l("Now that I think about it, they are the only shops that are independent in Artis..."), - l("...it might be because of Don... he is the master blacksmith of this place and a model to me!"); - - return; - } - - speech S_LAST_NEXT, l("Can I be of any help?"); - - do - { - .@enora = getq(ArtisQuests_Enora); - select - rif(.@enora == 1, lg("I came to retrieve a package for Enora.")), - rif(.@enora == 3, l("I have your black iron.")), - rif(.@enora >= 2, l("Where is the Merchant Guild?")), - l("What is this building?"), - menuaction(l("Quit")); - - switch (@menu) - { - case 1: - give_small_quest; - break; - case 2: - quest_completed; - break; - case 3: - more_info; - break; - case 4: - blacksmith_house; - break; - } - } while (@menu != 5); - - closedialog; - goodbye; - close; - -OnInit: - .sex = G_MALE; - .distance = 3; - end; -} - diff --git a/npc/001-1/cookiemaster.txt b/npc/001-1/cookiemaster.txt deleted file mode 100644 index 77f95baa1..000000000 --- a/npc/001-1/cookiemaster.txt +++ /dev/null @@ -1,258 +0,0 @@ -// Evol scripts. -// Authors: -// Alige -// Reid -// Description: -// Cookie NPC, beware, if you don't take your cookie, she'll keep it! -// Variables: -// General_Cookies -// Values: -// 0 Default, didn't get a cookie. -// 1 Get a cookie. - -001-1,39,38,0 script Cookie Master NPC_COOKIE_MASTER,{ - if ((countitem(517) == 0) && (getq(General_Cookies) == 1)) - goto L_LostCookie; - if (getq(General_Cookies) == 1) - goto L_GetCookie; - - mesn; - mesq lg("Hey! Adventurer! Are you enjoying your life on Aemil?"); - next; - - select - l("Well in fact..."); - - mes ""; - mesn; - mesq l("Shht shht!"); - next; - mesq l("Don't tell me more, I know what you want..."); - next; - mesq l("A cookie!"); - next; - - menu - l("I'd love one!"), -, - l("No thank you, I'm fine. I'll come back later."), L_Bye; - - mes ""; - mesn; - mesq lg("Of course you do! Just listen carefully to these words my sweet."); - next; - mesq l("Cookies are a source of life."); - next; - mesq l("Cookies provide you strength, health and cuteness."); - next; - mesq l("Cookies are awesome, so am I."); - - menu - l("Uhm... Your story seems..."), L_StorySeems, - l("Wait... That's not a proper place for a chef, what are you doing there?"), L_Presentation, - l("Exactly! Can I have one now?"), -; - -L_Check: - mes ""; - mesn; - mesq l("Let me check my cookie list..."); - next; - -// Beta3 Contributors. - if (strcharinfo(0) == "4144") goto L_Reward; - if (strcharinfo(0) == "Alige") goto L_Reward; - if (strcharinfo(0) == "enchilado") goto L_Reward; - if (strcharinfo(0) == "hal9000") goto L_Reward; - if (strcharinfo(0) == "Reid") goto L_Reward; - if (strcharinfo(0) == "Socapex") goto L_Reward; - if (strcharinfo(0) == "Kenny690") goto L_Reward; - if (strcharinfo(0) == "Nelson6e65") goto L_Reward; - if (strcharinfo(0) == "Steel Zenn") goto L_Reward; -// Aurora1 Contributors. - - mesq l("I'm sorry but I can't see your name anywhere."); - next; - mesq l("You see, folks around here that get my cookies have the distinction of being..."); - next; - - menu - l("Seriously? It's just a cookie you know... Tell me what I should do to get one."), L_BTaskExpanation, - l("Yes, yes I know... Too bad then. See you soon!"), L_Bye; - -L_StorySeems: - mes ""; - mesn; - mesq l("What about my story?"); - next; - - menu - l("It's interesting and exciting at the same time!"), -, - l("Honestly, it's quite far-fetched according to me."), L_Kick; - - mes ""; - menu - l("Too bad. I'm not hungry enough for these cookies of yours. Maybe I'll come back later."), L_Bye, - l("How can I get one of these cookies?"), -; - - mes ""; - mesn; - mesq g(l("It looks like the sweet lady is curious, am I right?"), - l("It seems the gentleman is curious, am I right sweetie?")); - next; - mesq lg("Well, if you ever do want to join: 'Ye Merry Club Of Thee Bequeathed With Cookies'..."); - next; - -L_BTaskExpanation: - mes ""; - mesn; -L_TaskExpanation: - mesq l("You'll first need to help my friends."); - next; - mesq l("It is them, after all, who have the ultimate decision as to those I can give my cookies to."); - next; - - menu - l("So you're under the control of a dictatorship? That's... reassuring!"), L_Control, - l("Who are these friends?"), L_Friends; - -L_Friends: - mes ""; - mesn; - mesq l("Shht shht!"); - next; - mesq l("Don't say it so loudly, other people could hear us."); - next; - mesq l("My friends are... Well, you know... The creators."); - next; - mesq l("I can't give you a cookie for free. But I can give you this hint for how you may be added to my list."); - next; - mesq l("Now listen to and ponder my words..."); - next; - mesq l("If you see weird things here and there, or things that just shouldn't be, or even in your minds eye, things that you would like to see..."); - next; - mesq l("Simply contact them, by forum or wispers or irc. When you are helpful and kind, they respond in kind. And in time they may surely add you to my cookie list!"); - next; - - mesn "Narrator"; - mes col(l("This Cookie Master rewards people who contribute and develop this world."), 9); - next; - mes col(lg("If you want to be rewarded, help us in making this world a better place."), 9); - next; - mes col(l("When you see something that looks more like a bug than a feature, report it on http://bugs.evolonline.org or try to contact a game contributor."), 9); - next; - mes col(l("Any contribution to the game (translations, graphics creation/edition, concepts, coding/scripting, etc...) is rewarded!"), 9); - - mes ""; - mesn; - mesq l("So, do you still want a cookie?"); - next; - - menu - l("I wish I helped your friends, because I'd really, really like a cookie."), -, - l("You tell me. Do I deserve a cookie?"), L_Check; - - mes ""; - mesn; - mesq l("Don't worry, I'm sure you will help them soon enough!"); - next; - - goto L_Bye; - -L_Presentation: - mes ""; - mesn; - mesq l("For a chef? Who said I was a... Oh right, I am."); - next; - mesq l("I was sent here with a task. I can give you a perfect, wonderful, magnificent, superbly well shaped... Cookie!"); - next; - mesq l("But..."); - next; - - goto L_TaskExpanation; - -L_Reward: - mesq l("Yes! @@ is written on my cookie list.", strcharinfo(0)); - next; - mesq lg("That's quite surprising... You don't look very helpful."); - next; - mesq l("Anyway, here, have a cookie!"); - - inventoryplace DeliciousCookie, 1; - - setq General_Cookies, 1; - getnameditem DeliciousCookie, strcharinfo(0); - npctalk3 l("You receive a @@!", getitemlink(DeliciousCookie)); - - next; - mesq lg("I'm sure you'll appreciate its effect, but be careful, these cookies are rare, and you'll need to help the community again before being able to receive another one."); - next; - - goto L_Bye; - -L_Control: - mes ""; - mesn; - mesq l("C'mon, don't be like that and loosen up! Don't you want to know who's behind all of this?!"); - next; - - menu - l("Why not, this might get interesting."), L_Friends, - l("Fine, tell me, who are these all important friends of yours?"), -, - l("No, and I gotta go, see you."), L_Kick; - - mes ""; - mesn; - mesq l("Don't belittle me, my work is deserving of the highest esteem."); - next; - -L_Kick: - closedialog; - - npctalk3 l("No cookie for you!"); - warp "001-1", 39, 41; - - close; - -L_GetCookie: - mesq l("Hey, I'm not a Keebler Elvis! You won't have another one by stalking me like that!"); - next; - mesq l("If you want another cookie, you know what to do!"); - next; - mesq l("Now, move!"); - next; - - goto L_Bye; - -L_LostCookie: - mesq l("Hey, how was the..."); - next; - mesq l("Wait a minute, where's the cookie I gave you?"); - next; - mesq l("I'm talking about the cookie inside which I put all my love!"); - next; - mesq l("The best, the wonderful, the most choice cookie among all others, the..."); - next; - // Angry emote - mesq l("Grr..."); - next; - mesq l("You're lucky that I'm a generous person, here's another one."); - next; - mesq l("This is the last one. If you use it again out of clumsiness, I will use your soft moist parts in the concoction of my next cookie batch."); - next; - - inventoryplace DeliciousCookie, 1; - getnameditem DeliciousCookie, strcharinfo(0); - - npctalk3 l("You receive a @@!", getitemlink(DeliciousCookie)); - -L_Bye: - closedialog; - - npctalk3 l("See you later!"); - - close; - -OnInit: - .sex = G_FEMALE; - .distance = 2; - end; -} diff --git a/npc/001-1/devis.txt b/npc/001-1/devis.txt deleted file mode 100644 index 5f0d4868b..000000000 --- a/npc/001-1/devis.txt +++ /dev/null @@ -1,100 +0,0 @@ -// Evol scripts. -// Authors: -// Reid -// Travolta -// Description: -// La Johanne crew member. - -001-1,193,109,0 script Devis#001-1 NPC_DEVIS_ARTIS,{ - - function say_random_greeting { - .@enora = getq(ArtisQuests_Enora); - if (.@enora == 0) - { - speech - l("Enora, from the Legion of Aemil, has been warned that you were aboard."), - l("She is waiting for you on the dock."); - - return; - } - - .@rand = rand(5); - if (.@rand == 0) goodbye; - else if (.@rand == 1) - { - speech S_LAST_NEXT, - l("A sunny and hot day,"), - l("a quiet place,"), - l("a ground!"), - l("What else do you need?"); - } - else if (.@rand == 2) npctalk3 l("A-hoy matey!"); - else if (.@rand == 3) npctalk3 l("We are glad captain Nard has let you join the crew!"); - else if (.@rand == 4) npctalk3 l("Howdy?"); - - return; - } - - function face_to_PC { - getmapxy(.@map$, .@cx, .@cy, 0); - @Devis_old_dir = .dir; - npc_turntoxy(.@cx, .@cy); - - return; - } - - function local_close { - if (@Devis_old_dir > 0) - { - .dir = @Devis_old_dir; - } - npc_resumemove; - - close; - } - - @Devis_old_dir = -1; - - npc_pausemove; - face_to_PC; - say_random_greeting; - local_close; - -OnTimer1000: - dographmovestep; - -OnInit: - .sex = G_MALE; - .distance = 5; - initmovegraph "start_pos", 193, 109, - "dock_ent", 194, 109, - "dock_right", 192, 114, 195, 115, - "dock_left", 151, 103, 160, 106, - "dock_bot", 161, 119, 163, 127, - "dock_top", 184, 91, 195, 92, - "ship_ent", 19, 28, - "ship_sit", 28, 26, - "dock_mid", 174, 105; - - setmovegraphcmd "start_pos", "dock_mid", 1, "dir 0; wait 2", - "dock_ent", "dock_right", 1, "dir 0; wait 1; dir 2; wait 1; dir 0; wait 1; dir 6; wait 5", - "dock_ent", "dock_mid", 2, "moveon", - "dock_bot", "dock_left", 1, "dir 6; wait 8", - "dock_bot", "dock_mid", 2, "moveon", - "dock_left", "dock_bot", 1, "dir 0; wait 1; dir 2; wait 1; dir 0; wait 1; dir 6; wait 5", - "dock_left", "dock_mid", 2, "moveon", - "dock_right", "dock_ent", 1, "warp 001-2-21 ship_ent", - "dock_right", "dock_mid", 2, "moveon", - "dock_top", "dock_mid", 1, "moveon", - "dock_mid", "dock_bot", 1, "dir 0; wait 1; dir 2; wait 1; dir 0; wait 1; dir 6; wait 5", - "dock_mid", "dock_right", 1, "dir 0; wait 1; dir 2; wait 1; dir 0; wait 1; dir 6; wait 5", - "dock_mid", "dock_left", 1, "dir 0; wait 1; dir 2; wait 1; dir 0; wait 1; dir 6; wait 5", - "dock_mid", "dock_top", 1, "dir 0; wait 1; dir 2; wait 1; dir 0; wait 1; dir 6; wait 5", - "dock_mid", "dock_ent", 2, "warp 001-2-21 ship_ent", - "ship_ent", "ship_sit", 1, "dir 4; sit; wait 14; stand; wait 1", - "ship_sit", "ship_ent", 1, "warp 001-1 dock_ent"; - - firstmove "wait 8", "start_pos"; - initnpctimer; -} - diff --git a/npc/001-1/doors.txt b/npc/001-1/doors.txt deleted file mode 100644 index 31ca2b7df..000000000 --- a/npc/001-1/doors.txt +++ /dev/null @@ -1,57 +0,0 @@ -// Evol scripts. -// Authors: -// 4144 -// Reid -// Description: -// Doors warp and animations in map 001-1 -// - -001-1,57,41,0 script #Warp20 NPC_HIDDEN,0,0,{ -OnTouch: - .@enora = getq(ArtisQuests_Enora); - - if (.@enora < 11) - { - narrator S_LAST_NEXT, - l("The door to the legion building is temporarily closed."); - } - else - { - warp "001-2-33", 34, 46; - } - - closedialog; - close; - -OnUnTouch: - doevent "#Door20::OnUnTouch"; -} - -001-1,57,41,0 script #Door20 NPC_ARTIS_DOOR,2,3,{ - close; - -OnTouch: - .@enora = getq(ArtisQuests_Enora); - if (.@enora < 11) - { - setfakecells 57, 41, 1; - end; - } - setfakecells 57, 41, 0; - doorTouch; - -OnUnTouch: - .@enora = getq(ArtisQuests_Enora); - if (.@enora < 11) - { - end; - } - doorUnTouch; - -OnTimer340: - doorTimer; - -OnInit: - doorInit; -} - diff --git a/npc/001-1/elmo.txt b/npc/001-1/elmo.txt deleted file mode 100644 index 170d397a0..000000000 --- a/npc/001-1/elmo.txt +++ /dev/null @@ -1,20 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Sailor of Nard's La Johanne ship. - -001-1,185,107,0 script Elmo#001-1 NPC_ELMO_ARTIS,{ - speech - l("Oh hey!"), - lg("If you feel bored or anxious, you can always ask some of the people around Artis if they need your help."); - l("It's better than running around in circles doing nothing."); - - close; - -OnInit: - .sex = G_MALE; - .distance = 2; - end; -} - diff --git a/npc/001-1/enora.txt b/npc/001-1/enora.txt deleted file mode 100644 index fea6d6e7e..000000000 --- a/npc/001-1/enora.txt +++ /dev/null @@ -1,455 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Newbie guide for Artis. -// Variables: -// ArtisQuests_Enora -// Values: -// 0 Default. -// 1 BlackSmith quest delivered. -// 2 Chelios Quest given. -// 3 Chelios Quest done. -// 4 BlackSmith gave the sword. -// 5 Light Armor Shop quest delivered. -// 6 Light Armor Shop gave the cloths. -// 7 Market quest delivered. -// 8 Q'Pid merchant. -// 9 Market gave the potion. -// 10 Hill quest delivered. -// 11 Fluffy killed. - -001-1,176,113,0 script Enora#001-1 NPC_HUMAN_FEMALE_NOOB,{ - - function enora_don { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Don is renowned throughout the entire land of Aemil for his blacksmithing skills, and he is here, in Artis."), - l("It's a great honor for us, at the Legion, to hold the security of his business!"), - l("If you search for him you should look in the west of the city, it's the first house just after the left bridge, you can't miss it!"), - l("Chelios, his apprentice, practices outside, mostly."); - - return; - } - - function enora_legion { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("The Legion of Gasaron are a group of warriors who vowed to protect and serve their neighbours."), - l("We hold various training sessions, and also have a task board with a heap of things to do for the city and its surroundings."), - l("It's a good place to earn money, it can also help you to travel throughout the land!"), - l("Each big city hosts a Legion building, Artis' building is located in the north-west."); - - return; - } - - function enora_light_armor { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("The light armor shop is ran by Resa, she is part of the Merchant Guild of Artis."), - l("She is very skilled when it comes to weaving an ordinary piece of cloth into a wonderful work of art!"), - l("Her shop is on the west side of the city, between the Legion building and the library."); - - return; - } - - function enora_market { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("The market is located in the south-east of Artis, it is known as Merchant Guild's exhibit."), - l("You need to be a member of the Merchant Guild to have a chance there."), - l("And I bet you don't know who is in charge of monitoring the security of this place?"); - - switch (select(l("The Legion?"), l("I don't know."))) - { - case 1: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("You hit the nail on the head, it's the Legion of Gasaron!"), - l("Our main responsibility in the city is to protect the Merchant Guild."); - break; - case 2: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Cat got your tongue?"), - l("..."), - l("Your brain liquified to match the level of a piou! It's the Legion of Gasaron."); - break; - } - return; - } - - function enora_hill { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Go north from here until you find the dock warehouse, cross the bridge to the west side of the canal, continue north until you reach another bridge then cross it to the east side of the canal."), - l("You should arrive at a park with a hill nearby."); - - return; - } - - function enora_memories { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("It's so exciting to meet somebody with amnesia!"), - l("Can't you remember anything at all? Or do you have some memories of your past?"), - l("What happens when you try to think about it?"), - l("Does your mind go all fuzzy or does it feel like your head is going to explode??"), - l("Try doing that now!"); - - switch (select(l("Okay, but there won't be any explosions."), - lg("Don't get too excited about it..."))) - { - case 1: - narrator S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("You concentrate and try to summon old memories from within your mind."), - l("You feel numb and everything around you looks foggy, but you can recall the feeling of the cold hard wood of your raft on a stormy night."), - l("A headache hits you and you lose your concentration."); - - speech S_LAST_NEXT, - l("So? You haven't exploded yet! Are you getting anything?"); - - select(l("Not really. All I got was a headache...")); - - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("It's like your memories are locked away in your head! Cool!"); - - break; - case 2: - mes ""; - break; - } - - speech S_LAST_NEXT, - l("Ok, sorry. Back to our fluffies."); - - return; - } - - function enora_reward { - .@exp_reward = getarg(0); - .@zeny_reward = getarg(1); - - getexp .@exp_reward, 0; - Zeny = Zeny + .@zeny_reward; - - narrator S_LAST_NEXT, - l("You received @@ EXP and @@ E.", .@exp_reward, .@zeny_reward); - - return; - } - - function enora_first_quest { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("You probably don't have much business in this city as you don't remember who you are."), - lg("So I was going to ask if maybe you would be interested in giving me a hand with a few errands."); - - switch (select(l("I guess so. What's in it for me?"), - l("Of course! What do you need?"))) - { - case 1: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Some tasks will help you become aquainted with Artis. Trust me."); - break; - case 2: - mes ""; - break; - } - - speech S_LAST_NEXT, - l("I asked Don our blacksmith to prepare a black iron sword for morning, he should be done by now."), - l("Go meet him, and take the package to me, it's an easy task."), - l("You will be able to find Don's house in the west of the city, it's the first house just after the bridge on the left, you can't miss it!"), - l("A young apprentice called Chelios might be waiting outside, speak to him, and return the package to me."); - emotion E_HAPPY; - - setq ArtisQuests_Enora, 1; - - closedialog; - goodbye; - close; - } - - function enora_second_quest { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Thank you for this commission, Chelios is as good as Don when it comes to forging metal."), - l("By the way, did you ever talk with Don?"), - l("If so, I hope that he didn't give you any hard time, sometimes he can get up on the wrong side of the bed he becomes an embittered and grumpy old man..."), - l("Poor Chelios, I don't envy him..."), - l("So, everything went fine?"); - - switch (select(l("Chelios managed to do excellent work."), - l("The old man seemed to be senile."))) - { - case 1: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, l("Fine, let's see his work..."); - narrator S_LAST_NEXT, l("Enora is carefully inspecting the sword."); - speech S_LAST_NEXT, - l("Excellent!"), - l("The detail and craftsmanship that went into this sword can only be accomplished by the most practiced of blacksmiths."); - - break; - case 2: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("He may not have all of his wits but keep in mind one thing:"), - l("Don is renowned throughout the entire land for his blacksmith skills, and he is here, in Artis."), - l("It's a great honor for us, at the Legion, to hold the security of his business!"); - - break; - } - - speech S_LAST_NEXT, - l("After this small overview of Artis, what do you think of our city?"), - l("The Legion of Gasaron is in charge of the security of the intramural part of our cities."), - l("The control and administration of the cities passes hands sometimes. You may find the Mana Order or the Brotherhood in charge instead of us at some point!"), - l("But we are quite lucky here, outside of some tipsy travelers there are no big problems around here, it's not like the capital, Esperia."), - l("Now that I think about it, I have another task for you. I asked Resa from the light armor shop to craft me some new clothes, she is a bit far from here, I can't go there because I need to watch the dock."), - l("Her shop is on the west side of the city, between the Legion building and the library."); - - setq ArtisQuests_Enora, 5; - enora_reward(60, 100); - - closedialog; - npctalk3 l("Thank you very much!"); - close; - } - - function enora_third_quest { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Look how splendid this @@ is!", getitemlink(ArtisTankTop, CamelCottonDye)), - l("It's nearly as good as one from Esperia, have you ever been there?"), - l("Ah... Sorry, I forgot, again."), - l("I mean, you forgot... Well."), - l("If you ever find the time, pass by Esperia, it's the greatest city in all of Gasaron!"), - l("You can find the building of the Legion of Gasaron there, like in any other city, but Esperia is important for us as our headquarters are there."); - - do - { - .@q = select(l("Do you still need help?"), - l("What is this \"legion\"?")); - switch (.@q) - { - case 1: - break; - case 2: - enora_legion; - break; - } - } while (.@q == 2); - - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Oh yes, I have one last errand for you, Q'Pid in the market sells potions."), - l("It has been some days now since I asked her for a box of @@s, but she hasn't delivered anything yet.", getitemlink(PiberriesInfusion)), - l("Please try to figure out what went wrong with this order and bring me those potions."), - l("You will be able to find her in the market in the south-west of Artis."); - - setq ArtisQuests_Enora, 7; - enora_reward(40, 125); - - closedialog; - npctalk3 l("Thank you very much!"); - close; - } - - function enora_fourth_quest { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Awesome!"); - - speech S_LAST_NEXT, - l("I have one more task for you. Trozz, another member of the Legion, sent me a letter earlier today."), - l("Some citizens are worried about the growing number of Fluffies on the hill of Artis."), - l("Children play there and can be badly hurt if they get too close to a Fluffy's nest."), - l("It would have been easy for me to handle it but if you do it, you can earn some respect by killing Fluffies instead of their natural predators!"), - l("Besides, I need to be here to watch out for thieves while La Johanne is docked."), - l("You look confident. I will give you my old gear as reward and acknowledgment for your time... and take these potions as well!"); - - set ArtisFluffyKilled, 0; - - inventoryplace TrainingGladius, 3; - getitem TrainingGladius, 1; - getitem2 ArtisTankTop, 1, 1, 0, 0, 5005, 0, 0, 0; - getitem PiberriesInfusion, 5; - setq ArtisQuests_Enora, 10; - enora_reward(80, 175); - - speech S_LAST_NEXT, - l("Do you know where the hill is?"); - - switch (select(l("Yes I do."), - l("Please guide me."))) - { - case 1: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Perfect! I will wait for you here."); - break; - case 2: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Follow the up-stream and cross the canal twice using the two bridges north from here."), - l("The hill is located on the north-east of Artis."); - break; - } - - closedialog; - npctalk3 l("Thank you very much!"); - close; - } - - function enora_hill_cleaned { - if (getq2(ArtisQuests_Enora) < 9) - { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Oh no, you still have @@ Fluffies to kill.", 10 - getq2(ArtisQuests_Enora)); - - return; - } - else if (getq2(ArtisQuests_Enora) < 10) - { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Only one more Fluffy to kill and it's done!"); - - return; - } - - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("I cannot find the words to express my gratitude for your hard work."), - l("Keep the sword and the jacket, you deserved them!"), - l("You now also have access to the Legion building. Good job, you earned it."), - l("We hold various training sessions, and also have a task board with a heap of things to do for the city and its surroundings."), - l("It's a very good place if you want to make some more money."); - emotion E_WINK; - - if (getq(ArtisQuests_Enora) == 10) - { - setq ArtisQuests_Enora, 11; - enora_reward(140, 500); - } - - return; - } - - function enora_quest_complete { - switch (getq(ArtisQuests_Enora)) - { - case 4: - enora_second_quest; - break; - case 6: - enora_third_quest; - break; - case 9: - enora_fourth_quest; - break; - default: - break; - } - - return; - } - - function enora_paid_potions { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - lg("Are you sure that these are my potions?"); - - if (askyesno() == ASK_YES) - { - delitem PiberriesInfusion, 5; - enora_fourth_quest; - } - - return; - } - - if (getq(ArtisQuests_Enora) == 0) - { - speech S_LAST_NEXT, - l("Hey! You must be @@.", strcharinfo(0)), - lg("Julia told me how they found you in the sea, on a raft with a logo of..."), - l("...I mean log! Made of log!"), - l("I also heard you lost all your memories? That's a shame."), - l("I'm sure you would have some interesting stories to tell!"); - } - else - { - speech S_LAST_NEXT, - l("Hey @@!", strcharinfo(0)), - l("What brings you here today?"); - } - - do - { - .@q = getq(ArtisQuests_Enora); - select - rif(.@q == 0, l("She told me that you had some tasks for me.")), - rif(.@q == 4 || .@q == 6 || .@q == 9, l("I have your package.")), - rif(.@q == 8 && countitem(PiberriesInfusion) >= 5, l("I have your package.")), - rif(.@q >= 10, l("I cleaned up the hill.")), - rif(.@q >= 10, l("How many Fluffies did I kill on the hill?")), - rif(.@q >= 1, l("Who is Don?")), - rif(.@q >= 5, l("Where is the light armor shop?")), - rif(.@q >= 7, l("Where is the market?")), - rif(.@q >= 10, l("Where is the hill?")), - rif(.@q >= 1, l("What is this \"legion\"?")), - l("I wish I could remember something..."), - rif(.@q != 0, l("Nothing.")); - - switch (@menu) - { - case 1: - enora_first_quest; - break; - case 2: - enora_quest_complete; - break; - case 3: - enora_paid_potions; - break; - case 4: - enora_hill_cleaned; - break; - case 5: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("You killed @@ Fluffies.", getq2(ArtisQuests_Enora)); - if (getq2(ArtisQuests_Enora) > 8) - { - mesq l("If you continue there will be none left!"); - next; - } - break; - case 6: - enora_don; - case 7: - enora_light_armor; - break; - case 8: - enora_market; - break; - case 9: - enora_hill; - break; - case 10: - enora_legion; - break; - case 11: - enora_memories; - break; - case 12: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Please come back anytime!"); - } - } while (@menu != 12); - - closedialog; - goodbye; - close; - -OnInit: - .sex = G_FEMALE; - .distance = 5; - end; -} - -001-1,0,0,0 script Mobs#001-1 NPC_HIDDEN,{ - end; - -OnNPCKillEvent: - if (getq(ArtisQuests_Enora) == 10 - && killedrid == Fluffy - && strcharinfo(PC_MAP) == "001-1" - && getq2(ArtisQuests_Enora) < 10) - { - setq(ArtisQuests_Enora, 10, getq2(ArtisQuests_Enora) + 1); - } - end; -} diff --git a/npc/001-1/fexil.txt b/npc/001-1/fexil.txt deleted file mode 100644 index 55d87bc4e..000000000 --- a/npc/001-1/fexil.txt +++ /dev/null @@ -1,144 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Newbie merchant. -// Variables: -// ArtisQuests_Fexil -// Quest states: -// 0 -- not started -// 1 -- Lloyd warned about the quest -// 2 -- Fexil explain what he needs -// 3 -- Fexil buy every fur that the pc bring to him - -001-1,47,134,0 script Fexil#001-1 NPC_ELVEN_MAN_TRADER,{ - - function fexil_quest { - speech S_LAST_NEXT, - l("You know, the life of the merchant is hard. I really hope that Artis and the Merchant Guild will help me to succeed."), - l("Maybe you too you could help me?"), - l("I want to be the first merchant of this square to sell clothes made from @@s!", getitemlink(FluffyFur)), - l("I will buy all of the fur that you will bring me at a good price, let's say, 15 E piece."), - l("Do we have a deal?"); - - switch (select(l("Ok."), l("I don't want to be part of this joke."))) - { - case 1: - setq ArtisQuests_Fexil, 3; - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Awesome! I will wait for you here."); - break; - case 2: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Oh... Ok, I will be around here if you change your mind."); - break; - } - return; - } - - mesn; - mesq lg("Greetings traveler."); - next; - mesq l("I have some clothes and other things for you at a fine price!"); - next; - mesq l("What I sell comes from every corner of Gasaron."); - next; - mesq lg("Interested?"); - next; - - if (getq(ArtisQuests_Fexil) == 1) - { - select(l("I have your pass from the Merchant Guild.")); - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Oh! You saved me, I was too afraid to unpack my stuff without this pass."), - l("Hey, I remember you, we were on the same boat, you are the castaway."); - - switch (select(l("Yes I am."), - l("You're confusing me with someone else."))) - { - case 1: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Oh sure I remember you."), - l("The travel was fine for you? It was terrible for me, I was sea-sick."); - break; - case 2: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Ah, I didn't have much sleep, it's possible."); - break; - } - setq ArtisQuests_Fexil, 2; - fexil_quest; - - closedialog; - goodbye; - close; - } - - .@fexil = getq(ArtisQuests_Fexil); - - select - l("OK, let's trade."), - rif(.@fexil == 2, l("Do you still need help?")), - rif(.@fexil > 2 && countitem(FluffyFur) > 0, l("I have some fur for you.")), - l("No. Sorry."); - - switch (@menu) - { - case 1: - closedialog; - shop "Bag#001-1"; - close; - - case 2: - mes ""; - fexil_quest; - break; - - case 3: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Awesome. How many of those do you want to give me?"); - - do - { - input .@amount; - if (.@amount < 1) - { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Please enter a valid amount."); - continue; - } - if (.@amount > countitem(FluffyFur)) - { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("You don't have enough @@s on you.", getitemlink(FluffyFur)); - continue; - } - - break; - } while (1); - - .@price = 15 * .@amount; - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Deal, I offer you @@ E!", .@price); - - delitem FluffyFur, .@amount; - Zeny = Zeny + .@price; - - break; - - case 4: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Oh... Well, I just started to trade... Thus my technique may not be the best."), - lg("Anyway, if you ever feel interested, just check my bag!"); - break; - } - - closedialog; - goodbye; - close; - -OnInit: - .sex = G_MALE; - .distance = 2; - end; -} diff --git a/npc/001-1/flyingpiou.txt b/npc/001-1/flyingpiou.txt deleted file mode 100644 index f6132f6b9..000000000 --- a/npc/001-1/flyingpiou.txt +++ /dev/null @@ -1,161 +0,0 @@ -// Evol scripts. -// Author: -// Travolta -// Description: -// Pious flying around town -// Variables: -// none - -function script ArtisFlyingPiouLogic { - .@tick = gettimetick(1); - .@LastTimeTouched = getvariableofnpc(.LastTimeTouched, strnpcinfo(3)); - if (.@tick > .@LastTimeTouched + 300) - { - .speed = 200; - set getvariableofnpc(.LastPlayerTouched, strnpcinfo(3)), -1; - } - .@rnd = rand(5) - 3; - if (.@rnd > 0) - return execmovecmd("wait " + .@rnd); - return 0; -} - -001-1,53,117,0 script #FlyingPiou1 NPC_FLYING_PIOU,{ - - function TryCatchPiou { - .@agi = readparam(bAgi); - @ArtisQuests_CatchPiouTries += 1; - getmapxy(.@map$, .@x1, .@y1, 1); - getmapxy(.@map$, .@x2, .@y2, 0); - .@distance = distance(.@x1, .@y1, .@x2, .@y2); - .@chance = max(ArtisQuests_CatchPiou_Difficulcy, - 20 + .@distance * 5 - .@agi/10 - - @ArtisQuests_CatchPiouTries); - return rand(.@chance); - } - - .@charid = getcharid(0); - if (.LastPlayerTouched <= 0) - { - .LastPlayerTouched = .@charid; - @ArtisQuests_CatchPiouTries = 0; - } - else if (.LastPlayerTouched != .@charid) - { - message strcharinfo(0), l("Hm, it seems another player is trying to catch the piou, I shouldn't interfere."); - end; - } - - .@q = getq(ArtisQuests_CatchPiou); - if (.@q != 1) - { - mesn "Narrator"; - mes col(l("You scare the piou, but let it go."), 9); - close; - } - - .@tick = gettimetick(1); - if (.@tick < .LastTimeTouched + min(4, ArtisQuests_CatchPiou_Difficulcy - + @ArtisQuests_CatchPiouTries / 3)) - { - message strcharinfo(0), l("Dang, I scared it! More patience, @@, more patience.", strcharinfo(0)); - .LastTimeTouched = .@tick; - specialeffect(33, SELF); - end; - } - - .LastTimeTouched = .@tick; - - .@rnd = TryCatchPiou(); - if (!.@rnd) - { - npcstop; - stopnpctimer; - getmapxy(.@map$, .@x, .@y, 1); - npcwalkto .@x, .@y; - .@trader$ = "Salem#001-1"; - mesn "Narrator"; - mes col(l("You caught the piou, but it's trying to escape from you. You'd better hurry back to Salem."), 9); - set getvariableofnpc(.LastPiouHunter$, .@trader$), strcharinfo(0); - set getvariableofnpc(.PiouEscapedMessage$, .@trader$), l("Oh no, the piou escaped!"); - set getvariableofnpc(.LastPiouHunterID, .@trader$), .@charid; - set getvariableofnpc(.PiouCaught, .@trader$), 1; - donpcevent .@trader$ + "::OnPiouFlee"; - specialeffect(26, SELF); - close2; - disablenpc strnpcinfo(3); - close; - } - else - { - setarray .RandomFailureMessages$[0], l("So close!"), l("It escaped!"), l("Almost got it!"), l("Oh, the little..."); - .@r = rand(getarraysize(.RandomFailureMessages$)); - message strcharinfo(0), .RandomFailureMessages$[.@r]; - .speed = max(140, 200 - 10 * (@ArtisQuests_CatchPiouTries + - ArtisQuests_CatchPiou_Difficulcy)); - specialeffect(33, SELF); - } - end; - -OnHour00: - .LastTimeTouched = 0; - end; - -OnTimer1000: - dographmovestep; - -OnInit: - .sex = G_OTHER; - .distance = 5; - .walkmask = WALK_WATER; - // .debug = 1; - - initmovegraph "market_start", 53, 117, - "fountain", 79, 75, 102, 91, - "river_bank_1", 107, 94, 117, 102, - "river_bank_2", 117, 110, - "chelios_right", 100, 112, 113, 118, - "chelios_left", 80, 95, 93, 111, - "market_right", 74, 114, 83, 121, - "market_center", 50, 113, 66, 121, - "market_left", 36, 120, 42, 128, - "batiment_inside", 48, 138, 65, 106, - "batiment_behind", 33, 90, 41, 103, - "library_front", 42, 82, 63, 90, - "taree_yard", 69, 82, - "taree_behind", 61, 62, 76, 71, - "townhall_behind", 73, 40, 93, 55, - "townhall_right", 99, 55, 106, 60, - "inn_behind", 107, 63, 123, 76 - ; - - setmovegraphcmd "fountain", "river_bank_1", 1, "call ArtisFlyingPiouLogic", - "river_bank_1", "river_bank_2", 1, "call ArtisFlyingPiouLogic", - "river_bank_2", "chelios_right", 2, "call ArtisFlyingPiouLogic", - "chelios_right", "chelios_left", 1, "call ArtisFlyingPiouLogic", - "chelios_left", "fountain", 1, "wait 1; call ArtisFlyingPiouLogic", - "chelios_left", "market_right", 1, "call ArtisFlyingPiouLogic", - "chelios_right", "market_right", 1, "call ArtisFlyingPiouLogic", - "market_right", "market_center", 1, "call ArtisFlyingPiouLogic", - "market_center", "batiment_inside",1, "call ArtisFlyingPiouLogic", - "batiment_inside","library_front", 1, "call ArtisFlyingPiouLogic", - "library_front", "taree_yard", 1, "call ArtisFlyingPiouLogic", - "library_front", "taree_behind", 1, "call ArtisFlyingPiouLogic", - "library_front", "batiment_behind",1, "call ArtisFlyingPiouLogic", - "batiment_behind","market_left", 1, "wait 3; call ArtisFlyingPiouLogic", - "market_left", "market_center", 1, "call ArtisFlyingPiouLogic", - "taree_yard", "fountain", 1, "call ArtisFlyingPiouLogic", - "taree_behind", "townhall_behind",1, "call ArtisFlyingPiouLogic", - "townhall_behind","townhall_right", 1, "call ArtisFlyingPiouLogic", - "townhall_right", "inn_behind", 1, "call ArtisFlyingPiouLogic", - "inn_behind", "fountain", 1, "wait 2; call ArtisFlyingPiouLogic", - "inn_behind", "river_bank_1", 1, "call ArtisFlyingPiouLogic", - "market_start", "batiment_inside",1, "call ArtisFlyingPiouLogic" - ; - - firstmove "speed 200", "market_start"; - initnpctimer; - - .LastPlayerTouched = -1; - end; -} diff --git a/npc/001-1/harbours.txt b/npc/001-1/harbours.txt deleted file mode 100644 index f1db3fceb..000000000 --- a/npc/001-1/harbours.txt +++ /dev/null @@ -1,84 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Harbour animated tiles. -// Animation: -// Length: 1680 -// Values: -// 2 Hook moving down. -// 4 Hook moving up. -// 6 Hook down. -// 8 Hook up. - -001-1,183,85,0 script #Harbour1 NPC_HARBOUR_WHEEL_BOX,{ - harbourClic; - -OnTimer1670: - harbourTimer; - -OnInit: - .distance = 1; - .alwaysVisible = true; - end; -} - -001-1,183,89,0 script #Harbour2 NPC_HARBOUR_WHEEL,{ - harbourClic; - -OnTimer1670: - harbourTimer; - -OnInit: - .distance = 1; - .alwaysVisible = true; - end; -} - -001-1,198,115,0 script #Harbour3 NPC_HARBOUR_WHEEL_BOX,{ - harbourClic; - -OnTimer1670: - harbourTimer; - -OnInit: - .distance = 1; - .alwaysVisible = true; - end; -} - -001-1,175,119,0 script #Harbour4 NPC_HARBOUR_WHEEL_BOX,{ - harbourClic; - -OnTimer1670: - harbourTimer; - -OnInit: - .distance = 1; - .alwaysVisible = true; - end; -} - -001-1,198,92,0 script #Harbour5 NPC_HARBOUR_WHEEL_BOX,{ - harbourClic; - -OnTimer1670: - harbourTimer; - -OnInit: - .distance = 1; - .alwaysVisible = true; - end; -} - -001-1,151,117,0 script #Harbour6 NPC_HARBOUR_WHEEL,{ - harbourClic; - -OnTimer1670: - harbourTimer; - -OnInit: - .distance = 1; - .alwaysVisible = true; - end; -} diff --git a/npc/001-1/juscare.txt b/npc/001-1/juscare.txt deleted file mode 100644 index 393186fa3..000000000 --- a/npc/001-1/juscare.txt +++ /dev/null @@ -1,93 +0,0 @@ -// Evol scripts. -// Authors: -// Reid -// Travolta -// Description: -// Juscare, walking NPC of the Legion of Aemil on the right part of the Agora of Artis. - -001-1,118,92,0 script Juscare#001-1 NPC_HUMAN_MALE_LEGION_ARTIS,{ - - function shouldTurn { - .@tree = findmovegraphlabel("inn_tree"); - .@table = findmovegraphlabel("inter_inn_fav_table"); - if (.movepos == .@tree || .movepos == .@table) - return 0; - return 1; - } - - function localClose { - if (@Juscar_old_dir > 0) - .dir = @Juscar_old_dir; - npc_resumemove; - close; - } - - npc_pausemove; - @Juscar_old_dir = -1; - if (shouldTurn()) - { - getmapxy(.@map$, .@cx, .@cy, 0); - @Juscar_old_dir = .dir; - npc_turntoxy(.@cx, .@cy); - } - - villagertalk(); - - localClose; - -OnTimer1000: - dographmovestep; - -OnInit: - .sex = G_MALE; - .distance = 4; - // .debug = 1; - initmovegraph - "inn_front", 112, 90, 119, 93, - "inn_tree", 108, 82, - "fountain", 87, 85, 91, 86, - "chelios", 93, 109, - "chelios_road", 89, 107, - "chelios", 93, 109, - "to_market", 76, 119, - "market", 60, 115, 65, 121, - "fishing_spot", 109, 127, - "river_bank", 113, 105, - "eugene", 112, 115, - "inn_door", 118, 89, - "inn_doorstep", 118, 88, - "inter_inn_doorstep", 29, 43, - "inter_inn_2tables", 38, 31, - "inter_inn_fav_table", 51, 33; - - // this is not very obvious stuff - setmovegraphcmd - "inn_front", "inn_door", 1, 0x1, "flags_0 2; dir 4; call open_door #001-1_118_88", - "inn_front", "inn_tree", 2, "dir 2; wait 1; sit; wait 1; emote 106; wait 20; stand; wait 1", - "inn_front", "river_bank",1, "flags_0 8; flags_1 4", - "river_bank", "eugene", 1, 0x4, "moveon", - "eugene", "fishing_spot", 1, 0x4, "wait 7", - "fishing_spot", "chelios", 1, 0x4, "dir 6; wait 1; emote 103; wait 10", - "inn_tree", "inn_door", 1, "flags_1 1; flags_0 2; dir 4; call open_door #001-1_118_88", - "inn_tree", "fountain", 2, "dir 4; wait 1; emote 122; wait 10; dir 0; wait 1", - "fountain", "chelios_road", "moveon", - "chelios_road", "chelios", "dir 6; wait 1; emote 103; wait 7", - "chelios", "eugene", "flags_1 28; flags_0 4", - "chelios", "to_market", 2, 0x20, "flags_1 20; flags_0 10", - "to_market", "market", 1, 0x20, "flags_1 10; flags_0 20; wait 20", - "market", "to_market", "moveon", - "to_market", "chelios", 1, 0x10, "flags_0 10; dir 6; wait 3", - "fishing_spot", "eugene", 1, 0x8, "moveon", - "eugene", "river_bank",1, 0x8, "moveon", - "river_bank", "inn_front", 1, 0x8, "dir 0; wait 5", - "inn_door", "inn_doorstep",1, 0x1, "warp 001-2-28 inter_inn_doorstep; call close_door #001-1_118_88", - "inter_inn_doorstep", "inter_inn_2tables", 1, 0x1, "moveon", - "inter_inn_2tables", "inter_inn_fav_table", 1, 0x1, "flags_1 2; flags_0 1; dir 6; wait 1; sit; wait 15; stand; wait 1", - "inter_inn_fav_table", "inter_inn_2tables", 1, 0x2, "moveon", - "inter_inn_2tables", "inter_inn_doorstep", 1, 0x2, "call open_door #001-1_118_88; warp 001-1 inn_doorstep", - "inn_doorstep", "inn_door", 1, 0x2, "call close_door #001-1_118_88", - "inn_door", "inn_front", 1, 0x2, "flags_1 1; flags_0 2; wait 10"; - - firstmove "wait 4", "inn_front"; - initnpctimer; -} diff --git a/npc/001-1/katja.txt b/npc/001-1/katja.txt deleted file mode 100644 index 2d79a7306..000000000 --- a/npc/001-1/katja.txt +++ /dev/null @@ -1,129 +0,0 @@ -// Evol scripts. -// Authors: -// Reid -// Travolta -// Description: -// Little girl playing around the hill on top of the port. -// She wants you to find her brother. -// Variables: -// AtrilQuests_LazyBrother = 19 -- quest var -// LazyBrother_TreesLeft = 15 -- how many trees left to search -// LazyBrother_TreeSearched[15] -- whether given tree was searched -// LazyBrother_TreeWithBrother -- the number of tree where he's hiding -// Quest states: -// 0 - quest not started -// 1 - Katja asked help, searching the trees -// 2 - Bobo is found, "bad" ending -// 3 - player decided to tell Katja where her brother is -// 4 - "good" ending, player helped Katja - -001-1,164,44,0 script Katja#001-1 NPC_RAIJIN_GIRL,{ - - function QuestReminder { - setcam 5920, 960; - mesq l("Remember, you have to find my brother on the hill east of here."); - next; - mesq l("He is probably hiding up one of the trees. Go close to each tree and look up, otherwise you won't notice him."); - next; - restorecam; - } - - .@q = getq(ArtisQuests_LazyBrother); - mesn; - mesq l("Hey"); - next; - switch(.@q) - { - case 0: - mesq l("You look nice, do you want to help me?"); - break; - case 1: - mesq l("Hi, how is it going?"); - next; - select l("Remind me, what should I do?"); - mes ""; - mesn; - QuestReminder; - close; - case 2: - mesq l("I still didn't find my brother..."); - close; - case 3: - mesq l("Did you find my brother?"); - next; - select(l("Yes, and he promised to be home soon.")); - mes ""; - mesn; - mesq l("Oh thank you so much!"); - next; - mesq l("Please take this @@ for your help.", getitemlink(Aquada)); // Need a different reward. - setq ArtisQuests_LazyBrother, 4; - getitem Aquada, 1; - getexp 500, 0; - close; - case 4: - mesq l("Thank you again for your help!"); - close; - } - next; - - switch (select(l("Of course!"), - l("What kind of help do you need?"), - l("I don't have much time right now."))) - { - case 1: - mes ""; - mesn; - mesq l("Great!"); - emotion E_JOY; - next; - break; - case 2: - mes ""; - mesn; - break; - case 3: - mes ""; - mesn; - mesq l("Okay, I'll be here, if you change your mind."); - emotion E_SAD; - close; - } - -L_Story: - mesq l("Mommy sent me to find my brother Bobo."); - next; - mesq l("He said he is going to climb the highest hill in Artis, which is not far from here."); - next; - mesq l("Our mommy doesn't allow us to go there, because it's dangerous. But he doesn't listen!"); - next; - mesq l("Can you please go there and find him? He is probably hiding in one of those trees, like always."); - next; - mesq l("Because of the dense foliage, you need to go up close to the trees so you don't miss him."); - next; - - switch (select(l("I will find him, don't worry!"), - l("Highest hill in Artis you say? Sounds dangerous, I might fall off."))) - { - case 1: - mes ""; - mesn; - mesq l("Thank you!"); - mes ""; - QuestReminder; - setq ArtisQuests_LazyBrother, 1; - LazyBrother_TreesLeft = 15; - close; - case 2: - mes ""; - mesn; - mesq l("Aw, what will I do now?"); - close; - } - -OnInit: - .sex = G_FEMALE; - .distance = 4; - end; -} - diff --git a/npc/001-1/lucas.txt b/npc/001-1/lucas.txt deleted file mode 100644 index 4058d72e3..000000000 --- a/npc/001-1/lucas.txt +++ /dev/null @@ -1,19 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Legion member. - -001-1,59,44,0 script Lucas#001-1 NPC_LUCAS,{ - - villagertalk(); - - closedialog; - close; - -OnInit: - .sex = G_MALE; - .distance = 3; - end; -} - diff --git a/npc/001-1/manhole.txt b/npc/001-1/manhole.txt deleted file mode 100644 index f2bae5f09..000000000 --- a/npc/001-1/manhole.txt +++ /dev/null @@ -1,56 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// A manhole near Mona's house. -// Variable: -// ArtisQuests_MonaDad -// Quest states: -// 0 - Quest not started -// 1 - Mona explained that her dad was missing - -001-1,152,52,0 script #manhole1-001-1 NPC_NO_SPRITE,{ - - if (getq(ArtisQuests_MonaDad) < 1) { - end; - } - - narrator(S_LAST_BLANK_LINE | S_LAST_NEXT, - l("You hear some creeping and crawling sounds from the murkiness below."), - l("..."), - l("Do you want to enter in sewer?")); - - if (askyesno() == 1) { - cwarp("001-3-0", 152, 56); - } - - bye; - -OnInit: - .sex = G_OTHER; - .distance = 1; - end; -} - -001-1,196,35,0 script #manhole2-001-1 NPC_NO_SPRITE,{ - - if (getq(ArtisQuests_MonaDad) < 1) { - end; - } - - narrator(S_LAST_BLANK_LINE | S_LAST_NEXT, - l("You hear some creeping and crawling sounds from the murkiness below."), - l("..."), - l("Do you want to enter in sewer?")); - - if (askyesno() == 1) { - cwarp("001-3-0", 196, 36); - } - - bye; - -OnInit: - .sex = G_OTHER; - .distance = 1; - end; -} diff --git a/npc/001-1/mapflags.txt b/npc/001-1/mapflags.txt deleted file mode 100644 index 3e5295014..000000000 --- a/npc/001-1/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-1 mapflag town diff --git a/npc/001-1/merlin.txt b/npc/001-1/merlin.txt deleted file mode 100644 index 7a7c15906..000000000 --- a/npc/001-1/merlin.txt +++ /dev/null @@ -1,25 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Fishmonger NPC - -001-1,73,128,0 script Merlin NPC_MERLIN,2,2,{ - -OnTouch: - switch(rand(6)) - { - case 0: npctalkonce(l("Fish, come and see my fish!")); break; - case 1: npctalkonce(l("They are fresh, they are good!")); break; - case 2: npctalkonce(l("Fresh from the sea and cheap!")); break; - case 3: npctalkonce(l("Come, come and see!")); break; - case 4: npctalkonce(l("They are fresh!")); break; - default: npctalkonce(l("Fish is good for the brain!")); - } - end; - -OnInit: - .sex = G_MALE; - .distance = 2; - end; -} diff --git a/npc/001-1/mouboo.txt b/npc/001-1/mouboo.txt deleted file mode 100644 index bee13d1e7..000000000 --- a/npc/001-1/mouboo.txt +++ /dev/null @@ -1,65 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Mouboo on Taree's fence. - -001-1,67,79,4 script Mouboo#Artis0 NPC_MOUBOO,{ - - moubootalk(); - close; - -OnTimer2000: - moubootimer; - -OnInit: - .distance = 2; - .sex = G_OTHER; - .speed = 600; - mouboograph; -} - -001-1,67,80,4 script Mouboo#Artis1 NPC_MOUBOO,{ - - moubootalk(); - close; - -OnTimer2000: - moubootimer; - -OnInit: - .distance = 2; - .sex = G_OTHER; - .speed = 600; - mouboograph; -} - -001-1,67,81,4 script Mouboo#Artis2 NPC_MOUBOO,{ - - moubootalk(); - close; - -OnTimer2000: - moubootimer; - -OnInit: - .distance = 2; - .sex = G_OTHER; - .speed = 600; - mouboograph; -} - -001-1,67,82,4 script Mouboo#Artis3 NPC_MOUBOO,{ - - moubootalk(); - close; - -OnTimer2000: - moubootimer; - -OnInit: - .distance = 2; - .sex = G_OTHER; - .speed = 600; - mouboograph; -} diff --git a/npc/001-1/nalkri.txt b/npc/001-1/nalkri.txt deleted file mode 100644 index e155a8a87..000000000 --- a/npc/001-1/nalkri.txt +++ /dev/null @@ -1,59 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Nalkri, walking NPC of the Legion of Aemil on the west part of Artis. - -001-1,35,84,0 script Nalkri#001-1 NPC_DEMON_MALE_LEGION_ARTIS,{ - npctalk3 l("Stay clear."); - close; - -OnTimer1000: - domovestep; - -OnInit: - initpath "move", 56, 84, - "move", 60, 93, - "move", 68, 98, - "dir", DOWN, 0, - "wait", 1, 0, - "move", 68, 100, - "dir", RIGHT, 0, - "wait", 1, 0, - "dir", DOWN, 0, - "wait", 1, 0, - "dir", LEFT, 0, - "wait", 1, 0, - "dir", UP, 0, - "move", 67, 98, - "dir", RIGHT, 0, - "wait", 2, 0, - "move", 51, 101, - "dir", LEFT, 0, - "wait", 1, 0, - "dir", DOWN, 0, - "wait", 1, 0, - "dir", RIGHT, 0, - "wait", 1, 0, - "dir", UP, 0, - "move", 48, 100, - "dir", RIGHT, 0, - "wait", 1, 0, - "dir", DOWN, 0, - "wait", 1, 0, - "dir", LEFT, 0, - "wait", 1, 0, - "dir", RIGHT, 0, - "move", 55, 96, - "move", 43, 88, - "move", 35, 84, - "dir", LEFT, 0, - "wait", 1, 0, - "dir", DOWN, 0, - "wait", 4, 0, - "dir", RIGHT, 0, - "wait", 1, 0; - - initialmove; - initnpctimer; -} diff --git a/npc/001-1/panels.txt b/npc/001-1/panels.txt deleted file mode 100644 index a82fbabd1..000000000 --- a/npc/001-1/panels.txt +++ /dev/null @@ -1,57 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Panels to give advice and some random information to players. - -001-1,180,25,0 script #ArtisPanel1 NPC_NO_SPRITE,{ - narrator S_LAST_NEXT, - l("You step on something, a panel half overgrown by moss, it has writing on it..."); - - mesq l("Don't fall!"); - next; - mesq l("You've reached the highest natural place of Artis, enjoy the view."); - next; - - closedialog; - close; - -OnInit: - .distance = 2; - end; -} - -001-1,95,51,0 script #ArtisPanel2 NPC_NO_SPRITE,{ - narrator S_LAST_NEXT, - l("You step on something, a shaky and fragile panel with barely visible inscriptions on it..."); - - mesq l("Beware of falling stones from the cliff!"); - next; - mesq l("The other part of this sign has been crushed by a rock."); - next; - - closedialog; - close; - -OnInit: - .distance = 2; - end; -} - -001-1,103,66,0 script #ArtisPanel3 NPC_NO_SPRITE,{ - narrator S_LAST_NEXT, - l("You step on something, a panel with a bitten corner and clear inscriptions on it..."); - - mesq l("Warning! Dangerous fish, do not fall into the lake!"); - next; - narrator S_LAST_NEXT, - l("Somebody tried to stroke the word \"fish\" and tried to replace it with \"sharkes\"."); - - closedialog; - close; - -OnInit: - .distance = 2; - end; -} - diff --git a/npc/001-1/pious.txt b/npc/001-1/pious.txt deleted file mode 100644 index 10f9d8e45..000000000 --- a/npc/001-1/pious.txt +++ /dev/null @@ -1,16 +0,0 @@ -// Evol scripts. -// Author: -// Travolta -// Description: -// Pious on Market -// Variables: -// none - -001-1,55,119,0 script #MarketPiou1 NPC_MARKET_PIOU,{ - end; - -OnInit: - .sex = G_OTHER; - .distance = 2; - end; -} diff --git a/npc/001-1/qonan.txt b/npc/001-1/qonan.txt deleted file mode 100644 index fe255799f..000000000 --- a/npc/001-1/qonan.txt +++ /dev/null @@ -1,111 +0,0 @@ -// Evol scripts. -// Authors: -// Reid -// Travolta -// Description: -// Sailor of Nard's La Johanne ship. -// ArtisQuests_QOnan -- quest variable: -// 0 - not started -// 1 - Q'Onan asked to find Chest -// 2 - Chest found, heading back to Q'Onan -// 3 - Quest completed - -001-1,186,107,0 script Q'Onan#001-1 NPC_QONAN,{ - - .@q = getq(ArtisQuests_QOnan); - if (.@q == 1) goto L_QuestGiven; - if (.@q == 2) goto L_ItemFound; - if (.@q == 3) goto L_QuestDone; - - speech S_LAST_BLANK_LINE, - l("We haven't met, right?"), - l("My name is Q'Onan, I'm a member of Nard's crew."), - l("I have a lot of work here, so I don't even have time to go to the town."), - l("Could you do a small favor for me?"); - - switch (select(l("Go on."), l("I don't have the time sorry."))) - { - case 2: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("No problem, see you next time."); - closedialog; - close; - } - - speech S_FIRST_BLANK_LINE | S_LAST_BLANK_LINE, - l("Before I joined Nard, I used to be a thief."), - l("I'm not proud of it, but I had to steal money from others to keep on living."), - l("Anyway, the last time I stole something I was almost caught."), - l("I robbed a nobleman, took a chest full of coins."), - l("But my luck left me, because as soon as I left his house, the guards started chasing me."), - l("It was at night, so I could barely escape. I ran to Artis hill."), - l("I was afraid to get busted, so I decided to get rid of the evidence."), - l("I buried the chest somewhere on that hill. It was dark, so I don't remember where to dig exactly."), - l("I'm afraid to go there myself, but if you take the risk, you can have half of the loot."), - l("So, what do you say?"); - - select - l("I like money! Consider it done."), - l("Too risky, I might end up in jail. Do it yourself."); - - switch(@menu) - { - case 1: - setq ArtisQuests_QOnan, 1; - getrandompoint(178,26,182,29); - npcdebug "Chest buriad at (" + .move__rand_x + "," + .move__rand_y + ")"; - shovel_addquest("001-1", .move__rand_x, .move__rand_y, "QOnanFoundItem"); - speech S_FIRST_BLANK_LINE | S_LAST_BLANK_LINE, - l("Alright, you will need this shovel."), - l("You should check on the highest part of the cliff, I was hiding there."), - l("I hope to see you soon."); - getitem IronShovel, 1; - close; - case 2: - speech S_FIRST_BLANK_LINE | S_LAST_BLANK_LINE, - l("Come on, don't be a coward!"), - l("Anyway, let me know if you change your mind."); - close; - } - -L_QuestGiven: - speech S_LAST_NEXT, lg("I asked you to do me a favor, did you forget?"); - select l("What should I do, again?"); - speech S_FIRST_BLANK_LINE, - l("Please find the small chest, buried somewhere on Artis hill."), - l("You should check on the highest part of the cliff, I was hiding there."), - l("Bring it to me, and you will get your reward."); - close; - -L_ItemFound: - speech - l("After all this time, it was still there!"), - lg("We are very lucky, my friend."), - l("Let me open it with my key."), - l("Like I promised, here is your share."), - l("I can finally pay off my debts."); - - Zeny += 1800; - setq ArtisQuests_QOnan, 3; - close; - -L_QuestDone: - speech l("Howdy, partner in crime?"); - close; - -OnInit: - .sex = G_MALE; - .distance = 2; - .debug = 1; - end; -} - -function script QOnanFoundItem { - setq ArtisQuests_QOnan, 2; - // getitem SmallChest, 1; - narrator S_FIRST_BLANK_LINE, - l("You found a small chest, surprisingly heavy for it's size."), - l("It's probably full of coins, but no matter how hard you try to open it, you can't."), - l("Better take it back to Q'Onan."); - return; -} diff --git a/npc/001-1/qpid.txt b/npc/001-1/qpid.txt deleted file mode 100644 index d4194ddd5..000000000 --- a/npc/001-1/qpid.txt +++ /dev/null @@ -1,170 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Potion seller, she is part of the Enora's noob quests. - -001-1,65,116,0 script Q'Pid#001-1 NPC_QPID,{ - - function riddle_enigma { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Ok fine, you have up to 3 tries, here is the riddle:"), - l("What is growing and shrinking at the same time?"); - narrator S_LAST_NEXT, - l("You need to type the answer of this riddle in the NPC window."), - l("The answer is a single word, without conjugation."), - l("You can also answer in your native language or in English."); - - do - { - input .@answer$; - .@i++; - - if (riddlevalidation(.@answer$, "life", l("life"))) - { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Oh..."), - l("You seem more cultivated than you look."); - - if (getq(ArtisQuests_Enora) == 7) - { - setq(ArtisQuests_Enora, 9); - speech S_LAST_NEXT | S_NO_NPC_NAME, - l("Fine, take these potions, I will replenish them in the next couple hours anyway."); - } - - break; - } - else if (.@i < 3) - { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Too bad, try again."); - } - else - { - if (getq(ArtisQuests_Enora) == 7) - { - setq(ArtisQuests_Enora, 8); - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("You failed!"), - l("Ivan is the one you should look for now."), - l("He is in a small house between the dock's warehouse and the dojo."), - l("Follow the canal to the north-east and you will find it."), - l("And get out of here, I'm not a map!"); - } - else - { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("You failed!"); - } - - break; - } - } while (true); - - return; - } - - function enora_quest { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("She wants? What if I don't want?"), - l("I'm not a pawn of the Legion, I don't have to obey you!"), - l("Oh and guess what! I'm almost out of potions anyway."); - - switch (select(l("And where can I find these potions?"), - l("You bored me, see you later."))) - { - case 1: - break; - case 2: - return; - } - - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("You don't seem to be from the Legion, let's do a game."), - l("If you find the correct answer, I will give you these potions..."), - l("But if you fail, you will have to get them from the alchemist."), - l("Deal?"); - - if (askyesno() == ASK_YES) - { - riddle_enigma; - } - return; - } - - function alchemist_information { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Do? I don't do them."), - l("I'm sure that you already knew the answer, didn't you?"), - l("You tried to embarrass me, am I right?!"), - lg("It's Ivan... I'm sure that he sent you to annoy me..."), - l("I'm just a merchant, I trade and make deals, yes \"excuse\" me if I'm not as skilled as that stupid alchemist."), - l("But rare are those that receive grants from the Legion itself. For anybody else only a hard work can pay your bills!"); - emotion E_UPSET; - - switch (select(l("Sorry I didn't mean to bother you."), - l("You are just sitting on the shadow of your store."))) - { - case 1: - mes ""; - mesn; - break; - case 2: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, l("You are honest, I like it."); - break; - } - mesq l("Is that all you had to say?"); - next; - - return; - } - - speech S_LAST_NEXT, - l("What?"); - - do - { - .@enora = getq(ArtisQuests_Enora); - - select - rif(.@enora == 7, l("Enora wants her potions.")), - menuaction(l("Trade")), - rif(.@enora > 7, l("What was your riddle?")), - l("How do you do your potions?"), - l("What are you reading?"), - menuaction(l("Quit")); - - switch (@menu) - { - case 1: - enora_quest; - break; - case 2: - closedialog; - shop "Store#Potion001-1"; - close; - case 3: - riddle_enigma; - break; - case 4: - alchemist_information; - break; - case 5: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("It's a poem, about poems... Why are you asking that?"), - l("Because I am a Kralog I can't read such things? That's rubbish."), - l("I borrowed it from the library, you should try to cultivate yourself more instead of insinuate things about people you don't know!"); - break; - } - } while (@menu != 6); - - closedialog; - goodbye; - close; - -OnInit: - .sex = G_FEMALE; - .distance = 3; - end; -} diff --git a/npc/001-1/rumly.txt b/npc/001-1/rumly.txt deleted file mode 100644 index 4a1103fbb..000000000 --- a/npc/001-1/rumly.txt +++ /dev/null @@ -1,226 +0,0 @@ -// Evol scripts. -// Author: -// Vasily_Makarov -// Description: -// Stat resetter. -// Variables: -// General_Rumly -// Values: -// 0 Player hasn't met Rumly -// 1 Last time player has told that he will never come back -// 2 Last time player has told that he will come back later -// 3 Player has already reset his stat -// Others: -// .@visited - Rumly actual variable -// .@wasSP - free status points before reset - -001-1,35,125,0 script Rumly#001-1 NPC_RUMLY,{ - - setnpcdir "Rumly#001-1", 2; - stopnpctimer; - initnpctimer; - - speech S_LAST_NEXT, - l("Hey you, do you have any @@s?", getitemlink(Plushroom)); - -L_Menu: - .@visited = getq(General_Rumly); - .@plush_count = lognbaselvl(1, 10); - - select - l("Plushrooms you say?"), - l("Who are you?"), - rif(.@visited > 0, l("Can you reset my stats please?")), - lg("You are weird, I have to go sorry."); - - switch (@menu) - { - case 1: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Wind and grass is nice and cool, so juicy sweet..."), - l("Our only wish to eat a plush, so juicy sweet..."); - goto L_Menu; - case 2: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - lg("Why are you asking? And who are you too? I've never seen you around before..."), - lg("Wait, are you one of those from the Legion of Gasaron? I didn't do anything wrong, I promise!"), - l("I... I just like to eat the purple and delightful... And natural, and..."); - - switch (select(l("Chill out I won't say anything."), - l("Yes I am and you are going to face justice!"))) - { - case 1: break; - case 2: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("No! No, no, my precious plushrooms! Don’t take me to them, they wants my precious."); - goto L_Quit; - } - - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("I won't forget it, I swear on my precious plushrooms!"), - l("There is an unknown side effect to these plushrooms, they can free you from your past mistakes."), - l("You can use it to clear your stats, to start freshly if you see what I mean..."), - l("Bring me some of these plushrooms and I will show you how it works!"), - l("Although the more powerful you are, the more plushrooms you will need."); - - select - l("Sounds good!"), - rif(countitem(Plushroom) >= .@plush_count, lg("I think I have enough plushrooms on me.")), - l("We will talk about it later."), - l("My stats are too good, I won't need it."); - - switch (@menu) - { - case 1: - if (.@visited < 2) - { - setq General_Rumly, 2; - } - - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Great! Can't wait for some tasty mushrooms!"); - - goto L_Menu; - case 2: - goto L_ResetStats; - case 3: - goto L_Later; - case 4: - goto L_Never; - } - - case 3: - goto L_ResetStats; - case 4: - if (.@visited < 2) goto L_Quit; - - .@rand = rand(2); - - if (.@rand) - { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("See you! And come back with the plushrooms!"); - } - else - { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Oh noes!"), - l("A rabbit!"), - l("He has a guns!"), - l("*Bang bang*"); - narrator S_LAST_NEXT, - l("Rumly is hiding behind the tree."); - } - - goto L_Quit; - } - -L_ResetStats: - if (.@visited == 1) - { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - lg("Changed your mind, uh?"), - l("Very good."), - l("Status point reset can't be undone. Do you really want this?"), - lg("Are you sure about this?"); - } - else - { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - lg("Are you sure about this?"); - } - -L_ConfirmReset: - switch (select(lg("Yes, I am sure."), - lg("I need to think about it..."), - lg("I won't need it, thank you."))) - { - case 1: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Let me just have a quick look at you. Hm... I will need @@ @@s to reset your stats.", .@plush_count, getitemlink(Plushroom)); - - select - rif(countitem(Plushroom) >= .@plush_count, lg("Here, take as many as you need, I have plenty!")), - rif(countitem(Plushroom) > 0 && countitem(Plushroom) < .@plush_count, lg("I don't have enough plushrooms...")), - rif(countitem(Plushroom) == 0, lg("Oh no, I don't have any plushroom on me right now.")), - lg("I have to go, sorry."); - - if (@menu > 1) - { - goto L_Later; - } - - delitem Plushroom, .@plush_count; - - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Thank you."), - l("Now stand still... It should not take much time..."); - - .@wasSP = StatusPoint; - resetstatus; - if (.@visited < 3) - { - setq General_Rumly, 3; - } - if (StatusPoint == .@wasSP) - { - speech S_LAST_NEXT, - l("It seems that you have no status points to reset!"), - lg("But the plushroom you brought was really awesome you know."), - lg("Come back when you will really need me. And bring more plushrooms with you!"); - } - else - { - speech S_LAST_NEXT, - l("Let's see... @@ of your status points have just been reset!", StatusPoint - .@wasSP), - l("Spend it wisely this time."), - lg("But you are welcome to reset your stats again if you bring me some more plushrooms!"); - } - goto L_Quit; - - case 2: - goto L_Later; - case 3: - goto L_Never; - } - -L_Later: - if (.@visited < 2) - { - setq General_Rumly, 2; - } - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Come back soon, and bring @@s!", getitemlink(Plushroom)); - - goto L_Quit; - -L_Never: - if (.@visited < 2) - { - setq General_Rumly, 1; - } - - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - lg("I am sure that you will change your mind."); - - goto L_Quit; - -L_Quit: - setnpcdir "Rumly#001-1", 4; - stopnpctimer; - initnpctimer; - - goodbye; - -OnTimer1800: - stopnpctimer; - - if (getnpcdir("Rumly#001-1") == 2) setnpcdir "Rumly#001-1", 6; - if (getnpcdir("Rumly#001-1") == 4) setnpcdir "Rumly#001-1", 8; - - end; - -OnInit: - .sex = G_MALE; - end; -} diff --git a/npc/001-1/salem.txt b/npc/001-1/salem.txt deleted file mode 100644 index b80cb76e4..000000000 --- a/npc/001-1/salem.txt +++ /dev/null @@ -1,220 +0,0 @@ -// Evol scripts. -// Author: -// Travolta -// Description: -// Trader on the market. One of his pious escaped and -// flies around the town. -// Variables: -// ArtisQuests_CatchPiou -- quest variable -// Quest states: -// 0 -- not started -// 1 -- trader asked to catch piou -// 2 -- quest finished -// Note: this script is ugly like hell - -001-1,57,118,0 script Salem#001-1 NPC_SALEM,{ - - function BuyPiou { - .@price = getarg(0); - mesq l("The piou costs @@ E.", .@price); - next; - select - l("Alright, I'll take one."), - l("I changed my mind."); - - mes ""; - mesn; - if (@menu == 2) - return 4; - if (Zeny < .@price) - { - mesq l("Don't you try to cheat an old merchant! You don't have enough money, you need @@ E.", .@price); - next; - - return 1; - } - if (!checkweight(PiouEgg, 1)) - { - mesq l("You can't carry another @@? What a shame.", PiouEgg); - next; - - return 2; - } - getinventorylist; - if (.@inventorylist_count >= 100) - { - mesq l("You don't have enough room in your backpack for a @@. Go stow some of your junk and come back.", PiouEgg); - next; - - return 3; - } - Zeny = Zeny - .@price; - getitem PiouEgg, 1; - ArtisQuests_PiousBought += 1; - mesq l("You take good care of your piou. Remember to feed it every day."); - - return 0; - } - -// if (2 == select("[debug]continue quest:[debug] start over")) -// { -// debugmes "Starting quest CatchPiou over"; -// setq ArtisQuests_CatchPiou, 0; -// } - - .@q = getq(ArtisQuests_CatchPiou); - @ArtisQuests_PiouPrice = 30000; - - if (.@q == 1) - { - if (.PiouCaught) - { - speech - l("Look who is back..."), - l("And with my piou. That's wonderful. I can only imagine how hard that little bugger was to catch!"), - l("Great, and as I promised, I give you a 90% discount on the @@ of your choice.", getitemlink(PiouEgg)); - next; - - @ArtisQuests_PiouPrice = 3000; - ArtisQuests_PiouDiscount = 1; - donpcevent strnpcinfo(3) + "::OnPiouFlee"; - setq ArtisQuests_CatchPiou, 2; - .@q = getq(ArtisQuests_CatchPiou); - - .LastPiouHunter$ = ""; - ArtisQuests_CatchPiou_Difficulcy = 0; - .@BoughtPiou = BuyPiou(@ArtisQuests_PiouPrice); - if (.@BoughtPiou == 0) - ArtisQuests_PiouDiscount = 0; - else if (.@BoughtPiou == 4) - speech S_FIRST_BLANK_LINE, l("See you next time!"); - - close; - } - else - { - speech - l("Look who is back..."), - l("So, where is my piou? You should not keep an old man waiting. Go and catch it like you said you would."); - next; - goto L_SalemMenuShop; - } - } - - speech S_LAST_NEXT, - l("Good day, my friend, come closer, come closer!"); - l("Just look at my goods for sale! Fresh fruits and vegetables were shipped only this morning. And for reasonable price, of course."); - -L_SalemMenuShop: - .@fexil = getq(ArtisQuests_Fexil); - - select - l("What about those pious? They look so cute."), - l("Let's trade."), - rif(.@q != 0, l("I'd like to buy a piou.")), - rif(.@fexil == 1, l("I'm looking for somebody named Fexil.")), - menuaction(l("Quit")); - - switch (@menu) - { - case 1: - goto L_AboutPious; - break; - case 2: - closedialog; - shop "Store#General001-1"; - close; - case 3: - if (.@q == 2 && ArtisQuests_PiouDiscount) - { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("You still have a 90% discount on one piou."); - @ArtisQuests_PiouPrice = 3000; - } - if (!BuyPiou(@ArtisQuests_PiouPrice)) - ArtisQuests_PiouDiscount = 0; - break; - case 4: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("I think that I've seen this weakling wandering around the beach south from here this morning."); - break; - } - - closedialog; - goodbye; - close; - -L_AboutPious: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Ah, the locals like keeping them as pets."); - l("With proper training, a piou can become a good friend and faithful companion in your adventures."); - - if (getq(ArtisQuests_CatchPiou) >= 2) - { - goto L_SalemMenuShop; - } - - mesq l("Their price is usually high, but you know what? I have a bargain offer for you."); - next; - mesq l("These little pious here can't fly. At least that's what I thought."); - next; - mesq l("One of these little boogers started flying early, and escaped from me."); - next; - mesq l("It's still too young to fly too far away, so it just circles nearby."); - next; - mesq l("But I can't leave to catch it, so I'm asking you."); - next; - mesq l("If you catch the escaped piou and bring it back, I will give you a 90% discount on a piou."); - next; - - select - rif(.@q == 0, l("Sounds like a good deal to me. I'll do it.")), - rif(.@q == 1, l("I'm on my way! I will bring it back to you.")), - l("I don't really have time to go chasing pious, let me just buy one at the regular price (30000 E)."), - l("I don't want to buy a piou right now."); - - mes ""; - mesn; - - switch (@menu) - { - case 1: - goto L_QuestInfo; - case 3: - BuyPiou @ArtisQuests_PiouPrice; - } - closedialog; - goodbye; - close; - -L_QuestInfo: - mesq l("The little piou is flying nearby, all you need is to catch it and bring back to me."); - next; - setq ArtisQuests_CatchPiou, 1; - ArtisQuests_CatchPiou_Difficulcy = 2; - mesq l("Good luck!"); - close; - -OnPiouFlee: - sleep 120000; - if (!.PiouCaught) - end; - .PiouCaught = 0; - .@piou$ = "#FlyingPiou1"; - if (getstrlen(.LastPiouHunter$) > 0) - { - message .LastPiouHunter$, .PiouEscapedMessage$; - .LastPiouHunter$ = ""; - } - // debugmes "The piou escaped from " + .LastPiouHunter$; - sleep 60000; - enablenpc .@piou$; - movenpc .@piou$, 53, 117; - donpcevent .@piou$ + "::OnInit"; - end; - -OnInit: - .sex = G_MALE; - .distance = 5; - end; -} diff --git a/npc/001-1/shop.txt b/npc/001-1/shop.txt deleted file mode 100644 index e3894b8d3..000000000 --- a/npc/001-1/shop.txt +++ /dev/null @@ -1,318 +0,0 @@ -// Evol scripts. -// Authors: -// 4144 -// Reid -// Description: -// Market shops. - -001-1,46,135,0 trader Bag#001-1 NPC_SHOP_BAG,{ - -OnInit: - tradertype(NST_MARKET); - - sellitem PiouLegs, -1, 15; - sellitem Bread, -1, 15; - sellitem Croconut, -1, 50; - sellitem Aquada, -1, 50; - sellitem Armbands, -1, 20; - sellitem LousyMoccasins, -1, 20; - sellitem PiouSlayer, -1, 15; - - .sex = G_OTHER; - .distance = 3; - end; - -OnClock0000: - restoreshopitem PiouLegs, 15; - restoreshopitem Bread, 15; - restoreshopitem Croconut, 50; - restoreshopitem Aquada, 50; - restoreshopitem Armbands, 20; - restoreshopitem LousyMoccasins, 20; - restoreshopitem PiouSlayer, 15; -} - -001-1,49,136,0 trader Warrior Shop#001-1-1 NPC_SHOP_BAG,{ - -OnInit: - tradertype(NST_MARKET); - - sellitem WarlordHelmet, -1, 15; - sellitem WarlordPlate, -1, 15; - sellitem GoldenRubyRing, -1, 50; - sellitem RawTalisman, -1, 50; - sellitem OldTowel, -1, 20; - sellitem TerranitePants, -1, 20; - sellitem TerraniteArmor, -1, 15; - sellitem GoldenDiamondRing, -1, 15; - sellitem Ruby, -1, 15; - sellitem BromenalShield, -1, 15; - - .sex = G_OTHER; - .distance = 3; - end; - -OnClock0000: - restoreshopitem PiouLegs, 15; - restoreshopitem Bread, 15; - restoreshopitem Croconut, 50; - restoreshopitem Aquada, 50; - restoreshopitem Armbands, 20; - restoreshopitem LousyMoccasins, 20; - restoreshopitem PiouSlayer, 15; -} - -001-1,46,125,0 trader Cotton#Dye001-1 NPC_NO_SPRITE,{ - -OnInit: - tradertype(NST_MARKET); - - sellitem BlackCottonDye, -1, 10; - sellitem SilverCottonDye, -1, 10; - sellitem CamelCottonDye, -1, 10; - sellitem BrownCottonDye, -1, 10; - sellitem OrangeCottonDye, -1, 10; - sellitem DarkRedCottonDye, -1, 10; - sellitem RedCottonDye, -1, 10; - sellitem FuschiaCottonDye, -1, 10; - sellitem PinkCottonDye, -1, 10; - sellitem MauveCottonDye, -1, 10; - sellitem PurpleCottonDye, -1, 10; - sellitem NavyBlueCottonDye, -1, 10; - sellitem BlueGrayCottonDye, -1, 10; - sellitem BlueCottonDye, -1, 10; - sellitem TealCottonDye, -1, 10; - sellitem GreenCottonDye, -1, 10; - sellitem LimeCottonDye, -1, 10; - sellitem KhakiCottonDye, -1, 10; - sellitem YellowCottonDye, -1, 10; - - .sex = G_OTHER; - .distance = 4; - end; - -OnClock0000: - restoreshopitem BlackCottonDye, 10; - restoreshopitem SilverCottonDye, 10; - restoreshopitem CamelCottonDye, 10; - restoreshopitem BrownCottonDye, 10; - restoreshopitem OrangeCottonDye, 10; - restoreshopitem DarkRedCottonDye, 10; - restoreshopitem RedCottonDye, 10; - restoreshopitem FuschiaCottonDye, 10; - restoreshopitem PinkCottonDye, 10; - restoreshopitem MauveCottonDye, 10; - restoreshopitem PurpleCottonDye, 10; - restoreshopitem NavyBlueCottonDye, 10; - restoreshopitem BlueGrayCottonDye, 10; - restoreshopitem BlueCottonDye, 10; - restoreshopitem TealCottonDye, 10; - restoreshopitem GreenCottonDye, 10; - restoreshopitem LimeCottonDye, 10; - restoreshopitem KhakiCottonDye, 10; - restoreshopitem YellowCottonDye, 10; -} - -001-1,48,125,0 trader Cashmere#Dye001-1 NPC_NO_SPRITE,{ - -OnInit: - tradertype(NST_MARKET); - - sellitem CrimsonCashmereDye, -1, 7; - sellitem ChocolateCashmereDye, -1, 7; - sellitem MintCashmereDye, -1, 7; - - .sex = G_OTHER; - .distance = 4; - end; - -OnClock0000: - restoreshopitem CrimsonCashmereDye, 7; - restoreshopitem ChocolateCashmereDye, 7; - restoreshopitem MintCashmereDye, 7; -} - -001-1,64,114,0 trader Store#Aquada001-1 NPC_NO_SPRITE,{ - -OnInit: - tradertype(NST_MARKET); - - sellitem Aquada, -1, 50; - - .sex = G_OTHER; - .distance = 4; - end; - -OnClock0000: - restoreshopitem Aquada, 20; -OnClock0800: - restoreshopitem Aquada, 20; -OnClock1600: - restoreshopitem Aquada, 20; -} - -001-1,72,126,0 trader Store#SeaStore001-1 NPC_NO_SPRITE,{ - -OnInit: - tradertype(NST_MARKET); - - sellitem Aquada, -1, 10; - sellitem UrchinMeat, -1, 20; - sellitem SmallTentacles, -1, 30; - sellitem Tentacles, -1, 15; - - .sex = G_OTHER; - .distance = 4; - end; - -OnClock0000: - restoreshopitem Aquada, 3; - restoreshopitem UrchinMeat, 12; - restoreshopitem SmallTentacles, 4; -OnClock0800: - restoreshopitem Aquada, 6; - restoreshopitem UrchinMeat, 8; - restoreshopitem Tentacles, 8; - restoreshopitem SmallTentacles, 2; -OnClock1600: - restoreshopitem Aquada, 5; - restoreshopitem UrchinMeat, 10; - restoreshopitem SmallTentacles, 7; -} - -001-1,72,129,0 trader Store#FishStore001-1 NPC_NO_SPRITE,{ - -OnInit: - tradertype(NST_MARKET); - - sellitem CommonCarp, -1, 8; - sellitem GrassCarp, -1, 7; - - .sex = G_OTHER; - .distance = 4; - end; - -OnClock0000: - restoreshopitem CommonCarp, 3; - restoreshopitem GrassCarp, 2; -OnClock0800: - restoreshopitem CommonCarp, 2; - restoreshopitem GrassCarp, 3; -OnClock1600: - restoreshopitem CommonCarp, 3; - restoreshopitem GrassCarp, 4; -} - -001-1,48,116,0 trader Store#Manana001-1 NPC_NO_SPRITE,{ - -OnInit: - tradertype(NST_MARKET); - - sellitem Manana, -1, 60; - - .sex = G_OTHER; - .distance = 4; - end; - -OnClock0000: - restoreshopitem Manana, 20; -OnClock0800: - restoreshopitem Manana, 15; -OnClock1600: - restoreshopitem Manana, 20; -} - -001-1,53,123,0 trader Store#Various001-1 NPC_NO_SPRITE,{ - -OnInit: - tradertype(NST_MARKET); - - sellitem Manana, -1, 30; -// Add soft drinks. - - .sex = G_OTHER; - .distance = 4; - end; - -OnClock0000: - restoreshopitem Manana, 10; -OnClock0800: - restoreshopitem Manana, 15; -OnClock1600: - restoreshopitem Manana, 6; -} - -001-1,67,116,0 trader Store#Potion001-1 NPC_NO_SPRITE,{ - -OnInit: - tradertype(NST_MARKET); - - sellitem PiberriesInfusion, -1, 200; - sellitem FatesPotion, -1, 100; - sellitem ClothoLiquor, -1, 50; - sellitem LachesisBrew, -1, 30; - sellitem AtroposMixture, -1, 10; - sellitem ElixirOfLife, -1, 2; - - .sex = G_OTHER; - .distance = 4; - end; - -OnClock0000: - restoreshopitem PiberriesInfusion, 150; - restoreshopitem FatesPotion, 80; - restoreshopitem ClothoLiquor, 40; - restoreshopitem LachesisBrew, 20; - restoreshopitem AtroposMixture, 7; - restoreshopitem ElixirOfLife, 1; -OnClock1200: - restoreshopitem PiberriesInfusion, 80; - restoreshopitem FatesPotion, 40; - restoreshopitem ClothoLiquor, 20; - restoreshopitem LachesisBrew, 10; - restoreshopitem AtroposMixture, 4; -} - -001-1,58,119,0 trader Store#General001-1 NPC_NO_SPRITE,{ - -OnInit: - tradertype(NST_MARKET); - - sellitem Manana, -1, 100; - sellitem Carrot, -1, 80; - sellitem Aquada, -1, 50; - sellitem Plushroom, -1, 100; - sellitem Curshroom, -1, 80; - sellitem Piberries, -1, 150; - sellitem PiouEgg, -1, 25; -// Add soft drinks. - - .sex = G_OTHER; - .distance = 4; - end; - -OnClock0000: - restoreshopitem Manana, 50; - restoreshopitem Carrot, 40; - restoreshopitem Aquada, 30; - restoreshopitem Plushroom, 40; - restoreshopitem Curshroom, 30; - restoreshopitem Piberries, 40; - restoreshopitem PiouEgg, 10; -OnClock0800: - restoreshopitem Manana, 30; - restoreshopitem Carrot, 30; - restoreshopitem Aquada, 30; - restoreshopitem Plushroom, 40; - restoreshopitem Curshroom, 30; - restoreshopitem Piberries, 70; - restoreshopitem PiouEgg, 10; -OnClock1600: - restoreshopitem Manana, 40; - restoreshopitem Carrot, 40; - restoreshopitem Aquada, 20; - restoreshopitem Plushroom, 20; - restoreshopitem Curshroom, 20; - restoreshopitem Piberries, 30; - restoreshopitem PiouEgg, 5; -} diff --git a/npc/001-1/sign.txt b/npc/001-1/sign.txt deleted file mode 100644 index d489cc19f..000000000 --- a/npc/001-1/sign.txt +++ /dev/null @@ -1,186 +0,0 @@ -// Evol scripts. -// Authors: -// Ablu -// Reid -// Description: -// Sign pillars aside Artis houses. - -001-1,73,119,0 script Sign#001-1-s-market NPC_NO_SPRITE,{ - npctalkonce l("Market Place"); - close; - -OnInit: - .distance = 1; - .sex = G_OTHER; - end; -} - -001-1,48,122,0 script Sign#001-1-s-marketright NPC_NO_SPRITE,{ - npctalkonce l("Market Place"); - close; - -OnInit: - .distance = 1; - .sex = G_OTHER; - end; -} - -001-1,57,88,0 script Sign#001-1-s-marketdir NPC_NO_SPRITE,{ - npctalkonce l("↓ Market Place"); - close; - -OnInit: - .distance = 1; - .sex = G_OTHER; - end; -} - -001-1,55,86,0 script Sign#001-1-s-exit-l-dir NPC_NO_SPRITE,{ - npctalkonce l("← Exit"); - close; - -OnInit: - .distance = 1; - .sex = G_OTHER; - end; -} - -001-1,59,85,0 script Sign#001-1-s-legiondir NPC_NO_SPRITE,{ - npctalkonce l("↑ Legion"); - close; - -OnInit: - .distance = 1; - .sex = G_OTHER; - end; -} - -001-1,57,80,0 script Sign#001-1-s-library NPC_NO_SPRITE,{ - npctalkonce l("Library"); - close; - -OnInit: - .distance = 1; - .sex = G_OTHER; - end; -} - -001-1,57,71,0 script Sign#001-1-s-lightarmor NPC_NO_SPRITE,{ - npctalkonce l("Light Armor Shop"); - close; - -OnInit: - .distance = 1; - .sex = G_OTHER; - end; -} - -001-1,53,56,0 script Sign#001-1-s-legion NPC_OFFSET_NO_SPRITE,{ - npctalkonce l("Legion of Aemil"); - close; - -OnInit: - .distance = 1; - .sex = G_OTHER; - end; -} - -001-1,60,56,0 script Sign#001-1-s-legionright NPC_OFFSET_NO_SPRITE,{ - npctalkonce l("Legion of Aemil"); - close; - -OnInit: - .distance = 1; - .sex = G_OTHER; - end; -} - -001-1,91,66,0 script Sign#001-1-s-cityhall NPC_NO_SPRITE,{ - npctalkonce l("City Hall"); - close; - -OnInit: - .distance = 1; - .sex = G_OTHER; - end; -} - -001-1,95,111,0 script Sign#001-1-s-blacksmith NPC_NO_SPRITE,{ - npctalkonce l("Blacksmith"); - close; - -OnInit: - .distance = 1; - .sex = G_OTHER; - end; -} - -001-1,115,88,0 script Sign#001-1-s-inn NPC_NO_SPRITE,{ - npctalkonce l("Inn"); - close; - -OnInit: - .distance = 1; - .sex = G_OTHER; - end; -} - -001-1,134,85,0 script Sign#001-1-s-innright NPC_OFFSET_NO_SPRITE,{ - npctalkonce l("Inn"); - close; - -OnInit: - .distance = 1; - .sex = G_OTHER; - end; -} - -001-1,118,36,0 script Sign#001-1-s-merchantg NPC_NO_SPRITE,{ - npctalkonce l("Merchant Guild"); - close; - -OnInit: - .distance = 1; - .sex = G_OTHER; - end; -} - -001-1,171,48,0 script Sign#001-1-s-hill NPC_OFFSET_NO_SPRITE,{ - npctalkonce l("Hill & Cliff"); - close; - -OnInit: - .distance = 1; - .sex = G_OTHER; - end; -} - -001-1,161,72,0 script Sign#001-1-s-alchemist NPC_NO_SPRITE,{ - npctalkonce l("Alchemist's Laboratory"); - close; - -OnInit: - .distance = 1; - .sex = G_OTHER; - end; -} - -001-1,175,76,0 script Sign#001-1-s-warehouse NPC_NO_SPRITE,{ - npctalkonce l("Docks Warehouse"); - close; - -OnInit: - .distance = 1; - .sex = G_OTHER; - end; -} - -001-1,47,97,0 script Sign#001-1-s-barber NPC_NO_SPRITE,{ - npctalkonce l("Barber"); - close; - -OnInit: - .distance = 1; - .sex = G_OTHER; - end; -} diff --git a/npc/001-1/taree.txt b/npc/001-1/taree.txt deleted file mode 100644 index 5af18b0e2..000000000 --- a/npc/001-1/taree.txt +++ /dev/null @@ -1,21 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Mouboo farmer. - -001-1,68,79,0 script Taree NPC_ELVEN_MAN_MOUBOO_SHOP,{ - mesn; - mesq l("Moo!"); - - goto L_Close; - -L_Close: - close; - -OnInit: - .sex = G_MALE; - .distance = 3; - end; -} - diff --git a/npc/001-1/treeleaf.txt b/npc/001-1/treeleaf.txt deleted file mode 100644 index dd1280a69..000000000 --- a/npc/001-1/treeleaf.txt +++ /dev/null @@ -1,22 +0,0 @@ -// Evol scripts. -// Authors: -// Ablu -// Reid -// Description: -// Falling tree leaf - -001-1,39,54,4 script #treeleaf0 NPC_TREE_LEAF,{ - .dir = 2; - stopnpctimer; - initnpctimer; - close; - -OnTimer2800: - .dir = 4; - stopnpctimer; - end; - -OnInit: - .distance = 1; - end; -} diff --git a/npc/001-1/trees.txt b/npc/001-1/trees.txt deleted file mode 100644 index cba42f8ff..000000000 --- a/npc/001-1/trees.txt +++ /dev/null @@ -1,235 +0,0 @@ -// Evol scripts. -// Author: -// Travolta -// Description: -// Invisible tree NPCs for "Lazy Brother" quest -// Variables: -// AtrilQuests_LazyBrother = 19 -- quest var -// LazyBrother_TreesLeft = 15 -- how many trees left to search -// LazyBrother_TreeSearched[15] -- whether given tree was searched -// LazyBrother_TreeWithBrother -- the number of tree where he's hiding -// Quest states: -// 0 - quest not started -// 1 - Katja asked help, searching the trees -// 2 - Bobo is found, "bad" ending -// 3 - player decided to tell Katja where her brother is -// 4 - "good" ending, player helped Katja - -function script LazyBrotherTreeFunc { - .@q = getq(ArtisQuests_LazyBrother); - if (.@q == 0 || .@q >= 2) - return; - .@TreeNum = getarg(0); - if (LazyBrother_TreeWithBrother == .@TreeNum) - goto L_FoundHim; - if (LazyBrother_TreeWithBrother > 0) - { - mes l("You search the tree but don't find anybody."); - close2; - return; - } - if (LazyBrother_TreeSearched[.@TreeNum] == 1) - { - mes l("You already looked here."); - close2; - return; - } - else - { - LazyBrother_TreeSearched[.@TreeNum] = 1; - } - .@found = rand(1, LazyBrother_TreesLeft--); - if (.@found == 1) - { - mes l("You found him!"); - LazyBrother_TreeWithBrother = .@TreeNum; - next; - } - else - { - mes l("You search the tree but don't find anybody."); - close2; - return; - } - -L_FoundHim: - mes l("You notice a young boy sitting on one of the highest branches of the tree."); - next; - mes l("He is eating an apple, thoroughly enjoying it."); - next; - select(l("Hey there, are you Bobo, Katja's brother?")); - mes ""; - mesn "Bobo"; - mesq l("Yes, it's me. It's such a fine view from here!"); - next; - select(lg("Your sister sent me to find you. Your mother is worried.")); - mes ""; - mesn "Bobo"; - mesq l("Oh, nooooo... If I go home now, my mum will give me chores."); - next; - mesq l("But if you tell my sister, that you didn't find me, I can stay here all day, eating apples and enjoying the view."); - next; - mesq l("I will give you my pocket money if you do."); - next; - switch (select(l("A small lie is really just a fib, and I could really use some cash..."), - l("I will not lie to a little girl! And your mother needs your help."))) - { - case 1: - mes ""; - mesn "Bobo"; - mesq l("Here you go."); - next; - mesn "Narrator"; - mes l("Somehow you don't feel good about your deed."); - // Karma -= 2; - setq ArtisQuests_LazyBrother, 2; - Zeny += 100; - getexp 500, 0; - break; - case 2: - mes ""; - mesn "Bobo"; - mesq l("Okay... Tell my sister I'll go home soon."); - setq ArtisQuests_LazyBrother, 3; - break; - } - LazyBrother_TreesLeft = 0; - LazyBrother_TreeWithBrother = 0; - cleararray LazyBrother_TreeSearched,0,15; - close; -} - -001-1,179,30,0 script #AtrilTree1 NPC_KATJA_TREE,{ - LazyBrotherTreeFunc(1); - end; -OnInit: - .sex = G_OTHER; - .distance = 1; - end; -} - -001-1,177,29,0 script #AtrilTree2 NPC_KATJA_TREE,{ - LazyBrotherTreeFunc(2); - end; -OnInit: - .sex = G_OTHER; - .distance = 1; - end; -} - -001-1,183,28,0 script #AtrilTree3 NPC_KATJA_TREE,{ - LazyBrotherTreeFunc(3); - end; -OnInit: - .sex = G_OTHER; - .distance = 1; - end; -} - -001-1,182,25,0 script #AtrilTree4 NPC_KATJA_TREE,{ - LazyBrotherTreeFunc(4); - end; -OnInit: - .sex = G_OTHER; - .distance = 1; - end; -} - -001-1,187,26,0 script #AtrilTree5 NPC_KATJA_TREE,{ - LazyBrotherTreeFunc(5); - end; -OnInit: - .sex = G_OTHER; - .distance = 1; - end; -} - -001-1,189,28,0 script #AtrilTree6 NPC_KATJA_TREE,{ - LazyBrotherTreeFunc(6); - end; -OnInit: - .sex = G_OTHER; - .distance = 1; - end; -} - -001-1,184,30,0 script #AtrilTree7 NPC_KATJA_TREE,{ - LazyBrotherTreeFunc(7); - end; -OnInit: - .sex = G_OTHER; - .distance = 1; - end; -} - -001-1,189,31,0 script #AtrilTree8 NPC_KATJA_TREE,{ - LazyBrotherTreeFunc(8); - end; -OnInit: - .sex = G_OTHER; - .distance = 1; - end; -} - -001-1,191,30,0 script #AtrilTree9 NPC_KATJA_TREE,{ - LazyBrotherTreeFunc(9); - end; -OnInit: - .sex = G_OTHER; - .distance = 1; - end; -} - -001-1,191,33,0 script #AtrilTree10 NPC_KATJA_TREE,{ - LazyBrotherTreeFunc(10); - end; -OnInit: - .sex = G_OTHER; - .distance = 1; - end; -} - -001-1,187,34,0 script #AtrilTree11 NPC_KATJA_TREE,{ - LazyBrotherTreeFunc(11); - end; -OnInit: - .sex = G_OTHER; - .distance = 1; - end; -} - -001-1,185,35,0 script #AtrilTree12 NPC_KATJA_TREE,{ - LazyBrotherTreeFunc(12); - end; -OnInit: - .sex = G_OTHER; - .distance = 1; - end; -} - -001-1,182,34,0 script #AtrilTree13 NPC_KATJA_TREE,{ - LazyBrotherTreeFunc(13); - end; -OnInit: - .sex = G_OTHER; - .distance = 1; - end; -} - -001-1,180,33,0 script #AtrilTree14 NPC_KATJA_TREE,{ - LazyBrotherTreeFunc(14); - end; -OnInit: - .sex = G_OTHER; - .distance = 1; - end; -} - -001-1,181,32,0 script #AtrilTree15 NPC_KATJA_TREE,{ - LazyBrotherTreeFunc(15); - end; -OnInit: - .sex = G_OTHER; - .distance = 1; - end; -} diff --git a/npc/001-1/xilaxa.txt b/npc/001-1/xilaxa.txt deleted file mode 100644 index 5b7ec398a..000000000 --- a/npc/001-1/xilaxa.txt +++ /dev/null @@ -1,67 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Moon, main NPC for the urchin quest. - -001-1,52,44,0 script Xilaxa#001-1 NPC_UKAR_MALE_LEGION_ARTIS,{ - - function face_to_PC { - getmapxy(.@map$, .@cx, .@cy, 0); - @Devis_old_dir = .dir; - npc_turntoxy(.@cx, .@cy); - - return; - } - - function local_close { - if (@Devis_old_dir != .dir) - { - .dir = @Devis_old_dir; - } - npc_resumemove; - - close; - } - - npc_pausemove; - face_to_PC; - npctalkonce goodbye_msg(); - local_close; - -OnTimer1000: - dographmovestep; - -OnInit: - .sex = G_MALE; - .distance = 5; - initmovegraph "mid", 54, 43, 60, 46, - "left", 47, 50, 52, 55, - "right", 62, 50, 67, 55; - - setmovegraphcmd "mid", "left", 1, "dir 0; wait 4", - "mid", "left", 4, "dir 2; wait 3; dir 0; wait 2; dir 6; wait 1; dir 0", - "mid", "left", 2, "dir 4; wait 5; dir 0; wait 2", - "mid", "left", 3, "dir 6; wait 1; dir 0; wait 3; dir 2; wait 3; dir 0", - "mid", "left", 1, "dir 0; wait 1; dir 2; wait 1; dir 0; wait 1; dir 6; wait 5", - "mid", "right", 3, "dir 0; wait 4", - "mid", "right", 4, "dir 2; wait 3; dir 0; wait 2; dir 6; wait 1; dir 0", - "mid", "right", 2, "dir 4; wait 5; dir 0; wait 2", - "mid", "right", 1, "dir 6; wait 1; dir 0; wait 3; dir 2; wait 3; dir 0", - "mid", "right", 2, "dir 0; wait 1; dir 2; wait 1; dir 0; wait 1; dir 6; wait 5", - - "left", "mid", 2, "dir 0; wait 4", - "left", "mid", 1, "dir 2; wait 3; dir 0; wait 2; dir 6; wait 1; dir 0", - "left", "mid", 3, "dir 4; wait 5; dir 0; wait 2", - "left", "mid", 2, "dir 6; wait 1; dir 0; wait 3; dir 2; wait 3; dir 0", - "left", "mid", 3, "dir 0; wait 1; dir 2; wait 1; dir 0; wait 1; dir 6; wait 5", - - "right", "mid", 3, "dir 0; wait 4", - "right", "mid", 2, "dir 2; wait 3; dir 0; wait 2; dir 6; wait 1; dir 0", - "right", "mid", 1, "dir 4; wait 5; dir 0; wait 2", - "right", "mid", 1, "dir 6; wait 1; dir 0; wait 3; dir 2; wait 3; dir 0", - "right", "mid", 2, "dir 0; wait 1; dir 2; wait 1; dir 0; wait 1; dir 6; wait 5"; - - firstmove "wait 5", "mid"; - initnpctimer; -} diff --git a/npc/001-2-0/_import.txt b/npc/001-2-0/_import.txt deleted file mode 100644 index 2fb6a2627..000000000 --- a/npc/001-2-0/_import.txt +++ /dev/null @@ -1,6 +0,0 @@ -// Map 001-2-0: Light Armor Shop -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-0/_warps.txt", -"npc/001-2-0/mapflags.txt", -"npc/001-2-0/resa.txt", -"npc/001-2-0/shop.txt", diff --git a/npc/001-2-0/_warps.txt b/npc/001-2-0/_warps.txt deleted file mode 100644 index c81b7fa6b..000000000 --- a/npc/001-2-0/_warps.txt +++ /dev/null @@ -1,4 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-0: Light Armor Shop warps -001-2-0,30,35,0 warp #001-2-0_30_35 0,0,001-1,51,66 -001-2-0,37,46,0 warp #001-2-0_37_46 0,0,001-1,55,72 diff --git a/npc/001-2-0/mapflags.txt b/npc/001-2-0/mapflags.txt deleted file mode 100644 index a1781431f..000000000 --- a/npc/001-2-0/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-0 mapflag town diff --git a/npc/001-2-0/resa.txt b/npc/001-2-0/resa.txt deleted file mode 100644 index 1530c8617..000000000 --- a/npc/001-2-0/resa.txt +++ /dev/null @@ -1,80 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Light Armor shop keeper. -// Variables: -// ArtisQuests_Enora -// Values: -// 0 Default. -// 1 BlackSmith quest delivered. -// 2 Chelios Quest given. -// 3 Chelios Quest done. -// 4 BlackSmith gave the sword. -// 5 Light Armor Shop quest delivered. -// 6 Light Armor Shop gave the cloths. - -001-2-0,37,28,0 script Resa NPC_ELVEN_FEMALE_ARMOR_SHOP,{ - - function explain_craft { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Did you see Don the blacksmith? He might know how you could improve your metal equipment."), - l("Nevertheless, you can craft some cards that you can then attach to your equipment."), - l("We sell a brimmed hat, you can craft a feather card and attach it to this hat to obtain an enhanced version of it!"); - - return; - } - - function enora_quest { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("I thought that she would never come to pick it up!"), - l("Here it is, a fashionable @@.", getitemlink(ArtisTankTop, CamelCottonDye)), - l("I asked Calypsan to dye this tank top, now it has an unique look!"); - - narrator S_LAST_NEXT, l("You pick up the package."); - - setq ArtisQuests_Enora, 6; - - return; - } - - speech S_LAST_NEXT, - l("Welcome to my office."), - l("What would you like today?"); - - do - { - .@enora = getq(ArtisQuests_Enora); - select - rif(.@enora == 5, lg("I came to retrieve a package for Enora.")), - menuaction(l("Trade")), - l("How can I improve my equipment?"), - menuaction(l("Quit")); - - switch (@menu) - { - case 1: - enora_quest; - closedialog; - goodbye; - close; - case 2: - closedialog; - shop "Store#001-2-0"; - close; - case 3: - explain_craft; - break; - case 4: - closedialog; - goodbye; - close; - } - } while (1); - - -OnInit: - .sex = G_FEMALE; - .distance = 2; - end; -} diff --git a/npc/001-2-0/shop.txt b/npc/001-2-0/shop.txt deleted file mode 100644 index 9fe97b17e..000000000 --- a/npc/001-2-0/shop.txt +++ /dev/null @@ -1,35 +0,0 @@ -// Evol scripts. -// Authors: -// 4144 -// Reid -// Description: -// Light armor shop. - -001-2-0,37,29,0 trader Store#001-2-0 NPC_NO_SPRITE,{ -// The ArtisTankTop should be store at x: 39 or 40, y: 31. -// 38,35 is server's location of where client displays a black torso gear on display. (using @where for server). -// 35,27 is some shelves and a cabinet at 4 tiles from where player select it. -// 39,27 is where to put store that sells only fabric. (the cloth shelf). -OnInit: - tradertype(NST_MARKET); - - sellitem ArtisTankTop, -1, 50; - sellitem VneckJumper, -1, 30; - sellitem BrownTrousers, -1, 30; - sellitem BrimmedHat, -1, 35; - - .sex = G_OTHER; - .distance = 2; - end; - -OnClock0000: - restoreshopitem ArtisTankTop, 30; - restoreshopitem VneckJumper, 12; - restoreshopitem BrownTrousers, 15; - restoreshopitem BrimmedHat, 10; -OnClock1200: - restoreshopitem ArtisTankTop, 25; - restoreshopitem VneckJumper, 10; - restoreshopitem BrownTrousers, 10; - restoreshopitem BrimmedHat, 20; -} diff --git a/npc/001-2-1/_import.txt b/npc/001-2-1/_import.txt deleted file mode 100644 index 859332420..000000000 --- a/npc/001-2-1/_import.txt +++ /dev/null @@ -1,5 +0,0 @@ -// Map 001-2-1: Noble House -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-1/_savepoints.txt", -"npc/001-2-1/_warps.txt", -"npc/001-2-1/mapflags.txt", diff --git a/npc/001-2-1/_savepoints.txt b/npc/001-2-1/_savepoints.txt deleted file mode 100644 index 4b3f1497b..000000000 --- a/npc/001-2-1/_savepoints.txt +++ /dev/null @@ -1,11 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-1: Noble House saves -001-2-1,27,30,0 script #save_001-2-1_27_30 NPC_SAVE_POINT,{ - savepointparticle .map$, .x, .y, CURRENT_INN; - close; - -OnInit: - .distance = 2; - .sex = G_OTHER; - end; -} diff --git a/npc/001-2-1/_warps.txt b/npc/001-2-1/_warps.txt deleted file mode 100644 index 1189adc73..000000000 --- a/npc/001-2-1/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-1: Noble House warps -001-2-1,37,41,0 warp #001-2-1_37_41 0,0,001-1,128,31 diff --git a/npc/001-2-1/mapflags.txt b/npc/001-2-1/mapflags.txt deleted file mode 100644 index 07cacd147..000000000 --- a/npc/001-2-1/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-1 mapflag town diff --git a/npc/001-2-10/_import.txt b/npc/001-2-10/_import.txt deleted file mode 100644 index 7c1b01d6e..000000000 --- a/npc/001-2-10/_import.txt +++ /dev/null @@ -1,5 +0,0 @@ -// Map 001-2-10: Noble House -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-10/_savepoints.txt", -"npc/001-2-10/_warps.txt", -"npc/001-2-10/mapflags.txt", diff --git a/npc/001-2-10/_savepoints.txt b/npc/001-2-10/_savepoints.txt deleted file mode 100644 index c98aa4502..000000000 --- a/npc/001-2-10/_savepoints.txt +++ /dev/null @@ -1,11 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-10: Noble House saves -001-2-10,26,30,0 script #save_001-2-10_26_30 NPC_SAVE_POINT,{ - savepointparticle .map$, .x, .y, CURRENT_INN; - close; - -OnInit: - .distance = 2; - .sex = G_OTHER; - end; -} diff --git a/npc/001-2-10/_warps.txt b/npc/001-2-10/_warps.txt deleted file mode 100644 index e9e39231f..000000000 --- a/npc/001-2-10/_warps.txt +++ /dev/null @@ -1,4 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-10: Noble House warps -001-2-10,27,45,0 warp #001-2-10_27_45 0,0,001-1,118,50 -001-2-10,51,45,0 warp #001-2-10_51_45 0,0,001-1,135,50 diff --git a/npc/001-2-10/mapflags.txt b/npc/001-2-10/mapflags.txt deleted file mode 100644 index bf8336096..000000000 --- a/npc/001-2-10/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-10 mapflag town diff --git a/npc/001-2-11/_import.txt b/npc/001-2-11/_import.txt deleted file mode 100644 index 7e5ac1009..000000000 --- a/npc/001-2-11/_import.txt +++ /dev/null @@ -1,6 +0,0 @@ -// Map 001-2-11: Noble House -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-11/_savepoints.txt", -"npc/001-2-11/_warps.txt", -"npc/001-2-11/mapflags.txt", -"npc/001-2-11/mona.txt", diff --git a/npc/001-2-11/_savepoints.txt b/npc/001-2-11/_savepoints.txt deleted file mode 100644 index fc0b47fbe..000000000 --- a/npc/001-2-11/_savepoints.txt +++ /dev/null @@ -1,11 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-11: Noble House saves -001-2-11,26,31,0 script #save_001-2-11_26_31 NPC_SAVE_POINT,{ - savepointparticle .map$, .x, .y, CURRENT_INN; - close; - -OnInit: - .distance = 2; - .sex = G_OTHER; - end; -} diff --git a/npc/001-2-11/_warps.txt b/npc/001-2-11/_warps.txt deleted file mode 100644 index 648faa57c..000000000 --- a/npc/001-2-11/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-11: Noble House warps -001-2-11,46,46,0 warp #001-2-11_46_46 0,0,001-1,148,55 diff --git a/npc/001-2-11/mapflags.txt b/npc/001-2-11/mapflags.txt deleted file mode 100644 index 608ef1bdb..000000000 --- a/npc/001-2-11/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-11 mapflag town diff --git a/npc/001-2-11/mona.txt b/npc/001-2-11/mona.txt deleted file mode 100644 index e94fcc690..000000000 --- a/npc/001-2-11/mona.txt +++ /dev/null @@ -1,67 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// A rich girl holding a candle. -// Variable: -// ArtisQuests_MonaDad -// Quest states: -// 0 - Quest not started -// 1 - Mona explained that her dad was missing - -001-2-11,39,30,0 script Mona NPC_MONA,{ - - function find_daddy_quest - { - speech S_LAST_NEXT, - l("Hey you!"); - - switch (select(l("Yes?"), l("Sorry, I have to go."))) - { - case 1: - mes ""; - break; - case 2: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("No you don't have to go. I need your help, so you have to stay."); - break; - } - - speech S_LAST_NEXT | S_NO_NPC_NAME, - l("Daddy did not come back home... He said that he would be back for lunch but it has already been a week!"), - l("You have to find him, or else I will tell him that you did not help me."); - - switch (select(l("You do not give me much options."), l("The elder ran away from you."))) - { - case 1: - speech S_FIRST_BLANK_LINE, - l("He said that he would check why the manhole next to the house was doing weird sounds."), - l("But he never returned."), - l("Please find my daddy..."); - - setq ArtisQuests_MonaDad, 1; - break; - case 2: - speech S_FIRST_BLANK_LINE, - l("I will tell my dad!"); - break; - } - emotion E_SAD; - close; - } - - if (getq(ArtisQuests_MonaDad) == 0) - { - find_daddy_quest(); - } - - npctalkonce l("Please find daddy..."); - - emotion E_SAD; - close; - -OnInit: - .sex = G_FEMALE; - .distance = 2; - end; -} diff --git a/npc/001-2-12/_import.txt b/npc/001-2-12/_import.txt deleted file mode 100644 index fa40eb2b4..000000000 --- a/npc/001-2-12/_import.txt +++ /dev/null @@ -1,5 +0,0 @@ -// Map 001-2-12: Noble House -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-12/_warps.txt", -"npc/001-2-12/mapflags.txt", -"npc/001-2-12/oscar.txt", diff --git a/npc/001-2-12/_warps.txt b/npc/001-2-12/_warps.txt deleted file mode 100644 index c03a6b0bd..000000000 --- a/npc/001-2-12/_warps.txt +++ /dev/null @@ -1,5 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-12: Noble House warps -001-2-12,27,27,0 warp #001-2-12_27_27 1,0,001-2-13,27,29 -001-2-12,34,36,0 warp #001-2-12_34_36 0,0,001-1,142,31 -001-2-12,29,28,0 warp #001-2-12_29_28 0,0,001-2-14,25,29 diff --git a/npc/001-2-12/mapflags.txt b/npc/001-2-12/mapflags.txt deleted file mode 100644 index a84ff9382..000000000 --- a/npc/001-2-12/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-12 mapflag town diff --git a/npc/001-2-12/oscar.txt b/npc/001-2-12/oscar.txt deleted file mode 100644 index 3beecf36b..000000000 --- a/npc/001-2-12/oscar.txt +++ /dev/null @@ -1,145 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Old man living in the rich hill, can bleach clothes. - -001-2-12,38,30,0 script Oscar#001-2-12 NPC_OSCAR,{ - - function live_here_alone - { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Meh!"), - l("This is a harsh word to use, you are never alone in the beautiful place of Artis."), - l("Mob is doing its daily noise, nature is singing its sumptuous melody, none is alone."); - - return; - } - - function item_is_bleachable - { - .@item_index = getarg(0); - if (.@item_index < 0) - return false; - - getinventorylist; - - if (@inventorylist_card1[.@item_index] != 0) - { - if ((@inventorylist_card1[.@item_index] > YellowCottonDye) || - (@inventorylist_card1[.@item_index] < CrimsonCashmereDye)) - { - return false; - } - .@is_bleachable = true; - } - if (@inventorylist_card2[.@item_index] != 0) - { - if ((@inventorylist_card2[.@item_index] > YellowCottonDye) || - (@inventorylist_card2[.@item_index] < CrimsonCashmereDye)) - { - return false; - } - .@is_bleachable = true; - } - if (@inventorylist_card3[.@item_index] != 0) - { - if ((@inventorylist_card3[.@item_index] > YellowCottonDye) || - (@inventorylist_card3[.@item_index] < CrimsonCashmereDye)) - { - return false; - } - .@is_bleachable = true; - } - if (@inventorylist_card4[.@item_index] != 0) - { - if ((@inventorylist_card4[.@item_index] > YellowCottonDye) || - (@inventorylist_card4[.@item_index] < CrimsonCashmereDye)) - { - return false; - } - .@is_bleachable = true; - } - - return .@is_bleachable; - } - - function remove_cards_from_item - { - .@item_index = -1; - - speech S_FIRST_BLANK_LINE, - l("What item would you like to bleach?"); - - narrator S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("You can drag and drop an item to the NPC window or select an item through your inventory."); - - .@item_index = requestitemindex(); - if (!item_is_bleachable(.@item_index)) - { - speech S_LAST_NEXT, - l("You should know this, an item like this can't be bleached."); - - return; - } - - speech S_LAST_NEXT, - l("Your mind is set? You will loose the color dye during this process."); - - switch (askyesno()) - { - case 1: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Ok, let me see..."), - l("..."); - - failedremovecardsindex .@item_index, 1; - - speech S_LAST_NEXT | S_NO_NPC_NAME, - l("..."), - l("Here it is, clean like a whistle!"); - break; - case 2: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Is it truly a hard choice to make?"); - break; - } - - return; - } - - .@hour = gettime(GETTIME_HOUR); - speech S_LAST_NEXT, (.@hour > 6 && .@hour < 18) ? l("Good day to you.") : lg("Good night milady.", "Good evening sir."); - - do - { - select - l("Could you bleach my clothes?"), - l("Do you live here alone?"), - menuaction(l("Quit")); - - switch (@menu) - { - case 1: - remove_cards_from_item(); - break; - case 2: - live_here_alone(); - break; - case 3: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, l("I wish you a good time in town."); - break; - } - - } while (@menu != 3); - - closedialog; - goodbye; - close; - -OnInit: - .sex = G_MALE; - .distance = 3; - end; -} - diff --git a/npc/001-2-13/_import.txt b/npc/001-2-13/_import.txt deleted file mode 100644 index 36eee751f..000000000 --- a/npc/001-2-13/_import.txt +++ /dev/null @@ -1,5 +0,0 @@ -// Map 001-2-13: First Floor -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-13/_savepoints.txt", -"npc/001-2-13/_warps.txt", -"npc/001-2-13/mapflags.txt", diff --git a/npc/001-2-13/_savepoints.txt b/npc/001-2-13/_savepoints.txt deleted file mode 100644 index dd2105262..000000000 --- a/npc/001-2-13/_savepoints.txt +++ /dev/null @@ -1,11 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-13: First Floor saves -001-2-13,41,31,0 script #save_001-2-13_41_31 NPC_SAVE_POINT,{ - savepointparticle .map$, .x, .y, CURRENT_INN; - close; - -OnInit: - .distance = 2; - .sex = G_OTHER; - end; -} diff --git a/npc/001-2-13/_warps.txt b/npc/001-2-13/_warps.txt deleted file mode 100644 index 9400dd8a5..000000000 --- a/npc/001-2-13/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-13: First Floor warps -001-2-13,27,30,0 warp #001-2-13_27_30 1,0,001-2-12,27,28 diff --git a/npc/001-2-13/mapflags.txt b/npc/001-2-13/mapflags.txt deleted file mode 100644 index 329eb0544..000000000 --- a/npc/001-2-13/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-13 mapflag town diff --git a/npc/001-2-14/_import.txt b/npc/001-2-14/_import.txt deleted file mode 100644 index 0b4d600c5..000000000 --- a/npc/001-2-14/_import.txt +++ /dev/null @@ -1,4 +0,0 @@ -// Map 001-2-14: Basement -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-14/_warps.txt", -"npc/001-2-14/mapflags.txt", diff --git a/npc/001-2-14/_warps.txt b/npc/001-2-14/_warps.txt deleted file mode 100644 index 92dff8924..000000000 --- a/npc/001-2-14/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-14: Basement warps -001-2-14,26,29,0 warp #001-2-14_26_27 1,0,001-2-12,30,28 diff --git a/npc/001-2-14/mapflags.txt b/npc/001-2-14/mapflags.txt deleted file mode 100644 index a84ff9382..000000000 --- a/npc/001-2-14/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-12 mapflag town diff --git a/npc/001-2-15/_import.txt b/npc/001-2-15/_import.txt deleted file mode 100644 index d4250125d..000000000 --- a/npc/001-2-15/_import.txt +++ /dev/null @@ -1,5 +0,0 @@ -// Map 001-2-15: Noble House -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-15/_savepoints.txt", -"npc/001-2-15/_warps.txt", -"npc/001-2-15/mapflags.txt", diff --git a/npc/001-2-15/_savepoints.txt b/npc/001-2-15/_savepoints.txt deleted file mode 100644 index c8b825618..000000000 --- a/npc/001-2-15/_savepoints.txt +++ /dev/null @@ -1,11 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-15: Noble House saves -001-2-15,27,41,0 script #save_001-2-15_27_41 NPC_SAVE_POINT,{ - savepointparticle .map$, .x, .y, CURRENT_INN; - close; - -OnInit: - .distance = 2; - .sex = G_OTHER; - end; -} diff --git a/npc/001-2-15/_warps.txt b/npc/001-2-15/_warps.txt deleted file mode 100644 index 5704aecca..000000000 --- a/npc/001-2-15/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-15: Noble House warps -001-2-15,34,46,0 warp #001-2-15_34_46 0,0,001-1,132,68 diff --git a/npc/001-2-15/mapflags.txt b/npc/001-2-15/mapflags.txt deleted file mode 100644 index 5ff9ed8da..000000000 --- a/npc/001-2-15/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-15 mapflag town diff --git a/npc/001-2-16/_import.txt b/npc/001-2-16/_import.txt deleted file mode 100644 index 66b975ca7..000000000 --- a/npc/001-2-16/_import.txt +++ /dev/null @@ -1,4 +0,0 @@ -// Map 001-2-16: Harbourmaster Lodge -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-16/_warps.txt", -"npc/001-2-16/mapflags.txt", diff --git a/npc/001-2-16/_warps.txt b/npc/001-2-16/_warps.txt deleted file mode 100644 index ba8035ee8..000000000 --- a/npc/001-2-16/_warps.txt +++ /dev/null @@ -1,4 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-16: Harbourmaster Lodge warps -001-2-16,32,36,0 warp #001-2-16_32_36 0,0,001-1,168,99 -001-2-16,24,29,0 warp #001-2-16_24_29 0,0,001-2-17,35,29 diff --git a/npc/001-2-16/mapflags.txt b/npc/001-2-16/mapflags.txt deleted file mode 100644 index 44cfc0a15..000000000 --- a/npc/001-2-16/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-16 mapflag town diff --git a/npc/001-2-17/_import.txt b/npc/001-2-17/_import.txt deleted file mode 100644 index ef22e0df8..000000000 --- a/npc/001-2-17/_import.txt +++ /dev/null @@ -1,4 +0,0 @@ -// Map 001-2-17: Backroom -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-17/_warps.txt", -"npc/001-2-17/mapflags.txt", diff --git a/npc/001-2-17/_warps.txt b/npc/001-2-17/_warps.txt deleted file mode 100644 index b2f5355ec..000000000 --- a/npc/001-2-17/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-17: Backroom warps -001-2-17,36,29,0 warp #001-2-17_36_29 0,0,001-2-16,25,29 diff --git a/npc/001-2-17/mapflags.txt b/npc/001-2-17/mapflags.txt deleted file mode 100644 index ae59a3773..000000000 --- a/npc/001-2-17/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-17 mapflag town diff --git a/npc/001-2-18/_import.txt b/npc/001-2-18/_import.txt deleted file mode 100644 index a29300849..000000000 --- a/npc/001-2-18/_import.txt +++ /dev/null @@ -1,4 +0,0 @@ -// Map 001-2-18: Docks Warehouse -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-18/_warps.txt", -"npc/001-2-18/mapflags.txt", diff --git a/npc/001-2-18/_warps.txt b/npc/001-2-18/_warps.txt deleted file mode 100644 index e03422399..000000000 --- a/npc/001-2-18/_warps.txt +++ /dev/null @@ -1,4 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-18: Docks Warehouse warps -001-2-18,39,36,0 warp #001-2-18_39_36 0,0,001-1,182,75 -001-2-18,39,26,0 warp #001-2-18_39_26 2,0,001-2-42,39,36 diff --git a/npc/001-2-18/mapflags.txt b/npc/001-2-18/mapflags.txt deleted file mode 100644 index db4e14335..000000000 --- a/npc/001-2-18/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-18 mapflag town diff --git a/npc/001-2-19/_import.txt b/npc/001-2-19/_import.txt deleted file mode 100644 index c92d08258..000000000 --- a/npc/001-2-19/_import.txt +++ /dev/null @@ -1,5 +0,0 @@ -// Map 001-2-19: Merchant Hall -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-19/_warps.txt", -"npc/001-2-19/lloyd.txt", -"npc/001-2-19/mapflags.txt", diff --git a/npc/001-2-19/_warps.txt b/npc/001-2-19/_warps.txt deleted file mode 100644 index fa0917193..000000000 --- a/npc/001-2-19/_warps.txt +++ /dev/null @@ -1,51 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-19: Merchant Hall warps -001-2-19,41,31,0 warp #001-2-19_41_31 0,0,001-1,104,33 -001-2-19,41,24,0 script #001-2-19_41_24_h NPC_HIDDEN,0,0,{ -OnTouch: - warp "001-2-25", 29, 30; -close; - -OnUnTouch: - doevent "#001-2-19_41_24::OnUnTouch"; -} -001-2-19,41,24,0 script #001-2-19_41_24 NPC_ARTIS_DOOR_WOOD,2,3,{ - close; -OnTouch: - doorTouch; - -OnUnTouch: - doorUnTouch; - -OnTimer340: - doorTimer; - -OnInit: - doorInit; -} - -001-2-19,33,38,0 warp #001-2-19_33_38 0,0,001-1,101,37 -001-2-19,41,57,0 warp #001-2-19_41_55 0,0,001-2-20,29,27 -001-2-19,41,47,0 script #001-2-19_41_47_h NPC_HIDDEN,0,0,{ -OnTouch: - warp "001-1", 104, 42; -close; - -OnUnTouch: - doevent "#001-2-19_41_47::OnUnTouch"; -} -001-2-19,41,47,0 script #001-2-19_41_47 NPC_ARTIS_DOOR_WOOD,2,3,{ - close; -OnTouch: - doorTouch; - -OnUnTouch: - doorUnTouch; - -OnTimer340: - doorTimer; - -OnInit: - doorInit; -} - diff --git a/npc/001-2-19/lloyd.txt b/npc/001-2-19/lloyd.txt deleted file mode 100644 index 9a0b2f37c..000000000 --- a/npc/001-2-19/lloyd.txt +++ /dev/null @@ -1,244 +0,0 @@ -// Evol scripts. -// Authors: -// gumi -// Reid -// Description: -// Lloyd the banker NPC. -// Variables: -// 0 ArtisQuests_Lloyd -// 1 ArtisQuests_Fexil -// 2 ArtisQuests_Enora -// Quest states: -// 00 -- Never talked -// 01 -- Registred on the Guild -// 10 -- not started -// 11 -- Lloyd warned about the quest -// 20 -- Default. -// 21 -- BlackSmith quest delivered. -// 22 -- Chelios Quest given. -// 23 -- Chelios Quest done. - -001-2-19,31,25,0 script Lloyd the Banker NPC_LLOYD,{ - - function enora_quest { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Black iron... That is a very specific request that you have for me!"), - l("Let me check in my inventory book..."), - l("..."), - l("Yes, I have some! \"5x Black Iron Ingots\""), - lg("Is this for you or somebody else? Because you need to be registered to obtain these materials."); - - switch (selectd(ArtisQuests_Enora, - l("This is for my own use."), - l("Chelios asked me to get it."))) - { - case 1: - speech S_FIRST_BLANK_LINE, - l("This is your first time asking for something, you won't pay this time, take it as a sign of good faith!"), - l("If you need something in the future, do not hesitate to pass by here, our stock is full of boxes collecting dust."); - emotion E_WINK; - break; - case 2: - speech S_FIRST_BLANK_LINE, - l("Chelios... He is part of the Blacksmith House, is he not?"), - l("Since Don settled in Artis he and his band refused to register to the Merchant Guild."), - l("I will close an eye for once, but only because it's your first time asking for something!"), - l("Sometimes a good merchant needs to reach out first. It's on the house, give Chelios my regards!"); - emotion E_WINK; - break; - } - setq ArtisQuests_Enora, 3; - - return; - } - - function explain_guild { - speech S_LAST_NEXT, - l("The guild is in charge of the commerce regularization throughout Artis and its surroundings."), - l("With the help of the town hall and the Legion of Aemil we organize some auction and we help local merchants to launch their businesses."), - l("We also feature some services like a storage and a bank for members."), - l("Registration is open to everybody, but newcomers need to pay a fee for all of the paperwork."); - - narrator S_FIRST_BLANK_LINE, - l("The bank and item storage is shared between all characters within a same account."), - l("With it, you can safely move items and funds between your characters."), - l("To move between characters that are on different accounts, you have to use the Trade function."); - return; - } - - function first_visit { - speech S_LAST_NEXT, - l("Welcome!"), - l("My name is Lloyd, I am a representative of the Merchant Guild of Artis."); - - selectd(l("My name is @@...", strcharinfo(0))); - - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("\"@@\", I like this name!", strcharinfo(0)), - l("Oh, wait a second..."); - narrator S_LAST_NEXT, - l("Lloyd is searching something in his book."); - speech S_LAST_NEXT, - l("I see."), - lg("You are new around here, right?"); - - if (selectd(l("How do you know?"), l("Yes I am.")) == 1) - { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Oh, it is simple. I have on this book the names of every citizen of Artis and its surroundings."), - l("And I have no mention of a so called \"@@\" on it!", strcharinfo(0)); - } - else - { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("I knew it!"); - } - - speech S_LAST_NEXT, - l("Let me explain to you what the Merchant Guild is for."); - - explain_guild; - next; - - .@price = 500; - speech S_LAST_NEXT, - l("The fee is of @@ E. So, do you want to register?", .@price); - - switch (selectd(l("Yes."), - l("I don't have the time now."))) - { - case 1: - if (Zeny < .@price) - { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("You do not seem to have enough money, come back later!"); - } - else - { - Zeny = Zeny - .@price; - setq ArtisQuests_Lloyd, 1; - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Perfect!"), - l("I wrote your name on the book, you are now free to use the storage and bank services."); - } - break; - case 2: - break; - } - - return; - } - - function paper_to_deliver { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Now that you bring up that topic, that reminds me of something..."), - l("Earlier today there was this young seller named Fexil that passed by here."), - l("He asked to lend some money and a place to open his store, I think that he asked for a place on the merchant squares on the south-west of the city..."), - l("Anyway, he forgot his permit when he left the building."), - l("Could you bring it to him?"); - - do - { - .@q = selectd(ArtisQuests_Fexil, - l("Ok, I will bring it to him."), - l("I need more information first."), - l("I don't have the time.")); - switch (.@q) - { - case 1: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Thank you for this!"); - setq ArtisQuests_Fexil, 1; - break; - case 2: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("You should look for a seller named Fexil around the merchant square."), - l("Ask other merchants, they might know where he is."); - break; - case 3: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("No problem, come back later if you changed your mind!"); - break; - } - } while (.@q == 2); - } - - if (getq(ArtisQuests_Lloyd) == 0) - { - first_visit; - - closedialog; - goodbye; - close; - } - - speech S_LAST_NEXT, - l("Welcome to the Merchant Guild of Artis!"), - l("What do you want today?"); - - do - { - .@enora = getq(ArtisQuests_Enora); - - selectd - rif(.@enora == 2, l("I'm looking for some black iron ingots.")), - l("I would like to store some items."), - l("I would like to perform money transactions."), - l("What is this guild for?"), - l("Does the guild has any work for me right now?"), - l("Bye."); - - switch (@menu) - { - case 1: - enora_quest; - break; - case 2: - openstorage; - closedialog; - close; - break; - case 3: - MerchantGuild_Bank; - break; - case 4: - mes ""; - explain_guild; - break; - case 5: - if (getq(ArtisQuests_Fexil) >= 1) - { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("There are no tasks for you right now."); - continue; - } - - paper_to_deliver; - - continue; - } - if (@menu != 6) - { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT | S_NO_NPC_NAME, - l("Something else?"); - } - } while (@menu != 6); - - closedialog; - goodbye; - close; - -OnInit: - .quest_debug = ArtisQuests_Lloyd; - .sex = G_MALE; - .distance = 4; - end; - -OnPCLoginEvent: - if (#MerchantBank) - { - BankVault += max(0, #MerchantBank); - #MerchantBank = 0; - } - end; -} diff --git a/npc/001-2-19/mapflags.txt b/npc/001-2-19/mapflags.txt deleted file mode 100644 index f083b6eb9..000000000 --- a/npc/001-2-19/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-19 mapflag town diff --git a/npc/001-2-2/_import.txt b/npc/001-2-2/_import.txt deleted file mode 100644 index 7d11248ec..000000000 --- a/npc/001-2-2/_import.txt +++ /dev/null @@ -1,5 +0,0 @@ -// Map 001-2-2: Moon's House -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-2/_warps.txt", -"npc/001-2-2/mapflags.txt", -"npc/001-2-2/moon.txt", diff --git a/npc/001-2-2/_warps.txt b/npc/001-2-2/_warps.txt deleted file mode 100644 index f28c931d1..000000000 --- a/npc/001-2-2/_warps.txt +++ /dev/null @@ -1,4 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-2: Moon's House warps -001-2-2,38,39,0 warp #001-2-2_38_39 0,0,001-1,70,78 -001-2-2,27,29,0 warp #001-2-2_27_29 2,0,001-2-3,27,30 diff --git a/npc/001-2-2/mapflags.txt b/npc/001-2-2/mapflags.txt deleted file mode 100644 index ff5a8f27b..000000000 --- a/npc/001-2-2/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-2 mapflag town diff --git a/npc/001-2-2/moon.txt b/npc/001-2-2/moon.txt deleted file mode 100644 index ea76d3b73..000000000 --- a/npc/001-2-2/moon.txt +++ /dev/null @@ -1,214 +0,0 @@ -// Evol scripts. -// Authors: -// Reid -// Travolta -// Description: -// Moon, main NPC for the urchin quest. -// Variables: -// ArtisQuests_Urchin - quest var -// Quest stages: -// 0 - not started -// 1 - started, searching for Croc Claws -// 2 - quest finished - -001-2-2,33,32,0 script Moon#001-2-2 NPC_ELVEN_FEMALE,3,3,{ - - function SayRandomGreeting { - .@q = getq(ArtisQuests_Urchin); - .@tick = gettimetick(1); - if (.@tick > @ArtisQuests_Urchin_MoonMsgTick + 12) - { - setarray .messages$[0], l("Ouch!"), l("It hurts so bad!"), - l("Help me!"), l("Hurry up!"), - l("I can't wait all day!"), - l("I need more Croc Claws."), - l("What a relief."), - l("No more pain, thanks to you."), - l("I can walk again!"); - setarray .msg_first[0], 0, 3, 6; - setarray .msg_last[0], 2, 5, 8; - .@r = rand(.msg_first[.@q],.msg_last[.@q]); - .@msg$ = .messages$[.@r]; - npctalk3 .@msg$; - @ArtisQuests_Urchin_MoonMsgTick = .@tick; - } - } - - function CheckCrowClaw { - if (getq(ArtisQuests_Urchin) != 1) - return -1; - - mes ""; - mesn; - if (countitem("CrocClaw") > 0) - { - delitem "CrocClaw", 1; - if (rand(8) == 7) // the lucky 7 - { - mesq l("Yay, it worked! I removed a spike."); - ArtisQuests_Urchin_ULeft--; - next; - if (!ArtisQuests_Urchin_ULeft) - { - mesq l("It seems I got them all!"); - next; - mesq l("Here is your reward."); - setq ArtisQuests_Urchin, 2; - getexp 1500, 100; - close2; - return 1; - } - else - { - mesq l("But I still have some spikes left in my foot."); - next; - return 0; - } - } - else - { - mesq l("This one is useless! Give me another @@.", getitemlink("CrocClaw")); - next; - return 0; - } - } - else - { - mesq l("You don't have any @@, are you mocking me?", getitemlink("CrocClaw")); - close2; - return 1; - } - } - - stopnpctimer; - - .@q = getq(ArtisQuests_Urchin); - if (.@q < 2) - { - mesn "Narrator"; - mes col(l("You see a young elven girl, with a strong sense of pain in her face."), 9); - next; - } - else - { - mesn; - mesq l("I appreciate your help, @@.", strcharinfo(0)); - goto L_Close; - } - if (.@q == 1) goto L_QuestStarted; - -L_Story: - select - l("Hi, can I help you somehow?"); - mes ""; - mesn; - mesq l("That would be great!"); - next; - mesq l("Hi, my name is Moon. This morning I went for a walk on the beach."); - next; - mesq l("Walking barefoot, feeling the hot sand with my feet, daydreaming... I like such things, you know."); - next; - mesq l("I didn't notice that a Pikpik was in my way, and when I stepped on it, my foot was full of spikes."); - next; - mesq l("Luckily the beach is nearby, and somehow I made my way home."); - next; - mesq l("Please bring me @@s so I can pull out these spikes from my foot.", getitemlink("CrocClaw")); - next; - - switch (select(l("Stay here, I will be back as soon as I have some."), - l("Maybe next time."))) - { - case 1: - setq ArtisQuests_Urchin, 1; - mes ""; - mesn; - mesq l("It really hurts, please hurry!"); - - ArtisQuests_Urchin_ULeft = rand(3,5); - - next; - goto L_Where; - break; - case 2: - mes ""; - mesn "Narrator"; - mes col(l("The girl looks desperate."),9); - } - goto L_Close; - -L_QuestStarted: - mesn; - mesq l("Do you have @@s for me?", getitemlink("CrocClaw")); - next; - - select - l("Check out this one."), - l("I should put more effort into this."), - l("Where can I find some Croc Claws?"); - - switch (@menu) - { - case 1: - .@MustRepeat = CheckCrowClaw; - if (!.@MustRepeat) - goto L_CheckLoop; - goto L_Close; - case 2: - mes ""; - mesn; - mesq l("It really hurts, please hurry!"); - goto L_Close; - case 3: - mes ""; - mesn; - goto L_Where; - } - -L_CheckLoop: - while (!.@MustRepeat) - { - switch (select(l("Here is another one."), - l("I must leave to get more."))) - { - case 1: - .@MustRepeat = CheckCrowClaw; - break; - case 2: - goto L_Close; - } - } - goto L_Close; - -L_Where: - mesq l("You can find some Crocs on the beach, you could look up at the one after the gate, on top of this city."); - - goto L_Close; - -L_Close: - initnpctimer; - close; - -OnTimer1000: - domovestep; - -OnTouch: - SayRandomGreeting; - end; - -OnHour00: - if (playerattached()) - @ArtisQuests_Urchin_MoonMsgTick = 0; - end; - -OnInit: - .sex = G_FEMALE; - .distance = 3; - initpath "move", 41, 30, - "dir", DOWN, 0, - "wait", 2, 0, - "move", 33, 32, - "dir", DOWN, 0, - "wait", 10, 0; - initialmove; - initnpctimer; -} diff --git a/npc/001-2-20/_import.txt b/npc/001-2-20/_import.txt deleted file mode 100644 index 5929d2416..000000000 --- a/npc/001-2-20/_import.txt +++ /dev/null @@ -1,4 +0,0 @@ -// Map 001-2-20: Backroom -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-20/_warps.txt", -"npc/001-2-20/mapflags.txt", diff --git a/npc/001-2-20/_warps.txt b/npc/001-2-20/_warps.txt deleted file mode 100644 index a032fa4d8..000000000 --- a/npc/001-2-20/_warps.txt +++ /dev/null @@ -1,26 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-20: Backroom warps -001-2-20,33,35,0 warp #001-2-20_33_35 0,0,001-1,107,50 -001-2-20,29,25,0 script #001-2-20_29_25_h NPC_HIDDEN,0,0,{ -OnTouch: - warp "001-2-19", 41, 54; -close; - -OnUnTouch: - doevent "#001-2-20_29_25::OnUnTouch"; -} -001-2-20,29,25,0 script #001-2-20_29_25 NPC_ARTIS_DOOR_WOOD,2,3,{ - close; -OnTouch: - doorTouch; - -OnUnTouch: - doorUnTouch; - -OnTimer340: - doorTimer; - -OnInit: - doorInit; -} - diff --git a/npc/001-2-20/mapflags.txt b/npc/001-2-20/mapflags.txt deleted file mode 100644 index 499fd5a60..000000000 --- a/npc/001-2-20/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-20 mapflag town diff --git a/npc/001-2-21/_import.txt b/npc/001-2-21/_import.txt deleted file mode 100644 index b0f7a5a14..000000000 --- a/npc/001-2-21/_import.txt +++ /dev/null @@ -1,6 +0,0 @@ -// Map 001-2-21: First Deck -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-21/_warps.txt", -"npc/001-2-21/julia.txt", -"npc/001-2-21/mapflags.txt", -"npc/001-2-21/note.txt", diff --git a/npc/001-2-21/_warps.txt b/npc/001-2-21/_warps.txt deleted file mode 100644 index 01f70e01b..000000000 --- a/npc/001-2-21/_warps.txt +++ /dev/null @@ -1,5 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-21: First Deck warps -001-2-21,19,28,0 warp #001-2-21_19_28 0,0,001-1,193,109 -001-2-21,33,28,0 warp #001-2-21_33_28 0,0,001-2-24,20,27 -001-2-21,31,25,0 warp #001-2-21_31_25 0,0,001-2-22,72,29 diff --git a/npc/001-2-21/julia.txt b/npc/001-2-21/julia.txt deleted file mode 100644 index 008cdb41e..000000000 --- a/npc/001-2-21/julia.txt +++ /dev/null @@ -1,141 +0,0 @@ -// Evol scripts. -// Authors: -// 4144 -// Qwerty Dragon -// Reid -// Vasily_Makarov -// Description: -// Allows to change language. - -001-2-21,27,24,0 script Julia#Artis NPC_JULIA,{ - mesn; - mesq lg("Hello dear!"); - next; - mesq l("What do you want today?"); - next; - - .@s$ = l("I don't want to change my language, sorry."); - -L_Menu: - .@enora = getq(ArtisQuests_Enora); - - menu - rif(getskilllv(1) < 6, l("Something is wrong with me, I can't smile nor sit.")), L_BasicSkill, - rif(.@enora == 0, l("Where should I go?")), L_Enora, - lg("I made a mistake, I would like to change my language."), L_ChooseLang, - l("Is it possible to go back to Drasil Island?"), L_Island, - l("Could you explain to me where I am?"), L_WhereIam, - l("What happened to me?"), L_What, - l("Can I read the rules again?"), L_Rules, - l("Nothing, sorry."), L_Quit; - -L_YNMenu: - menu - l("Yes, I do."), L_Menu, - l("No, none."), L_Quit; - -L_NoChanges: - mes ""; - mesn; - mesq l("No problem, do you have any other questions for me?"); - next; - - goto L_YNMenu; - -L_ChooseLang: - mes ""; - mesn; - mesq l("Of course! Tell me which language you speak and I will change the note on the ship board list."); - next; - - asklanguage(LANG_IN_SHIP); - - mes ""; - mesn; - mesq l("Ok, done."); - next; - mesq l("Do you have any other questions for me?"); - next; - - goto L_Menu; - -L_WhereIam: - mes ""; - mesn; - mesq l("You're on La Johanne, a merchant ship."); - next; - mesq l("We arrived this morning at the port of Artis, I already warned the Legion of Aemil concerning your issue."); - next; - mesq l("Somebody is waiting for you outside!"); - next; - mesq lg("Like the rest of the crew, you are welcome to come and rest here at anytime during your journey on Artis."); - next; - mesq l("Do you have any other questions for me?"); - next; - - goto L_YNMenu; - -L_What: - mes ""; - mesn; - mesq lg("We thought that you could help us understand this, all we know is that we found you cast in the sea, adrift on your raft."); - next; - mesq lg("You were in bad shape, you should be happy we found you before the sea killed you."); - next; - mesq l("Oh, and there was this inscription on your raft. It represents the Legion of Aemil, the largest and biggest guild of the whole new world. Does that make you remember anything, anything at all?"); - next; - - select - l("Sorry, but I can't tell you anything about that."), - l("Nothing, sorry."); - - goto L_NoChanges; - -L_Rules: - mes ""; - mesn; - mesq l("Of course, they are on the left wall. Go have a look at them."); - next; - mesq l("Do you have any other questions for me?"); - next; - - goto L_YNMenu; - -L_BasicSkill: - mes ""; - mesn; - mesq l("Let me check into it..."); - next; - adddefaultskills; - mesq l("Here you go, everything is fixed."); - emotion E_HAPPY; - next; - mesq l("Do you have any other questions for me?"); - next; - - goto L_YNMenu; - -L_Enora: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Enora, from the Legion of Aemil, has been warned that you were aboard."), - l("She is waiting for you on the dock."), - l("Do you have any other questions for me?"); - - goto L_YNMenu; - -L_Quit: - goodbye; - -L_Island: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Of course, as a fully-fledged crew member you can decide of the destination of La Johanne directly with Nard."); - l("Do you have any other questions for me?"); - emotion E_HAPPY; - - goto L_YNMenu; - -OnInit: - .sex = G_FEMALE; - .distance = 10; - end; -} diff --git a/npc/001-2-21/mapflags.txt b/npc/001-2-21/mapflags.txt deleted file mode 100644 index a3f0260b3..000000000 --- a/npc/001-2-21/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-21 mapflag town diff --git a/npc/001-2-21/note.txt b/npc/001-2-21/note.txt deleted file mode 100644 index cd1764ed4..000000000 --- a/npc/001-2-21/note.txt +++ /dev/null @@ -1,27 +0,0 @@ -// Evol scripts. -// Authors: -// gumi -// Qwerty Dragon -// Reid -// WildX -// Description: -// A small note presenting the 6 main rules of Evol Online. - -001-2-21,29,25,0 script Note#Artis NPC_PAPER_NOTE,{ - narrator S_LAST_NEXT, - l("There is a paper with some rules written on it."); - - GameRules 8 | 4; - - narrator S_NO_NPC_NAME, - l("Following these lines are some other writings on this paper."), - l("Do not give the password of your room to anybody! Keep it secret and try not to use the same one in any other room in the future. - Julia"), - l("Does anyone know a good place to hang out in Esperia? - M. Arpan"), - l("Other things are written but are not legible anymore."); - - close; - -OnInit: - .distance = 2; - end; -} diff --git a/npc/001-2-22/_import.txt b/npc/001-2-22/_import.txt deleted file mode 100644 index 96490c742..000000000 --- a/npc/001-2-22/_import.txt +++ /dev/null @@ -1,13 +0,0 @@ -// Map 001-2-22: Second Deck -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-22/_mobs.txt", -"npc/001-2-22/_savepoints.txt", -"npc/001-2-22/_warps.txt", -"npc/001-2-22/alige.txt", -"npc/001-2-22/chefgado.txt", -"npc/001-2-22/chest.txt", -"npc/001-2-22/hammock.txt", -"npc/001-2-22/knife.txt", -"npc/001-2-22/mapflags.txt", -"npc/001-2-22/note.txt", -"npc/001-2-22/peter.txt", diff --git a/npc/001-2-22/_mobs.txt b/npc/001-2-22/_mobs.txt deleted file mode 100644 index a2164e451..000000000 --- a/npc/001-2-22/_mobs.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-22: Second Deck mobs -001-2-22,52,32,21,9 monster Piou 1002,3,30000,20000 diff --git a/npc/001-2-22/_savepoints.txt b/npc/001-2-22/_savepoints.txt deleted file mode 100644 index a0bd9f89e..000000000 --- a/npc/001-2-22/_savepoints.txt +++ /dev/null @@ -1,47 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-22: Second Deck saves -001-2-22,40,37,0 script #save_001-2-22_40_37 NPC_SAVE_POINT,{ - savepointparticle .map$, .x, .y, CURRENT_INN; - close; - -OnInit: - .distance = 2; - .sex = G_OTHER; - end; -} -001-2-22,46,37,0 script #save_001-2-22_46_37 NPC_SAVE_POINT,{ - savepointparticle .map$, .x, .y, CURRENT_INN; - close; - -OnInit: - .distance = 2; - .sex = G_OTHER; - end; -} -001-2-22,55,40,0 script #save_001-2-22_55_40 NPC_SAVE_POINT,{ - savepointparticle .map$, .x, .y, CURRENT_INN; - close; - -OnInit: - .distance = 2; - .sex = G_OTHER; - end; -} -001-2-22,50,38,0 script #save_001-2-22_50_38 NPC_SAVE_POINT,{ - savepointparticle .map$, .x, .y, CURRENT_INN; - close; - -OnInit: - .distance = 2; - .sex = G_OTHER; - end; -} -001-2-22,53,38,0 script #save_001-2-22_53_38 NPC_SAVE_POINT,{ - savepointparticle .map$, .x, .y, CURRENT_INN; - close; - -OnInit: - .distance = 2; - .sex = G_OTHER; - end; -} diff --git a/npc/001-2-22/_warps.txt b/npc/001-2-22/_warps.txt deleted file mode 100644 index 8fcdb2c3c..000000000 --- a/npc/001-2-22/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-22: Second Deck warps -001-2-22,72,30,0 warp #001-2-22_72_30 0,0,001-2-21,31,26 diff --git a/npc/001-2-22/alige.txt b/npc/001-2-22/alige.txt deleted file mode 100644 index 70e6058e4..000000000 --- a/npc/001-2-22/alige.txt +++ /dev/null @@ -1,324 +0,0 @@ -// Evol scripts. -// Authors: -// Ablu -// Alige -// Qwerty Dragon -// Reid -// Vasily_Makarov -// Description: -// Hidden in a ship's hole. -// 2 bits array: -// ShipQuests -// Variable: -// ShipQuests_Alige -// Values: -// 0 Never talk. -// 1 First talk. -// 2 Accept the task. -// 3 Bring first food. - -001-2-22,43,32,0 script AligeTrigger#Artis NPC_HIDDEN,1,1,{ - -OnTouch: - if (getareausers() <= 1) - { - setnpcdir "Alige#Artis", 2; - stopnpctimer; - initnpctimer; - } - - if (getq(ShipQuests_Alige) > 0) close; - doevent "Alige#Artis::OnFirstEncounter"; - - close; - -OnUnTouch: - if (getareausers() == 0) - { - setnpcdir "Alige#Artis", 4; - stopnpctimer; - initnpctimer; - } - close; - -OnTimer190: - stopnpctimer; - - if (getnpcdir("Alige#Artis") == 2) setnpcdir "Alige#Artis", 6; - if (getnpcdir("Alige#Artis") == 4) setnpcdir "Alige#Artis", 8; - - end; -} - -001-2-22,43,31,0 script Alige#Artis NPC_ALIGE,{ - .@q = getq(ShipQuests_Alige); - if (.@q > 1) goto L_AskForFood; - - goto OnFirstEncounter; - -OnFirstEncounter: - setq ShipQuests_Alige, 1; - - setcamnpc; - mesn "Hidden Person"; - mesq l("Hey, psst! You're not a sailor, right?"); - next; - restorecam; - - menu - lg("I am, who are you?"), -, - lg("Indeed, I am not."), L_NeedHelp; - - mes ""; - mesn "Narrator"; - mes col(l("The stowaway doesn't answer."), 9); - - close; - -L_NeedHelp: - setcamnpc; - mes ""; - mesn "Hidden Person"; - mesq l("Good, good... Hey, could you help me please? I beg you, please, pleeeease..."); - next; - restorecam; - - menu - l("Why not, but who are you, and what kind of help do you need?"), L_CanHelp; - l("Sorry but I have no time for this."), -; - - closedialog; - close; - -L_CanHelp: - setcamnpc; - mes ""; - mesn; - mesq l("My name is Alige, I've been hiding here for weeks. All I have to eat are these berries... berries... berries..."); - next; - mesq l("I'm losing my mind here, I need something else to eat!"); - next; - mesq l("Could you please bring me something which isn't a berry, and I'm not big on vegetables either. I need proteins!"); - next; - restorecam; - - menu - l("Sure, but what will you give me in exchange?"), L_AboutReward, - l("Why don't you come out?"), -; - -L_ExplainHiding: - setcamnpc; - mes ""; - mesn; - mesq l("No, I can't. I won't! All I wanted was to travel across the seas for fun, growl... sniff. And in this hole in the floor, as you can see, I have lots of fun."); - next; - mesq l("Oh... um... actually... all I wanted was to get to Artis. Err... but I didn't, uhm... have enough money to pay for the ferry!"); - next; - mesq l("Please don't tell people you saw me. I don't want to be decapitated or get thrown into the sea as food for sharks, or get my hair mussed!"); - next; - restorecam; - - if (getq(ShipQuests_Alige) == 2) goto L_SoAskForFood; - goto L_Accept; - -L_AboutReward: - setcamnpc; - mes ""; - mesn; - mesq l("I'll share my berries with you if you help me."); - next; - restorecam; - -L_Accept: - menu - l("Understood, I will help you."), L_FirstAccepted, - l("We arrived in Artis today."), L_Artis, - l("I think I should report you to the crew members."), -; - - setcamnpc; - mesq lg("Growl, sniff, grr! You'd better not tell anyone you saw me!"); - - close; - -L_Artis: - setcamnpc; - mes ""; - mesn; - mesq l("Of course, so why do I still see open sea from the porthole?"); - next; - mesq l("I wonder who is in delarium now..."); - next; - mesq l("But hey, back to me. Remember my mentioning that I'm hun...grrr...eee!"); - next; - restorecam; - - if (.@q == 2) goto L_SoAskForFood; - goto L_Accept; - -L_FirstAccepted: - if (getq(ShipQuests_Alige) >= 2) goto L_Accepted; - setq ShipQuests_Alige, 2; - - goto L_Accepted; - -L_Accepted: - setcamnpc; - mes ""; - mesn; - mesq lg("Great, what food do you have for me today?"); - next; - restorecam; - -L_GiveFood: - mes ""; - menuint - rif(countitem(Acorn), l(getitemname(Acorn))), 0, - rif(countitem(Bread), l(getitemname(Bread))), 502, - rif(countitem(Fungus), l(getitemname(Fungus))), 503, - rif(countitem(Cheese), l(getitemname(Cheese))), 504, - rif(countitem(PiouLegs), l(getitemname(PiouLegs))), 505, - rif(countitem(LettuceLeaf), l(getitemname(LettuceLeaf))), 0, - rif(countitem(Piberries), l(getitemname(Piberries))), 2, - rif(countitem(SeaDrops), l(getitemname(SeaDrops))), 1, - rif(countitem(Aquada), l(getitemname(Aquada))), 509, - rif(countitem(PinkBlobime), l(getitemname(PinkBlobime))), 1, - rif(countitem(HalfCroconut), l(getitemname(HalfCroconut))), 512, - rif(countitem(Croconut), l(getitemname(Croconut))), 0, - rif(countitem(Plushroom), l(getitemname(Plushroom))), 515, - rif(countitem(PumpkinSeeds), l(getitemname(PumpkinSeeds))), 1, - rif(countitem(UrchinMeat), l(getitemname(UrchinMeat))), 1, - rif(countitem(EasterEgg), l(getitemname(EasterEgg))), 1, - rif(countitem(PumpkishJuice), l(getitemname(PumpkishJuice))), 527, - rif(countitem(Manana), l(getitemname(Manana))), 528, - rif(countitem(Curshroom), l(getitemname(Curshroom))), 529, - rif(countitem(Carrot), l(getitemname(Carrot))), 530, - rif(countitem(RedPlushWine), l(getitemname(RedPlushWine))), 3, - l("I don't have anything good for you today."), -1; - - .@id = @menuret; - if (.@id == -1) goto L_Quit; // Quit message. - if (.@id == 0) goto L_NoReward; // In case of wrong food. - if (.@id == 1) goto L_Poison; // In case of poisoned food. - if (.@id == 2) goto L_NoMore; // In case of Piberries. - if (.@id == 3) goto L_Drunk; // In case of Alcohol. - if (countitem(.@id) == 0) goto L_Quit; -// if (.@id == item's ID) then food is correct. -// Do not put any other number than -1, 0, 1, 2 or the item's ID, that'll avoid confusion. - - inventoryplace Piberries, 3; - delitem .@id, 1; - - setcamnpc; - mes ""; - mesn; - mesq l("Thank you so much! Here, have some of my berries."); - - setq ShipQuests_Alige, 3; - getitem Piberries, rand(1, 3); - next; - - goto L_ReturnMenu; - -L_NoReward: - setcamnpc; - mes ""; - mesn; - mesq l("You don't expect me to eat that, do you? Give me something else!"); - next; - restorecam; - - goto L_GiveFood; - -L_Drunk: - setcamnpc; - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("I asked for food but... *hips* Ah, that'll do nicely!"); - restorecam; - - goto L_GiveFood; - -L_ReturnMenu: - setcamnpc; - mesq l("Do you have anything else for me?"); - next; - restorecam; - - goto L_GiveFood; - -L_NoMore: - setcamnpc; - mes ""; - mesn; - mesq l("Grr, don't give me more berries! I don't want them, stupid berries, stupid... Stupid... Stupid!"); - next; - - goto L_ReturnMenu; - -L_Poison: - setcamnpc; - mes ""; - mesn; - mesq l("Don't try to poison me! I know what that does!"); - next; - restorecam; - goto L_ReturnMenu; - -L_SoAskForFood: - setcamnpc; - mesn; - mesq l("So, do you have anything for me today?"); - next; - restorecam; - goto L_IntroMenu; - -L_AskForFood: - setcamnpc; - mesn; - mesq l("Do you have anything for me today?"); - next; - restorecam; - -L_IntroMenu: - menu - l("Yes."), L_GiveFood, - l("Where can I find some food?"), L_FindFood, - l("Why are you hiding?") + " " + l("Why don't you come out?"), L_ExplainHiding, - l("We arrived in Artis today."), L_Artis, - l("I think I should report you to the crew members."), -; - - setcamnpc; - mesq lg("Growl, sniff, grr! You'd better not tell anyone you saw me!"); - - close; - -L_FindFood: - setcamnpc; - mes ""; - mesn; - mesq l("There are some flying yellow plushes around you. They're called pious. Getting a roasted leg of one of them would be perfect."); - next; - mesq l("I'd like to catch one of them, but they fly away when I try."); - next; - mesq l("Walking around a bit, it'll be easy for you to catch one, I bet. Impale one of them for me please."); - next; - restorecam; - mesn "Narrator"; - mes col(l("You can attack a monster by clicking on it, or from your keyboard you can press the 'A' key to select the monster followed by 'Ctrl' to attack it."), 9); - next; - mes col(l("Once the monster is dead, click on the dropped items to add them to your inventory. You can also use the 'Z' key to claim the drops."), 9); - - close; - -L_Quit: - setcamnpc; - mes ""; - mesn; - mesq l("Too bad... Come back when you'll have some nice food for me. Growl... grumble... grumble."); - - close; - -OnInit: - .sex = G_MALE; - .distance = 2; - end; -} diff --git a/npc/001-2-22/chefgado.txt b/npc/001-2-22/chefgado.txt deleted file mode 100644 index 329d8567d..000000000 --- a/npc/001-2-22/chefgado.txt +++ /dev/null @@ -1,22 +0,0 @@ -// Evol scripts. -// Authors: -// Hal9000 -// Qwerty Dragon -// Reid -// Description: -// La Johanne Chef. - -001-2-22,27,28,0 script Chef Gado#Artis NPC_CHEF_GADO,{ - - .@r = rand(3); - if (.@r == 0) npctalk3 l("What are you doing in my kitchen?! Get out, it's not a place for kids!"); - if (.@r == 1) npctalk3 l("Where is the damn salt?! Give me the salt, I know you have it!"); - if (.@r == 2) npctalk3 l("Are you going to stand here all day long? Do the dishes or go away."); - - close; - -OnInit: - .sex = G_MALE; - .distance = 2; - end; -} diff --git a/npc/001-2-22/chest.txt b/npc/001-2-22/chest.txt deleted file mode 100644 index 010f5a799..000000000 --- a/npc/001-2-22/chest.txt +++ /dev/null @@ -1,49 +0,0 @@ -// Evol scripts. -// Authors: -// 4144 -// gumi -// Reid -// Description: -// A box with clothes for new players. - -001-2-22,51,37,0 script Chest#Artis NPC_CHEST_BIG,2,4,{ - - if (.busy == false) - { - specialeffect(.dir == 0 ? 24 : 25, AREA, getnpcid(0)); // closed ? opening : closing - .dir = .dir == 0 ? 2 : 6; // closed ? opening : closing - .busy = true; // lock until available again - 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; -} diff --git a/npc/001-2-22/hammock.txt b/npc/001-2-22/hammock.txt deleted file mode 100644 index f6f700442..000000000 --- a/npc/001-2-22/hammock.txt +++ /dev/null @@ -1,137 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Animated hammock at the mid level of the ship. - -001-2-22,32,27,0 script #hammockArtis1 NPC_LEFT_HAMMOCK,1,0,{ - -OnTouch: - hamTouchLeft; - -OnUnTouch: - hamUnTouch; - -OnTimer5440: - hamTimerLeft; -} - -001-2-22,32,25,0 script #hammockArtis2 NPC_LEFT_HAMMOCK,1,0,{ - -OnTouch: - hamTouchLeft; - -OnUnTouch: - hamUnTouch; - -OnTimer5440: - hamTimerLeft; -} - -001-2-22,37,25,0 script #hammockArtis3 NPC_RIGHT_HAMMOCK,1,0,{ - -OnTouch: - hamTouchLeft; - -OnUnTouch: - hamUnTouch; - -OnTimer5440: - hamTimerLeft; -} - -001-2-22,37,27,0 script #hammockArtis4 NPC_RIGHT_HAMMOCK,1,0,{ - -OnTouch: - hamTouchLeft; - -OnUnTouch: - hamUnTouch; - -OnTimer5440: - hamTimerLeft; -} - -001-2-22,37,29,0 script #hammockArtis5 NPC_RIGHT_HAMMOCK,1,0,{ - -OnTouch: - hamTouchLeft; - -OnUnTouch: - hamUnTouch; - -OnTimer5440: - hamTimerLeft; -} - -001-2-22,37,34,0 script #hammockArtis6 NPC_RIGHT_HAMMOCK,1,0,{ - -OnTouch: - hamTouchLeft; - -OnUnTouch: - hamUnTouch; - -OnTimer5440: - hamTimerLeft; -} - -001-2-22,37,36,0 script #hammockArtis7 NPC_RIGHT_HAMMOCK,1,0,{ - -OnTouch: - hamTouchLeft; - -OnUnTouch: - hamUnTouch; - -OnTimer5440: - hamTimerLeft; -} - -001-2-22,37,38,0 script #hammockArtis8 NPC_RIGHT_HAMMOCK,1,0,{ - -OnTouch: - hamTouchLeft; - -OnUnTouch: - hamUnTouch; - -OnTimer5440: - hamTimerLeft; -} - -001-2-22,37,40,0 script #hammockArtis9 NPC_RIGHT_HAMMOCK,1,0,{ - -OnTouch: - hamTouchLeft; - -OnUnTouch: - hamUnTouch; - -OnTimer5440: - hamTimerLeft; -} - -001-2-22,32,38,0 script #hammockArtis10 NPC_LEFT_HAMMOCK,1,0,{ - -OnTouch: - hamTouchLeft; - -OnUnTouch: - hamUnTouch; - -OnTimer5440: - hamTimerLeft; -} - -001-2-22,32,40,0 script #hammockArtis11 NPC_LEFT_HAMMOCK,1,0,{ - -OnTouch: - hamTouchLeft; - -OnUnTouch: - hamUnTouch; - -OnTimer5440: - hamTimerLeft; -} diff --git a/npc/001-2-22/knife.txt b/npc/001-2-22/knife.txt deleted file mode 100644 index 7502b1631..000000000 --- a/npc/001-2-22/knife.txt +++ /dev/null @@ -1,47 +0,0 @@ -// Evol scripts. -// Authors: -// Ablu -// Qwerty Dragon -// Description: -// Knife on the table. -// Variable: -// ShipQuests_Knife -// Values: -// 0 Default, not taken. -// 1 Knife taken. - -000-2-1,50,24,0 script #Artisknife NPC_KNIVES,{ - .@q = getq(ShipQuests_Knife); - if (.@q) close; - - mesn "Narrator"; - mes col(l("There are some knives on the table. Would you like to take one?"), 9); - next; - - menu - l("Yes."), L_Give, - l("No."), -; - - closedialog; - close; - -L_Give: - mes ""; - inventoryplace Knife, 1; - - setq ShipQuests_Knife, 1; - getitem Knife, 1; - - mesn "Narrator"; - mes col(l("To open your inventory, use the F3 key or use your mouse to select it in the above menu in your client."), 9); - next; - mes col(l("When your inventory is open, you can equip an item by selecting it and clicking 'Equip'. You can do the same to unequip an item by clicking on 'Unequip'."), 9); - next; - mes col(l("Items have different effects. Some will heal you, some can be used as weapons or armor, and some can be sold for gold."), 9); - - close; - -OnInit: - .distance = 2; - end; -} diff --git a/npc/001-2-22/mapflags.txt b/npc/001-2-22/mapflags.txt deleted file mode 100644 index fdb4e3e22..000000000 --- a/npc/001-2-22/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-22 mapflag town diff --git a/npc/001-2-22/note.txt b/npc/001-2-22/note.txt deleted file mode 100644 index b2560503e..000000000 --- a/npc/001-2-22/note.txt +++ /dev/null @@ -1,33 +0,0 @@ -// Evol scripts. -// Author: -// Vasily_Makarov -// Description: -// - -001-2-22,31,31,0 script Note#001-2-22 NPC_DAN_NOTE,{ - mesn; - mesq l("This note was left by somebody."); - next; - mesq l("What do you want to do with it?"); - - menu - l("Read it."), L_Content, - l("Leave it."), -; - close; - -L_Content: - mesn; - mes "\"" + l("Dear sister,"); - mes l("In a couple of days, we will finally reach Artis."); - next; - - mes l("I will send you this letter as soon as I arrive."); - mes l("Don't worry sister, I didn't forget you."); - next; - - mes l("I would like to come back home when the days are better."); - mes l("And when we have enough money for ourselves without needing anybody else."); - - mes l("Sincerely yours, Dan.") + "\""; - close; -} diff --git a/npc/001-2-22/peter.txt b/npc/001-2-22/peter.txt deleted file mode 100644 index 0365392af..000000000 --- a/npc/001-2-22/peter.txt +++ /dev/null @@ -1,335 +0,0 @@ -// Evol scripts. -// Authors: -// 4144 -// Ablu -// Alastrim -// Qwerty Dragon -// Reid -// Vasily_Makarov -// Description: -// Rat hunter. -// 4+2 bits array: -// ShipQuests -// Variable: -// ShipQuests_Peter -// Values: -// 0 Doesn't know the quest. -// 1 Task given. -// 2 Task given and reward expected. -// 3 Task completed without reward. -// 4 Asked for reward after completion of the task. -// 5 Task done and reward given. -// 6 Did not start the quest. -// Others: -// .@peter = Peter#001-2-22 variable. -// "001-2-23" - map with mobs. -// "$@ARTIS_RAT1_HELPER$" - Name of the participant. -// "$@ARTIS_RAT1_DEATHS - Number of deaths when the participant starts the fight. -// "$@ARTIS_RAT1_CONTROL" - Explanation of each index of the array. -// "$@ARTIS_RAT1_OLD_HELPER$" - Name of the participant. -// "$@ARTIS_RAT1_COUNTDOWN" - Seconds since the epoch of when the player done the quest. -// [1] = Shows status of ratto number 1 (1 is dead and 0 is alive). -// [2] = Shows status of ratto number 2 (1 is dead and 0 is alive). -// [3] = Shows status of ratto number 3 (1 is dead and 0 is alive). -// [4] = Shows status of ratto number 4 (1 is dead and 0 is alive). -// [5] = Shows how many seconds passed since ratto number 1 died. -// [6] = Shows how many seconds passed since ratto number 2 died. -// [7] = Shows how many seconds passed since ratto number 3 died. -// [8] = Shows how many seconds passed since ratto number 4 died. -// [9] = Shows how many seconds passed since the player started the quest. -// [10] = Shows how many seconds passed since the player done the quest. - -001-2-22,72,34,0 script AreaNPC#001-2-22 NPC_HIDDEN,0,1,{ - -OnTouch: - if (BaseLevel < 5) goto L_Stop; - if ($@ARTIS_RAT1_COUNTDOWN == 0) goto L_NoCountDown; - if ((gettimetick(2) - $@ARTIS_RAT1_COUNTDOWN) < 10) goto L_NoGoodTick; - if (($@ARTIS_RAT1_OLD_HELPER$ == strcharinfo(0)) && ((gettimetick(2) - $@ARTIS_RAT1_COUNTDOWN) < 60)) goto L_NoGoodTick; - $@ARTIS_RAT1_COUNTDOWN = 0; - -L_NoCountDown: - if ($@ARTIS_RAT1_HELPER$ != "") goto L_Occupied; - .@peter = getq(ShipQuests_Peter); - if (.@peter < 1 || .@peter > 5) goto L_Task; - if (.@peter == 1 || .@peter == 2) goto L_Rfail; - if (.@peter == 3 || .@peter == 4) goto L_Rwin; - if (.@peter > 5) goto L_SecondTime; - doevent "Peter#001-2-22::OnReturnWin"; - close; - -L_Stop: - doevent "Peter#001-2-22::OnStop"; - - close; - -L_Occupied: - doevent "Peter#001-2-22::OnDontneedHelp"; - - close; - -L_Task: - doevent "Peter#001-2-22::OnGiveTask"; - - close; - -L_Rfail: - doevent "Peter#001-2-22::OnReturnFail"; - - close; - -L_Rwin: - doevent "Peter#001-2-22::OnReturnWin"; - - close; - -L_NoGoodTick: - doevent "Peter#001-2-22::OnNoGoodTick"; - - close; -} - -001-2-22,70,35,0 script Peter#001-2-22 NPC_RATTO_SAILOR,{ - if (BaseLevel < 5) goto OnTooWeak; - if ($@ARTIS_RAT1_COUNTDOWN == 0) goto L_NoCountDown; - if ((gettimetick(2) - $@ARTIS_RAT1_COUNTDOWN) < 10) goto OnNoGoodTick; - if (($@ARTIS_RAT1_OLD_HELPER$ == strcharinfo(0)) && ((gettimetick(2) - $@ARTIS_RAT1_COUNTDOWN) < 60)) goto OnNoGoodTick; - $@ARTIS_RAT1_COUNTDOWN = 0; - -L_NoCountDown: - .@peter = getq(ShipQuests_Peter); - if (.@peter == 1 || .@peter == 2) goto OnReturnFail; - if (.@peter == 3 || .@peter == 4 || .@peter == 5) goto OnReturnWin; - -OnGiveTask: - setq ShipQuests_Peter, 6; - .@peter = getq(ShipQuests_Peter); - mesn; - mesq lg("Hey, girl!", "Hey, man!"); - next; - mesq l("I need somebody who can rid the hold of the ship of these rattos. Can you help me?"); - next; - - menu - l("Yeah, but what reward will I get?"), L_BonusTask, - l("Why not, I need to train anyway."), L_Task, - l("No, they are way too dangerous for me!"), -; - - mes ""; - mesn; - mesq l("Hehe, hehe. Well, come back if you change your mind."); - - goto L_Quit; - -OnTooWeak: - mesn; - mesq lg("I need someone to help me clean the edge of the ship, but you aren't strong enough for now."); - - goto L_Quit; - -OnStop: - warp "001-2-22", 72, 36; - - mesn; - mesq l("You can't go there!"); - - close; - -OnReturnFail: - mesn; - mesq l("I see it's not so easy to get rid of these rattos. Do you want to try again?"); - next; - - menu - l("Yeah, but I would like to make sure I get a reward."), L_BonusTask, - l("Why not, I need to train anyway."), L_Task, - l("No, they are way too dangerous for me!"), -; - - mes ""; - mesn; - mesq l("Hehe, hehe. Well, come back if you change your mind."); - - goto L_Quit; - -OnReturnWin: - .@peter = getq(ShipQuests_Peter); - mesn; - mesq l("Thanks again for helping me. Drats these rattos for infesting our fair vessal! They are a permanent problem so I will always need your help to exterminate them in order to keep their number under control. Your help is very welcome indeed. Unfortunately, I can give you a reward only for the first extermination."); - next; - - if (.@peter == 3 || .@peter == 4) - menu - l("Did you say reward? I want it!"), L_BonusTask, - l("I am not worried about rewards. I just want to help."), L_Task, - l("Sorry, I am not in the mood for another fight with these rattos."), -; - - if (.@peter == 5) - menu - l("No problem, I can help you anyway."), L_Task, - l("Sorry, I am not in the mood for another fight with these rattos."), -; - - mes ""; - mesn; - mesq l("Hehe, hehe. Well, come back if you change your mind."); - - close; - -L_BonusTask: - mes ""; - mesn; - mesq l("What if I give you 1000 Esperin for that job, is it ok?"); - next; - - menu - lg("Okay, I'm ready to work!"), -, - l("What? This reward is too small!"), L_Quit; - - .@peter = getq(ShipQuests_Peter); - if ($@ARTIS_RAT1_HELPER$ != "") goto OnDontneedHelp; - if (.@peter == 6) setq ShipQuests_Peter, 2; - if (.@peter == 3) setq ShipQuests_Peter, 4; - .@peter = getq(ShipQuests_Peter); - goto L_Start; - -L_Task: - .@peter = getq(ShipQuests_Peter); - if ($@ARTIS_RAT1_HELPER$ != "") goto OnDontneedHelp; - if (.@peter == 6) setq ShipQuests_Peter, 1; - .@peter = getq(ShipQuests_Peter); - -L_Start: - mes ""; - mesn; - mesq l("Okay, you can start!"); - -OnStartOutside: - if ($@ARTIS_RAT1_HELPER$ != "") goto OnDontneedHelp; - $@ARTIS_RAT1_HELPER$ = strcharinfo(0); - $@ARTIS_RAT1_DEATHS = PC_DIE_COUNTER; - initnpctimer; - warp "001-2-23", 48, 28; - doevent "RattosControl#001-2-23::OnSpawn"; - - goto L_Quit; - -OnTimer2000: - if (attachrid(getcharid(3, $@ARTIS_RAT1_HELPER$)) == 0) goto L_Logoff; - $@ARTIS_RAT1_CONTROL[9] = $@ARTIS_RAT1_CONTROL[9] + 2; - if ($@ARTIS_RAT1_CONTROL[9] > 100) goto L_Timeout; - if (PC_DIE_COUNTER > $@ARTIS_RAT1_DEATHS) goto L_Dead; - if ($@ARTIS_RAT1_CONTROL[1] && $@ARTIS_RAT1_CONTROL[2] && $@ARTIS_RAT1_CONTROL[3] && $@ARTIS_RAT1_CONTROL[4]) goto L_Done; - if (getmapusers("001-2-23") == 0) goto L_CleaningEnd; - goto L_CheckRattos; - - end; - -L_CheckRattos: - if ($@ARTIS_RAT1_CONTROL[1]) $@ARTIS_RAT1_CONTROL[5] = $@ARTIS_RAT1_CONTROL[5] + 2; - if ($@ARTIS_RAT1_CONTROL[2]) $@ARTIS_RAT1_CONTROL[6] = $@ARTIS_RAT1_CONTROL[6] + 2; - if ($@ARTIS_RAT1_CONTROL[3]) $@ARTIS_RAT1_CONTROL[7] = $@ARTIS_RAT1_CONTROL[7] + 2; - if ($@ARTIS_RAT1_CONTROL[4]) $@ARTIS_RAT1_CONTROL[8] = $@ARTIS_RAT1_CONTROL[8] + 2; - if ($@ARTIS_RAT1_CONTROL[5] > 45) doevent "RattosControl#001-2-23::OnRatto1Respawn"; - if ($@ARTIS_RAT1_CONTROL[6] > 45) doevent "RattosControl#001-2-23::OnRatto2Respawn"; - if ($@ARTIS_RAT1_CONTROL[7] > 45) doevent "RattosControl#001-2-23::OnRatto3Respawn"; - if ($@ARTIS_RAT1_CONTROL[8] > 45) doevent "RattosControl#001-2-23::OnRatto4Respawn"; - -L_NotYet: - setnpctimer 0; - - end; - -OnDontneedHelp: - mesn; - mesq l("I don't need your help right now, come back later."); - next; - mesq l("@@ is helping me.", $@ARTIS_RAT1_HELPER$); - - goto L_Quit; - -L_Timeout: - mesn; - mesq l("Hey! Be careful. You can't stay in this basement for so long, you're going to get sick. Come outside and take a break, maybe you can try again later."); - warp "001-2-22", 72, 36; - - goto L_CleaningClose; - -L_Logoff: - goto L_CleaningEnd; - -L_Dead: -// Warps the dead body outside, so it does not interfere with the getmapusers check. - if (getmapusers("001-2-23") > 0) warp "001-2-22", 72, 36; - - goto L_CleaningEnd; - -L_Done: - $@ARTIS_RAT1_CONTROL[10] = $@ARTIS_RAT1_CONTROL[10] + 2; - if($@ARTIS_RAT1_CONTROL[10] < 5) goto L_NotYet; - .@peter = getq(ShipQuests_Peter); - if (.@peter == 2 || .@peter == 4) goto L_Reward; - warp "001-2-22", 72, 36; - - goto L_Thanks; - -L_CleaningEnd: - stopnpctimer; - $@ARTIS_RAT1_HELPER$ = ""; - $@ARTIS_RAT1_DEATHS = 0; - cleararray $@ARTIS_RAT1_CONTROL, 0, 11; - killmonster "001-2-23", "RattosControl#001-2-23::OnRatto1Death"; - killmonster "001-2-23", "RattosControl#001-2-23::OnRatto2Death"; - killmonster "001-2-23", "RattosControl#001-2-23::OnRatto3Death"; - killmonster "001-2-23", "RattosControl#001-2-23::OnRatto4Death"; - - end; - -L_CleaningClose: - stopnpctimer; - $@ARTIS_RAT1_OLD_HELPER$ = $@ARTIS_RAT1_HELPER$; - $@ARTIS_RAT1_HELPER$ = ""; - $@ARTIS_RAT1_DEATHS = 0; - cleararray $@ARTIS_RAT1_CONTROL, 0, 11; - killmonster "001-2-23", "RattosControl#001-2-23::OnRatto1Death"; - killmonster "001-2-23", "RattosControl#001-2-23::OnRatto2Death"; - killmonster "001-2-23", "RattosControl#001-2-23::OnRatto3Death"; - killmonster "001-2-23", "RattosControl#001-2-23::OnRatto4Death"; - $@ARTIS_RAT1_COUNTDOWN = gettimetick(2); - - close; - -L_Reward: - warp "001-2-22", 72, 36; - setq ShipQuests_Peter, 5; - .@peter = getq(ShipQuests_Peter); - mesn; - mesq l("Good job!") + " " + l("Here's your reward!"); - getexp 100, 0; - Zeny = Zeny + 1000; - message strcharinfo(0), l("You receive @@ E!", 1000); - - goto L_CleaningClose; - -L_Thanks: - mesn; - mesq l("Thanks for helping me!"); - .@peter = getq(ShipQuests_Peter); - if (.@peter == 1) setq ShipQuests_Peter, 3; - .@peter = getq(ShipQuests_Peter); - - goto L_CleaningClose; - -L_Quit: - .@peter = 0; - - close; - -OnNoGoodTick: - mesn; - mesq l("I don't need your help right now, come back later."); - close; - -OnInit: - .sex = G_MALE; - .distance = 3; - end; -} diff --git a/npc/001-2-23/_import.txt b/npc/001-2-23/_import.txt deleted file mode 100644 index 22778b22f..000000000 --- a/npc/001-2-23/_import.txt +++ /dev/null @@ -1,6 +0,0 @@ -// Map 001-2-23: Hold -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-23/_warps.txt", -"npc/001-2-23/doors.txt", -"npc/001-2-23/mapflags.txt", -"npc/001-2-23/ratto.txt", diff --git a/npc/001-2-23/_warps.txt b/npc/001-2-23/_warps.txt deleted file mode 100644 index d9434efb5..000000000 --- a/npc/001-2-23/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-23: Hold warps -001-2-23,48,29,0 warp #001-2-23_48_29 0,0,001-2-22,72,35 diff --git a/npc/001-2-23/doors.txt b/npc/001-2-23/doors.txt deleted file mode 100644 index bb192082f..000000000 --- a/npc/001-2-23/doors.txt +++ /dev/null @@ -1,69 +0,0 @@ -// Evol scripts. -// Authors: -// Ablu -// Alastrim -// Reid -// Description: -// Doors NPCs. - -001-2-23,48,29,0 script DoorUpwards#001-2-23 NPC_HIDDEN,0,0,{ - -OnTouch: - if (mobcount("001-2-23","all") > 0) goto L_Warn; - - goto L_Warp; - -L_Warn: - .@q = getq(ShipQuests_Peter); - if (.@q == 5) goto L_Warp; - - mesn "Narrator"; - mes col(l("There are still some rattos left! Do you want to abort the quest?"), 9); - next; - - menu - l("Yes."), L_Warp, - l("No."), -; - - warp "001-2-23", 48, 28; - closedialog; - close; - -L_Warp: - warp "001-2-22", 72, 36; - closedialog; - close; -} - -001-2-23,24,31,0 script LeftDoor#001-2-23 NPC_HIDDEN,0,0,{ - -OnTouch: - mesn "Narrator"; - mes col(l("It seems that you need a key to open this door."), 9); - next; - mes col(l("What do you want to do?"), 9); - next; - - menu - rif(countitem(718) > 0, l("Use the key.")), L_Warp, - l("Break the door."), L_Break, - l("Go away."), -; - - closedialog; - close; - -L_Break: - - mes ""; - mesn "Narrator"; - mes col(l("You hear a loud scream. It must be the creaking of the wooden door..."), 9); - - close; - -L_Warp: - mes ""; - mesn "Narrator"; - mes col(l("Wait, it seems someone is blocking the door from the other side!"), 9); - - close; -} diff --git a/npc/001-2-23/mapflags.txt b/npc/001-2-23/mapflags.txt deleted file mode 100644 index c8d2d7e7c..000000000 --- a/npc/001-2-23/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-23 mapflag nosave 001-2-22,50,38 diff --git a/npc/001-2-23/ratto.txt b/npc/001-2-23/ratto.txt deleted file mode 100644 index 91a822d3c..000000000 --- a/npc/001-2-23/ratto.txt +++ /dev/null @@ -1,68 +0,0 @@ -// Evol scripts. -// Authors: -// Ablu -// Alastrim -// Reid -// Description: -// Ratto killer. - -// $@ARTIS_RAT1_CONTROL array explanation: -// [1] = Shows status of ratto number 1 (1 is dead and 0 is alive). -// [2] = Shows status of ratto number 2 (1 is dead and 0 is alive). -// [3] = Shows status of ratto number 3 (1 is dead and 0 is alive). -// [4] = Shows status of ratto number 4 (1 is dead and 0 is alive). -// [5] = Shows how many seconds passed since ratto number 1 died. -// [6] = Shows how many seconds passed since ratto number 2 died. -// [7] = Shows how many seconds passed since ratto number 3 died. -// [8] = Shows how many seconds passed since ratto number 4 died. -// [9] = Shows how many seconds passed since the player started the quest. - -001-2-23,47,30,0 script RattosControl#001-2-23 NPC_HIDDEN,{ - -OnSpawn: - areamonster "001-2-23", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl#001-2-23::OnRatto1Death"; - areamonster "001-2-23", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl#001-2-23::OnRatto2Death"; - areamonster "001-2-23", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl#001-2-23::OnRatto3Death"; - areamonster "001-2-23", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl#001-2-23::OnRatto4Death"; - close; - -OnRatto1Respawn: - areamonster "001-2-23", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl#001-2-23::OnRatto1Death"; - $@ARTIS_RAT1_CONTROL[1] = 0; - $@ARTIS_RAT1_CONTROL[5] = 0; - end; - -OnRatto2Respawn: - areamonster "001-2-23", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl#001-2-23::OnRatto2Death"; - $@ARTIS_RAT1_CONTROL[2] = 0; - $@ARTIS_RAT1_CONTROL[6] = 0; - end; - -OnRatto3Respawn: - areamonster "001-2-23", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl#001-2-23::OnRatto3Death"; - $@ARTIS_RAT1_CONTROL[3] = 0; - $@ARTIS_RAT1_CONTROL[7] = 0; - end; - -OnRatto4Respawn: - areamonster "001-2-23", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl#001-2-23::OnRatto4Death"; - $@ARTIS_RAT1_CONTROL[4] = 0; - $@ARTIS_RAT1_CONTROL[8] = 0; - end; - -OnRatto1Death: - $@ARTIS_RAT1_CONTROL[1] = 1; - end; - -OnRatto2Death: - $@ARTIS_RAT1_CONTROL[2] = 1; - end; - -OnRatto3Death: - $@ARTIS_RAT1_CONTROL[3] = 1; - end; - -OnRatto4Death: - $@ARTIS_RAT1_CONTROL[4] = 1; - end; -} diff --git a/npc/001-2-24/_import.txt b/npc/001-2-24/_import.txt deleted file mode 100644 index 34c43a0b5..000000000 --- a/npc/001-2-24/_import.txt +++ /dev/null @@ -1,7 +0,0 @@ -// Map 001-2-24: Nard's Room -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-24/_warps.txt", -"npc/001-2-24/hammock.txt", -"npc/001-2-24/mapflags.txt", -"npc/001-2-24/nard.txt", -"npc/001-2-24/piourocket.txt", diff --git a/npc/001-2-24/_warps.txt b/npc/001-2-24/_warps.txt deleted file mode 100644 index 945c3aca1..000000000 --- a/npc/001-2-24/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-24: Nard's Room warps -001-2-24,19,27,0 warp #001-2-24_19_27 0,0,001-2-21,32,28 diff --git a/npc/001-2-24/hammock.txt b/npc/001-2-24/hammock.txt deleted file mode 100644 index f43193587..000000000 --- a/npc/001-2-24/hammock.txt +++ /dev/null @@ -1,17 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Animated hammock at the top level of the ship. - -001-2-24,28,24,0 script #nardArtisHammock NPC_LEFT_HAMMOCK,1,0,{ - -OnTouch: - hamTouchRight; - -OnUnTouch: - hamUnTouch; - -OnTimer5440: - hamTimerRight; -} diff --git a/npc/001-2-24/mapflags.txt b/npc/001-2-24/mapflags.txt deleted file mode 100644 index 4506b385f..000000000 --- a/npc/001-2-24/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-24 mapflag town diff --git a/npc/001-2-24/nard.txt b/npc/001-2-24/nard.txt deleted file mode 100644 index 6c8458388..000000000 --- a/npc/001-2-24/nard.txt +++ /dev/null @@ -1,94 +0,0 @@ -// Evol scripts. -// Authors: -// Qwerty Dragon -// Reid -// Description: -// Captain Nard dialogs. -// Nard does the introduction with a small quest. -// This quest is meant to teach the player how to use a weapon,and to bring food to the ship. -// 4 bits array: -// ShipQuests -// Variable: -// 0 ShipQuests_Nard -// 1 ShipQuests_Gugli -// 2 ShipQuests_ChefGado -// Values: -// 00 Introduction of the boxes and Nard. This is displayed when the player never spoke to Nard or his box. -// 01 Nard spoke and gave access to the outdoor of the ship. -// 02 Completed the Gugli quest. -// 03 ChefGado Quest accepted. -// 04 ChefGado Quest completed and "Introduction" chapter finalized. -// 05 Reward taken from the box. -// 10 Never talked with Gugli. -// 11 Gugli gives you the task. -// 12 Gave all of the boxes to Gugli. - -001-2-24,25,26,0 script Nard#Artis NPC_NARD,{ - - checkclientversion; - mesn; - mesq g(l("Good day miss."), l("Good day mister.")); - next; - mesq l("What can I do for you?"); - .@q = getq(ArtisQuests_Enora); - - // Before the player sees Enora, the menu shows L_Lost on top - // If the player saw Enora, the menu shows L_Lost at the bottom - // Because he shouldn't be lost after having talked to her, so the priority in menu changes - menu - rif(.@q == 0, lg("I'm lost, where should I go?")), L_Lost, - rif(.@q > 0, l("Tell me, where are we right now?")), L_Info, - l("How long will you stay here?"), -, - rif(.@q > 0, lg("I'm lost, where should I go?")), L_Lost; - - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("We just returned from a long journey and Artis is a good city to rest and to conclude our exchange."), - l("I think that we will stay in port for a great time."), - l("Although, if you want to visit a place nearby, we could take you there."), - l("Do you want to go somewhere?"); - - switch (select(l("Drasil Island."), - l("Nowhere, I'm fine here."))) - { - case 1: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Let's set sail then!"); - - savepoint "000-2-1", 50, 38; - if (!getmapxy(.@map$, .@x, .@y, 0)) - { - warp "000-2-3", .@x, .@y; - } - else - { - warp "000-2-3", 22, 27; - } - - closedialog; - close; - case 2: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Ok we stay docked here if you need our help."); - - closedialog; - close; - } -L_Info: - closedialog; - npctalk3 l("Don't you recognize the great city of Artis?"); - close; - -L_Lost: - mes ""; - mesn; - mesq l("Julia made an appeal to the Legion of Aemil to get in touch with you, exit the ship and you should see your escort!"); - next; - - closedialog; - close; - -OnInit: - .sex = G_MALE; - .distance = 5; - end; -} diff --git a/npc/001-2-24/piourocket.txt b/npc/001-2-24/piourocket.txt deleted file mode 100644 index 3bcc914bd..000000000 --- a/npc/001-2-24/piourocket.txt +++ /dev/null @@ -1,9 +0,0 @@ -// Evol scripts. -// Author: -// Ablu -// Description: -// Jumping piou. - -// actual source is in npc/000-2-3/piourocket.txt - -001-2-24,27,23,4 duplicate(#piourocket) #piourocketArtis NPC_PIOU_ROCKET diff --git a/npc/001-2-25/_import.txt b/npc/001-2-25/_import.txt deleted file mode 100644 index a3e9ee03c..000000000 --- a/npc/001-2-25/_import.txt +++ /dev/null @@ -1,5 +0,0 @@ -// Map 001-2-25: Storage Room -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-25/_mobs.txt", -"npc/001-2-25/_warps.txt", -"npc/001-2-25/mapflags.txt", diff --git a/npc/001-2-25/_mobs.txt b/npc/001-2-25/_mobs.txt deleted file mode 100644 index de0c289e8..000000000 --- a/npc/001-2-25/_mobs.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-25: Storage Room mobs -001-2-25,0,0,0,0 monster Ratto 1005,2,240000,420000 diff --git a/npc/001-2-25/_warps.txt b/npc/001-2-25/_warps.txt deleted file mode 100644 index 88fd273db..000000000 --- a/npc/001-2-25/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-25: Storage Room warps -001-2-25,29,31,0 warp #001-2-25_29_31 0,0,001-2-19,41,26 diff --git a/npc/001-2-25/mapflags.txt b/npc/001-2-25/mapflags.txt deleted file mode 100644 index 659308e5e..000000000 --- a/npc/001-2-25/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-25 mapflag town diff --git a/npc/001-2-26/_import.txt b/npc/001-2-26/_import.txt deleted file mode 100644 index ab0c29703..000000000 --- a/npc/001-2-26/_import.txt +++ /dev/null @@ -1,6 +0,0 @@ -// Map 001-2-26: Alchemy Lab -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-26/_warps.txt", -"npc/001-2-26/flask.txt", -"npc/001-2-26/ivan.txt", -"npc/001-2-26/mapflags.txt", diff --git a/npc/001-2-26/_warps.txt b/npc/001-2-26/_warps.txt deleted file mode 100644 index 2b16f5696..000000000 --- a/npc/001-2-26/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-26: Alchemy Lab warps -001-2-26,28,43,0 warp #001-2-26_28_43 0,0,001-1,163,71 diff --git a/npc/001-2-26/flask.txt b/npc/001-2-26/flask.txt deleted file mode 100644 index 8afa58c3f..000000000 --- a/npc/001-2-26/flask.txt +++ /dev/null @@ -1,21 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Alchemy animation. - -001-2-26,32,27,4 script #FlaskAlchemyLab NPC_FLASK,{ - .dir = 2; - stopnpctimer; - initnpctimer; - close; - -OnTimer12920: - .dir = 4; - stopnpctimer; - end; - -OnInit: - .distance = 3; - end; -} diff --git a/npc/001-2-26/ivan.txt b/npc/001-2-26/ivan.txt deleted file mode 100644 index 251e11073..000000000 --- a/npc/001-2-26/ivan.txt +++ /dev/null @@ -1,86 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Alchemist NPC - -001-2-26,28,30,0 script Ivan NPC_IVAN,{ - - function ivan_description { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("I am an alchemist, I bear the name of Ivan."), - l("I work under the protection and the supervision of the Legion of Aemil."), - l("Alchemical studies are prohibited in every city of the Archipelagos, do not dare to practice it in a public zone!"); - - return; - } - - function enora_quest { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, l("How many? What kind? I can produce two dozen boxes per day."); - - select(l("5 Piberries Infusions")); - - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("5 boxes... Alright, @@ are my speciality!", getitemlink(PiberriesInfusion)), - l("I can prepare them in an hour or so!"); - - select(l("You missunderstood, it's 5 potions.")); - - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Why would the Legion request my help for only 5 potions?"), - l("Is this some kind of joke?!"); - - switch (select(l("Enora needs them."), - l("Excuse me that was a mistake."))) - { - case 1: - break; - case 2: - narrator S_FIRST_BLANK_LINE, l("Ivan grumbles and resumes his work."); - emotion E_UPSET; - close; - } - - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Oh... You should have started with this!"), - l("I have some spare one, take them, and tell Enora that any fees are paid!"); - - setq ArtisQuests_Enora, 9; - emotion E_HAPPY; - return; - } - - .@enora = getq(ArtisQuests_Enora); - - if (.@enora < 8) - { - npctalk3 l("I'm busy, leave me alone."); - end; - } - - speech S_LAST_NEXT, l("Yes what do you need?"); - - select - rif(.@enora == 8, l("The Legion needs some potions.")), - rif(.@enora >= 8, l("Who are you?")), - menuaction(l("Quit")); - - switch (@menu) - { - case 1: - enora_quest; - break; - case 2: - ivan_description; - break; - } - - closedialog; - goodbye; - close; - -OnInit: - .sex = G_MALE; - .distance = 2; - end; -} diff --git a/npc/001-2-26/mapflags.txt b/npc/001-2-26/mapflags.txt deleted file mode 100644 index 20c3188dc..000000000 --- a/npc/001-2-26/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-26 mapflag town diff --git a/npc/001-2-27/_import.txt b/npc/001-2-27/_import.txt deleted file mode 100644 index 977f41322..000000000 --- a/npc/001-2-27/_import.txt +++ /dev/null @@ -1,8 +0,0 @@ -// Map 001-2-27: Blacksmith Shop -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-27/_warps.txt", -"npc/001-2-27/don.txt", -"npc/001-2-27/kaylo.txt", -"npc/001-2-27/lydon.txt", -"npc/001-2-27/mapflags.txt", -"npc/001-2-27/shop.txt", diff --git a/npc/001-2-27/_warps.txt b/npc/001-2-27/_warps.txt deleted file mode 100644 index 60537f046..000000000 --- a/npc/001-2-27/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-27: Blacksmith Shop warps -001-2-27,35,39,0 warp #001-2-27_35_35 0,0,001-1,101,108 diff --git a/npc/001-2-27/don.txt b/npc/001-2-27/don.txt deleted file mode 100644 index cc62f4c11..000000000 --- a/npc/001-2-27/don.txt +++ /dev/null @@ -1,98 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Don the blacksmith of Artis - -001-2-27,35,29,0 script Don#001-2-27 NPC_HUMAN_MALE_OLD,{ - - function improve_equipment { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Different ways, each part of your equipment can be generally upgraded."), - l("You have a level for each of your gear, by default when you buy or craft a piece, the level is set to 1."), - l("You can also improve your equipment in a totally different way with the use of cards."); - return; - } - - function card_explanation { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("There are two different kinds of cards, the first changes the style of your clothes, the second changes their stats."), - l("I am not an expert of the first kind, but I know what I am talking about when it comes to improving equipment."), - l("A stat card works on different pieces of equipment."), - l("Each piece of equipment has a predefined slot number."), - l("Each card improves your gear by a ratio or a fixed number on a predefined stat."), - l("Like, a defensive mythril card can be used on any mythril equipment, and it will improve the defense by 5% of the latter."), - l("You just have to select the card, then you choose which piece of equipment you want to use it on, and you are done."); - return; - } - - function take_apprentice { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("I do not."); - emotion E_UPSET; - - select(l("What about Chelios?")); - - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Chelios was stubborn in his youth, he never stopped annoying me with his questions while I was working at the forge."), - l("He did not change while growing up, I repeatedly asked him to leave the forge but in the end he installed himself in front of it..."), - l("He is mature and he rarely ask questions so I am fine. I can not stand the sight of a whiner anyway."); - return; - } - - function good_blacksmith { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("I do not like to brag about it but you won't find a better blacksmith on the whole island."), - l("If you need somebody to craft a weapon or a plate from diagrams I am the one that you need."); - - switch (select(l("Can I craft them myself?"), - l("Ok."))) - { - case 1: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("You can try, but your chance of success is lesser than a well trained smith and master craftsman."); - break; - case 2: - break; - } - - return; - } - - speech S_LAST_NEXT, - lg("Hi, what do you want kiddo?"); - - do - { - switch (.@q = select(l("How can I improve my equipment?"), - l("What is a card?"), - l("Are you a good blacksmith?"), - l("Do you take apprentices?"), - l("Nothing."))) - { - case 1: - improve_equipment; - break; - case 2: - card_explanation; - break; - case 3: - good_blacksmith; - break; - case 4: - take_apprentice; - break; - case 5: - break; - } - } while (.@q != 5); - - goodbye; - close; - -OnInit: - .sex = G_MALE; - .distance = 2; - end; -} - diff --git a/npc/001-2-27/kaylo.txt b/npc/001-2-27/kaylo.txt deleted file mode 100644 index 5134aa07e..000000000 --- a/npc/001-2-27/kaylo.txt +++ /dev/null @@ -1,44 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Kaylo is the Shield seller in Don's Blacksmith house on Artis. - -001-2-27,27,28,0 script Kaylo#001-2-27 NPC_KAYLO,{ - speech S_LAST_NEXT, - lg("Hi customer! What do you want today?"); - - switch (select( - l("Let's make a trade."), - l("What's wrong with your clothes?"), - l("What is this place?"), - l("See you."))) - { - case 1: - closedialog; - shop "Store#Shield001-2-27"; - close; - case 2: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("I used a card to improve my clothes."), - l("There are two different kinds of cards, the first changes the style of your clothes, the second changes their stats."), - l("You should discuss with Don and Calypsan if you want to learn more about it, they are masters on this area!"); - break; - case 3: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("You are in the Blacksmith's house, by Jove!"), - l("Don is a renowned blacksmith throughout Andorra, it's crazy that you never heard of him."); - break; - case 4: - break; - } - - goodbye; - close; - -OnInit: - .sex = G_MALE; - .distance = 4; - end; -} - diff --git a/npc/001-2-27/lydon.txt b/npc/001-2-27/lydon.txt deleted file mode 100644 index 3dcd8005c..000000000 --- a/npc/001-2-27/lydon.txt +++ /dev/null @@ -1,37 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Lydon is the Weapon seller in Don's Blacksmith house on Artis. - -001-2-27,43,28,0 script Lydon#001-2-27 NPC_LYDON,{ - speech S_LAST_NEXT, - lg("Hi customer! What do you want today?"); - - switch (select( - l("Let's make a trade."), - l("Who is the blacksmith outside?"), - l("Bye."))) - { - case 1: - closedialog; - shop "Store#Weapon001-2-27"; - close; - case 2: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Chef? He is Don's apprentice, he works on his hammering skill day and night."), - l("He is very lucky that Don took him under his wing, but being the student of such a teacher is not easy every day!"); - break; - case 3: - break; - } - - goodbye; - close; - -OnInit: - .sex = G_MALE; - .distance = 4; - end; -} - diff --git a/npc/001-2-27/mapflags.txt b/npc/001-2-27/mapflags.txt deleted file mode 100644 index 42bba3662..000000000 --- a/npc/001-2-27/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-27 mapflag town diff --git a/npc/001-2-27/shop.txt b/npc/001-2-27/shop.txt deleted file mode 100644 index 597fd06b8..000000000 --- a/npc/001-2-27/shop.txt +++ /dev/null @@ -1,60 +0,0 @@ -// Evol scripts. -// Authors: -// 4144 -// Reid -// Description: -// Blacksmith shops - -001-2-27,27,29,0 trader Store#Shield001-2-27 NPC_NO_SPRITE,{ - -OnInit: - tradertype(NST_MARKET); - - sellitem LeatherShield, -1, 30; - sellitem CopperArmbands, -1, 28; - sellitem IronArmbands, -1, 20; - - .sex = G_OTHER; - .distance = 2; - end; - -OnClock0000: - restoreshopitem LeatherShield, 10; - restoreshopitem CopperArmbands, 9; - restoreshopitem IronArmbands, 7; -OnClock0800: - restoreshopitem LeatherShield, 10; - restoreshopitem CopperArmbands, 6; - restoreshopitem IronArmbands, 3; -OnClock01600: - restoreshopitem LeatherShield, 10; - restoreshopitem CopperArmbands, 8; - restoreshopitem IronArmbands, 6; -} - -001-2-27,43,29,0 trader Store#Weapon001-2-27 NPC_NO_SPRITE,{ - -OnInit: - tradertype(NST_MARKET); - - sellitem PiouSlayer, -1, 50; - sellitem TrainingGladius, -1, 25; - sellitem WoodenSword, -1, 50; - - .sex = G_OTHER; - .distance = 2; - end; - -OnClock0000: - restoreshopitem PiouSlayer, 25; - restoreshopitem TrainingGladius, 8; - restoreshopitem WoodenSword, 25; -OnClock0800: - restoreshopitem PiouSlayer, 25; - restoreshopitem TrainingGladius, 8; - restoreshopitem WoodenSword, 25; -OnClock01600: - restoreshopitem PiouSlayer, 25; - restoreshopitem TrainingGladius, 8; - restoreshopitem WoodenSword, 25; -} diff --git a/npc/001-2-28/_import.txt b/npc/001-2-28/_import.txt deleted file mode 100644 index a58d3feec..000000000 --- a/npc/001-2-28/_import.txt +++ /dev/null @@ -1,8 +0,0 @@ -// Map 001-2-28: Red Plush Inn -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-28/_warps.txt", -"npc/001-2-28/jenna.txt", -"npc/001-2-28/mapflags.txt", -"npc/001-2-28/note.txt", -"npc/001-2-28/plush.txt", -"npc/001-2-28/shop.txt", diff --git a/npc/001-2-28/_warps.txt b/npc/001-2-28/_warps.txt deleted file mode 100644 index 4447ee632..000000000 --- a/npc/001-2-28/_warps.txt +++ /dev/null @@ -1,5 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-28: Red Plush Inn warps -001-2-28,29,42,0 warp #001-2-28_29_42 0,0,001-1,118,89 -001-2-28,61,30,0 warp #001-2-28_61_30 0,0,001-1,135,83 -001-2-28,34,25,0 warp #001-2-28_34_25 3,0,001-2-29,38,34 diff --git a/npc/001-2-28/jenna.txt b/npc/001-2-28/jenna.txt deleted file mode 100644 index 4beb0604b..000000000 --- a/npc/001-2-28/jenna.txt +++ /dev/null @@ -1,79 +0,0 @@ -// Evol scripts. -// Author: -// Travolta -// Description: -// Jenna, waitress in Artis inn. - -001-2-28,52,32,0 script Jenna#001-2-28 NPC_RAIJIN_FEMALE_WAITRESS,1,1,{ - - function SayRandomGreeting { - - .@tick = gettimetick(1); - if (.@tick > @Artis_RedPlush_WaitressTick + 10) - { - setarray .messages$[0], l("Welcome to our inn!"), - l("Welcome to Red Plush."), - l("Please, have a seat."), - l("Lovely day, isn't it?"); - - .@r = rand(getarraysize(.messages$)); - .@msg$ = .messages$[.@r]; - npctalk3 .@msg$; - @Artis_RedPlush_WaitressTick = .@tick; - } - } - - speech S_LAST_NEXT, l("Do you want a drink?"); - - closedialog; - shop "#Invisible001-2-28"; - close; - -OnTimer1000: - dographmovestep; - -OnTouch: - SayRandomGreeting; - end; - -OnHour00: - if (playerattached()) - @Artis_RedPlush_WaitressTick = 0; - end; - -OnInit: - .sex = G_FEMALE; - .distance = 5; - initmovegraph "m_table_1", 52, 32, - "m_table_2", 56, 32, - "big_table_l", 53, 27, - "big_table_r", 56, 30, - "s_table_1", 53, 36, - "s_table_2", 58, 38, - "lf_table_2", 45, 31; - - setmovegraphcmd "m_table_1", "s_table_2", 2, "dir 4; wait 8", - "m_table_1", "lf_table_2", 1, "dir 4; wait 8", - "m_table_1", "big_table_l",1, "dir 0; wait 10", - "m_table_2", "m_table_1", 1, "dir 0; wait 8", - "m_table_2", "lf_table_2", 1, "dir 4; emote 2; wait 8", - "m_table_2", "big_table_l",2, "dir 0; wait 8", - "s_table_1", "m_table_1", 5, "dir 0; wait 10", - "s_table_1", "big_table_l",3, "dir 0; wait 1; emote 103;" - "say Thank you for the tip!;" - "wait 15; moveon", - "s_table_1", "m_table_2", 1, "dir 0; wait 8", - "s_table_2", "s_table_1", 1, "wait 6", - "s_table_2", "m_table_2", 1, "dir 0; wait 8", - "big_table_l", "m_table_2", 1, "dir 0; wait 6", - "big_table_l", "s_table_1", 1, "dir 2; wait 6", - "big_table_r", "s_table_1", 1, "dir 2; wait 6", - "big_table_r", "m_table_2", 2, "wait 8", - "big_table_r", "s_table_2", 1, "dir 4; wait 8", - "lf_table_2", "m_table_2", 1, "dir 0; wait 8", - "lf_table_2", "big_table_r",1, "dir 4; wait 1; emote 3; wait 6"; - - firstmove "wait 8"; - initnpctimer; -} - diff --git a/npc/001-2-28/mapflags.txt b/npc/001-2-28/mapflags.txt deleted file mode 100644 index 8cf7ec216..000000000 --- a/npc/001-2-28/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-28 mapflag town diff --git a/npc/001-2-28/note.txt b/npc/001-2-28/note.txt deleted file mode 100644 index c57a3f21e..000000000 --- a/npc/001-2-28/note.txt +++ /dev/null @@ -1,25 +0,0 @@ -// Evol scripts. -// Authors: -// gumi -// Qwerty Dragon -// Reid -// WildX -// Description: -// A small note presenting the 7 main rules of Evol Online. - -001-2-28,36,28,0 script Note#001-2-28 NPC_PAPER_NOTE,{ - narrator S_LAST_NEXT, - l("There is a paper with some rules written on it."); - - GameRules 8 | 4; - - narrator S_NO_NPC_NAME, - l("Following these lines are some other writings on this paper."), - l("Do not give the password of your room to anybody! Keep it secret and try not to use the same one in any other room in the future. - Jenna"); - - close; - -OnInit: - .distance = 2; - end; -} diff --git a/npc/001-2-28/plush.txt b/npc/001-2-28/plush.txt deleted file mode 100644 index 5600f2f24..000000000 --- a/npc/001-2-28/plush.txt +++ /dev/null @@ -1,130 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Red, the Innkeeper. -// Variable: -// INN_REGISTER - -001-2-28,28,28,0 script Plush#001-2-28 NPC_RED,{ - - function narrator_explication { - narrator S_LAST_NEXT, - l("You will respawn at this place if defeated in combat."), - l("All you have to do is to select a bed in the upper level anytime after your reservation."), - l("Unlike other respawn points, an inn can fully restore your HP."), - l("Of course, you can select a bed somewhere else after your reservation, but you won't get your HP recovery until you choose to get some rest in the inn."), - l("You can also use your room to get some rest after a long battle. That will consume your reservation but your HP will be fully restored."); - return; - } - - function accepted_room { - .@price = getarg(0); - if (Zeny < .@price) - { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, l("You don't have enough money, bring @@ E.", .@price); - } - else - { - emotion E_HAPPY; - Zeny = Zeny - .@price; - INN_REGISTER = REDPLUSH_INN; - PC_IS_DEAD = false; - - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - lg("I registered you on the 4th room of the upper level.", - "I registered you on the 2nd room of the upper level."), - l("You can go upstairs and choose a different room if you want."); - savepoint "001-2-29", 29, g(49, 35); - } - } - - function register_room { - .@price = lognbaselvl(100, 10); - - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("That will be @@ E to set your respawn point", .@price), - l("This will remain your respawn point until set elsewhere."), - l("Is that okay?"); - - if (askyesno() == ASK_YES) - { - accepted_room(.@price); - } - else - { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Come back later if you changed your mind!"); - } - - return; - } - - function lodge_check { - if (INN_REGISTER == NO_INN) - { - register_room; - } - else if (INN_REGISTER == REDPLUSH_INN) - { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - lg("You are already registered here."), - l("Go on the upper level if you want to change your room or to use it."); - } - else - { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - lg("If you are registered somewhere else you will loose that reservation."), - l("Do you still want to lodge here?"); - - if (askyesno() == ASK_YES) - { - register_room; - } - } - return; - } - - speech S_LAST_NEXT, - l("Welcome to the Red Plush inn!"), - l("What do you need?"); - - do - { - .@q = select( - l("Could I lodge here for a while?"), - l("What service do you offer?"), - l("What is your tipiou trying to do?"), - l("Nothing.")); - - switch (.@q) - { - case 1: - lodge_check; - break; - case 2: - emotion E_WINK; - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("We offer a room for travelers passing by Artis, our beds are comfy and you can be guaranteed to be right as rain after a night here!"), - l("If you wake up at the inn after a harsh battle, you will find yourself revitalized in an instant unlike other places where you can rest."); - - narrator_explication; - break; - case 3: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("That poor one is doing his best to fly... But his last meal and the gravity is not helping him so far!"); - break; - case 4: - break; - } - } while (.@q != 1 && .@q != 4); - - closedialog; - goodbye; - close; - -OnInit: - .sex = G_FEMALE; - .distance = 5; -} - diff --git a/npc/001-2-28/shop.txt b/npc/001-2-28/shop.txt deleted file mode 100644 index 1d435c314..000000000 --- a/npc/001-2-28/shop.txt +++ /dev/null @@ -1,25 +0,0 @@ -// Evol scripts. -// Authors: -// 4144 -// Reid -// Description: -// Inn hidden shop. - -001-2-28,53,33,0 trader #Invisible001-2-28 NPC_HIDDEN,{ - -OnInit: - tradertype(NST_MARKET); - - sellitem RedPlushWine, -1, 50; - - .sex = G_OTHER; - .distance = 10; - end; - -OnClock0000: - restoreshopitem RedPlushWine, 20; -OnClock0800: - restoreshopitem RedPlushWine, 20; -OnClock1600: - restoreshopitem RedPlushWine, 20; -} diff --git a/npc/001-2-29/_import.txt b/npc/001-2-29/_import.txt deleted file mode 100644 index 39bb3601c..000000000 --- a/npc/001-2-29/_import.txt +++ /dev/null @@ -1,5 +0,0 @@ -// Map 001-2-29: First Floor -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-29/_warps.txt", -"npc/001-2-29/mapflags.txt", -"npc/001-2-29/savepoint.txt", diff --git a/npc/001-2-29/_warps.txt b/npc/001-2-29/_warps.txt deleted file mode 100644 index 6c9d08f9b..000000000 --- a/npc/001-2-29/_warps.txt +++ /dev/null @@ -1,4 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-29: First Floor warps -001-2-29,39,35,0 warp #001-2-29_39_35 3,0,001-2-28,33,27 -001-2-29,38,25,0 warp #001-2-29_38_25 0,1,001-2-30,36,31 diff --git a/npc/001-2-29/mapflags.txt b/npc/001-2-29/mapflags.txt deleted file mode 100644 index 98a4373fe..000000000 --- a/npc/001-2-29/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-29 mapflag town diff --git a/npc/001-2-29/savepoint.txt b/npc/001-2-29/savepoint.txt deleted file mode 100644 index 4694e31ea..000000000 --- a/npc/001-2-29/savepoint.txt +++ /dev/null @@ -1,53 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Saves locations in 001-2-29 map. - -001-2-29,29,28,0 script #001-2-29-1 NPC_SAVE_POINT,0,0,{ - bedClic("001-2-29", 29, 28, REDPLUSH_INN); - -OnInit: - .distance = 2; - end; - -OnTouch: - bedTouch; - -OnPCDieEvent: - PC_IS_DEAD = 1; - close; -} - -001-2-29,29,35,0 script #001-2-29-2 NPC_SAVE_POINT,0,0,{ - bedClic("001-2-29", 29, 35, REDPLUSH_INN); - -OnInit: - .distance = 2; - end; - -OnTouch: - bedTouch; -} - -001-2-29,29,42,0 script #001-2-29-3 NPC_SAVE_POINT,0,0,{ - bedClic("001-2-29", 29, 42, REDPLUSH_INN); - -OnInit: - .distance = 2; - end; - -OnTouch: - bedTouch; -} - -001-2-29,29,49,0 script #001-2-29-4 NPC_SAVE_POINT,0,0,{ - bedClic("001-2-29", 29, 49, REDPLUSH_INN); - -OnInit: - .distance = 2; - end; - -OnTouch: - bedTouch; -} diff --git a/npc/001-2-3/_import.txt b/npc/001-2-3/_import.txt deleted file mode 100644 index c003e206d..000000000 --- a/npc/001-2-3/_import.txt +++ /dev/null @@ -1,5 +0,0 @@ -// Map 001-2-3: First Floor -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-3/_savepoints.txt", -"npc/001-2-3/_warps.txt", -"npc/001-2-3/mapflags.txt", diff --git a/npc/001-2-3/_savepoints.txt b/npc/001-2-3/_savepoints.txt deleted file mode 100644 index a3e08055e..000000000 --- a/npc/001-2-3/_savepoints.txt +++ /dev/null @@ -1,11 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-3: First Floor saves -001-2-3,42,32,0 script #save_001-2-3_42_32 NPC_SAVE_POINT,{ - savepointparticle .map$, .x, .y, CURRENT_INN; - close; - -OnInit: - .distance = 2; - .sex = G_OTHER; - end; -} diff --git a/npc/001-2-3/_warps.txt b/npc/001-2-3/_warps.txt deleted file mode 100644 index ddd0b6e17..000000000 --- a/npc/001-2-3/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-3: First Floor warps -001-2-3,27,31,0 warp #001-2-3_27_31 2,0,001-2-2,27,31 diff --git a/npc/001-2-3/mapflags.txt b/npc/001-2-3/mapflags.txt deleted file mode 100644 index 311c2c75a..000000000 --- a/npc/001-2-3/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-3 mapflag town diff --git a/npc/001-2-30/_import.txt b/npc/001-2-30/_import.txt deleted file mode 100644 index 91918ef55..000000000 --- a/npc/001-2-30/_import.txt +++ /dev/null @@ -1,5 +0,0 @@ -// Map 001-2-30: Second Floor -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-30/_mobs.txt", -"npc/001-2-30/_warps.txt", -"npc/001-2-30/mapflags.txt", diff --git a/npc/001-2-30/_mobs.txt b/npc/001-2-30/_mobs.txt deleted file mode 100644 index 956ecf5df..000000000 --- a/npc/001-2-30/_mobs.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-30: Second Floor mobs -001-2-30,0,0,0,0 monster Ratto 1005,1,240000,420000 diff --git a/npc/001-2-30/_warps.txt b/npc/001-2-30/_warps.txt deleted file mode 100644 index 60c227f82..000000000 --- a/npc/001-2-30/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-30: Second Floor warps -001-2-30,37,32,0 warp #001-2-30_37_32 1,0,001-2-29,37,27 diff --git a/npc/001-2-30/mapflags.txt b/npc/001-2-30/mapflags.txt deleted file mode 100644 index 357de0aad..000000000 --- a/npc/001-2-30/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-30 mapflag town diff --git a/npc/001-2-31/_import.txt b/npc/001-2-31/_import.txt deleted file mode 100644 index a599f2ae4..000000000 --- a/npc/001-2-31/_import.txt +++ /dev/null @@ -1,4 +0,0 @@ -// Map 001-2-31: unnamed -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-31/_warps.txt", -"npc/001-2-31/mapflags.txt", diff --git a/npc/001-2-31/_warps.txt b/npc/001-2-31/_warps.txt deleted file mode 100644 index b25ab8886..000000000 --- a/npc/001-2-31/_warps.txt +++ /dev/null @@ -1,4 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-31: unnamed warps -001-2-31,32,40,0 warp #001-2-31_32_40 0,0,001-1,49,97 -001-2-31,36,32,0 warp #001-2-31_36_32 0,0,001-2-41,25,32 diff --git a/npc/001-2-31/mapflags.txt b/npc/001-2-31/mapflags.txt deleted file mode 100644 index a7f187822..000000000 --- a/npc/001-2-31/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-31 mapflag town diff --git a/npc/001-2-32/_import.txt b/npc/001-2-32/_import.txt deleted file mode 100644 index 9043352d9..000000000 --- a/npc/001-2-32/_import.txt +++ /dev/null @@ -1,6 +0,0 @@ -// Map 001-2-32: unnamed -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-32/_warps.txt", -"npc/001-2-32/doors.txt", -"npc/001-2-32/mapflags.txt", -"npc/001-2-32/serena.txt", diff --git a/npc/001-2-32/_warps.txt b/npc/001-2-32/_warps.txt deleted file mode 100644 index 306493cb8..000000000 --- a/npc/001-2-32/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-32: unnamed warps -001-2-32,27,33,0 warp #001-2-32_27_33 0,0,001-2-33,39,33 diff --git a/npc/001-2-32/doors.txt b/npc/001-2-32/doors.txt deleted file mode 100644 index 59ee35eb3..000000000 --- a/npc/001-2-32/doors.txt +++ /dev/null @@ -1,23 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Doors NPCs. - -001-2-32,33,29,0 script ToFightRoom#001-2-32 NPC_HIDDEN,0,0,{ - -OnTouch: - if (mobcount("001-2-35","all") > 0) - { - narrator - l("You hear some sound behind the door."), - l("Somebody is probably training, better wait for him to finish."); - } - else - { - warp "001-2-35", 24, 29; - } - - closedialog; - close; -} diff --git a/npc/001-2-32/mapflags.txt b/npc/001-2-32/mapflags.txt deleted file mode 100644 index 8225ecbe2..000000000 --- a/npc/001-2-32/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-32 mapflag town diff --git a/npc/001-2-32/serena.txt b/npc/001-2-32/serena.txt deleted file mode 100644 index 187a654ce..000000000 --- a/npc/001-2-32/serena.txt +++ /dev/null @@ -1,60 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Artis's Legion of Aemil officier of the fighting room. - -001-2-32,27,27,0 script Serena NPC_SERENA,{ - mesn; - mesq lg("Oh darling, what brought you here?"); - // ^^^^^^^ - // Expresses familiarity or elderliness in relation to PC. - - // <scratch> - // [ PC]: I was just looking around. - // [NPC]: Did not someone offer guidance? - // [NPC]: Enora was supposed to be helping you... - // [NPC]: ...but, she is young, and often absent-minded; did you ask? - // [NPC]: (Alt.) It seems you rushed ahead of her. Go back and talk to Enora. - // ([Enora]: Beyond here is the fighting room o_o;) - // ([Enora]: I... uh... well, you will need alies in there.) - // ([Enora]: And... you see... this is my good outfit and...) - // ([Enora]: ...I've only just cleaned up in there >.>) - // But if you keep getting stronger; that will be the day. - - // Alt-Ready: - // [NPC]: Beyond here is the Fight Room. - // [NPC]: [conditions]* - // [NPC]: Good-luck | Bonne-chance. - - // (Alt.) [NPC]: I used to be an adventurer, like you. - // [NPC]: But there was no one to join for quests. - // [NPC]: So I enlisted for a post at this chapter. - // [NPC]: But my "friends" joined the Brotherhood! - - // [NPC]: The Brotherhood knows a lot more about monsters. - // [NPC]: But they could not "break the Legion's power" without burning all cities to the ground. - // [NPC]: The cities grow fast, ruining farmers and peasants. - // [NPC]: Our differences lead to friction. - - // Alt-What - // The secret is out: We really did create a mutant. - // None of the members were informed until it went out-of-control. - // [...] - // Muahaha-ha! My beautiful mutant. The city of Artis is mine. - // </scratch> - - // Alt-Siege - // The city is being attacked. Go help the warriors and town-guard. - - goto L_Close; - -L_Close: - close; - -OnInit: - .sex = G_FEMALE; - .distance = 3; - end; -} - diff --git a/npc/001-2-33/_import.txt b/npc/001-2-33/_import.txt deleted file mode 100644 index 7dadf6f85..000000000 --- a/npc/001-2-33/_import.txt +++ /dev/null @@ -1,6 +0,0 @@ -// Map 001-2-33: Legion of Aemil Headquarters -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-33/_warps.txt", -"npc/001-2-33/lozerk.txt", -"npc/001-2-33/mapflags.txt", -"npc/001-2-33/triggers.txt", diff --git a/npc/001-2-33/_warps.txt b/npc/001-2-33/_warps.txt deleted file mode 100644 index 0f913422c..000000000 --- a/npc/001-2-33/_warps.txt +++ /dev/null @@ -1,53 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-33: Legion of Aemil Headquarters warps -001-2-33,29,32,0 script #001-2-33_29_32_h NPC_HIDDEN,0,0,{ -OnTouch: - warp "001-2-34", 29, 32; -close; - -OnUnTouch: - doevent "#001-2-33_29_32::OnUnTouch"; -} -001-2-33,29,32,0 script #001-2-33_29_32 NPC_ARTIS_IN_DOOR,1,2,{ - close; -OnTouch: - doorTouch; - -OnUnTouch: - doorUnTouch; - -OnTimer340: - doorTimer; - -OnInit: - doorInit; -} - -001-2-33,39,32,0 script #001-2-33_39_32_h NPC_HIDDEN,0,0,{ -OnTouch: - warp "001-2-32", 27, 32; -close; - -OnUnTouch: - doevent "#001-2-33_39_32::OnUnTouch"; -} -001-2-33,39,32,0 script #001-2-33_39_32 NPC_ARTIS_IN_DOOR,1,2,{ - close; -OnTouch: - doorTouch; - -OnUnTouch: - doorUnTouch; - -OnTimer340: - doorTimer; - -OnInit: - doorInit; -} - -001-2-33,45,28,0 warp #001-2-33_45_28 0,0,001-2-38,24,28 -001-2-33,23,28,0 warp #001-2-33_23_28 0,0,001-2-37,36,28 -001-2-33,25,44,0 warp #001-2-33_25_40 2,0,001-2-40,27,46 -001-2-33,43,40,0 warp #001-2-33_43_40 2,0,001-2-40,45,46 -001-2-33,34,46,0 warp #001-2-33_34_46 0,0,001-1,57,42 diff --git a/npc/001-2-33/lozerk.txt b/npc/001-2-33/lozerk.txt deleted file mode 100644 index 6eb9cb372..000000000 --- a/npc/001-2-33/lozerk.txt +++ /dev/null @@ -1,188 +0,0 @@ -// Evol scripts. -// Authors: -// monwarez -// Reid -// Tirifto -// Description: -// Sword trainer from the Legion of Aemil guild. -// Variables: -// Artis_Legion_Progress -// Values: -// 0 Default. -// 1 Sent to training. -// 2 Finished training. -// 3 Sent to battle. -// 4 Finished battle. -// 5 Sent to Q'Anon. - -001-2-33,34,33,0 script Lozerk NPC_DEMON_MALE_SWORD,{ - - // Quest-related functions - - function explain_direction { - - switch (getq(Artis_Legion_Progress)) - { - case 1: - setcamnpc "#001-2-33_29_32"; - - speech(S_LAST_NEXT | S_NO_NPC_NAME, - l("It's to the west, on your left side. Just go through this door before the stairs and turn left afterwards. Can't miss it!"), - l("Talk to Hector and he'll show you the ropes."), - l("Report back to me once you've had enough!")); - - restorecam; - - break; - case 3: - setcamnpc "#001-2-33_39_32"; - - speech(S_LAST_NEXT | S_NO_NPC_NAME, - l("The room is to the east, on your right side. Just go through the door before the stairs and then turn right. It's like the mirror image of our training room.")); - - restorecam; - break; - case 5: - setcamnpc "#001-2-33_45_28"; - - speech(S_LAST_NEXT | S_NO_NPC_NAME, - l("Walk up the stairs, go through the door on either side, and the only other door in the room, few steps to the south, will lead you right to him.")); - - restorecam; - break; - } - - return; - } - - function send_training { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - lg("Oh, you were sent by Enora!"), - l("If Enora thinks this is the right place for you, then she's probably be right. Did you know she's a lieutenant of the Legion?"), - l("The rank of lieutenant is granted only to people with proper control of their skill and good judgment, like Enora. Or me, of course."), - l("By the way, I'm Lozerk. Lieutenant Lozerk."); - - select(l("Pleasure to meet you. I am @@.", strcharinfo(PC_NAME))); - - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - lg("Oh, you are that person! You were stranded in the seas for a while, right? You look like it."), - l("But don't you worry! I don't know how to get you back your memories, but we can work on your muscles for now!"), - lg("After all, this is the Legion of Aemil! You want to be a great warrior? We'll make you one here!"), - l("For starters, you should probably do some stretching and practice on some dummies in our training room."), - l("That's right, we have our very own training room. The Legion is always well prepared!"); - - setq Artis_Legion_Progress, 1; - explain_direction(); - - return; - } - - function send_battle { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - lg("So, did you get your blood boiling? Give the dummies a good lesson? Good!"), - l("But since it's not dummies that will go after you out there, this training won't be enough."), - lg("If you want to make a formidable foe for anyone, you'll need to train with real living opponents!"), - l("Of course, the Legion of Aemil can easily provide you with such training, even if you're not a member. Just great, isn't it?"), - l("We have a special room for this purpose, too. You may test your skills against all kinds of dreadful monsters in there."); - - setq Artis_Legion_Progress, 3; - explain_direction(); - - return; - } - - function send_qanon { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - lg("And you won! That means you should be able to handle yourself in battle from now on."), - lg("If you keep it up, you'll eventually become a fearsome warrior, just like me!"), - l("Or almost like me, at the very least."), - l("But if you really want to accomplish something, you should consider joining us."), - l("You have talent and the best place to utilize it is in the Legion! You can either pursue your goals with us or without us, but trust me, with us it's much better."), - l("I should know, I've not been a member for a while, too. But then I joined the Legion and look what a shining example of a great fighter I became!"), - l("You should definitely go talk to Q'Anon, our boss. You'll find him upstairs."); - - setq Artis_Legion_Progress, 5; - explain_direction(); - - return; - } - - // Normal functions - - function forget_direction { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - lg("You are lucky there are no mental faculty requirements to join the Legion!"); - - explain_direction; - - return; - } - - function tell_about_legion { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("The Legion of Aemil is the greatest organization on all continent! A town cannot be safer than when it's under our protection."), - l("This is where the bravest of warriors come together to put their skills to a good use, for a good cause."), - l("Our building here is also the finest place in the town. Just go and see for yourself!"); - - return; - } - - function praise_sword { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Thanks!"); - - return; - } - - // Conversation - - speech S_LAST_NEXT, - l("Welcome to the Legion of Aemil's building in Artis!"); - - do - { - .@legion_progress = getq(Artis_Legion_Progress); - .@enora = getq(ArtisQuests_Enora); - debugmes .@legion_progress + " " + .@enora; - select - rif((.@legion_progress == 0) && (.@enora == 11), lg("Enora sent me here.")), - rif(.@legion_progress == 2, lg("I'm done with my training.")), - rif(.@legion_progress == 4, lg("I'm back from battle!")), - rif(.@legion_progress == 1 || .@legion_progress == 3 || .@legion_progress == 5, l("Where should I go?")), - l("What can you tell me about the legion?"), - l("That's a nice sword you have there."), - menuaction(l("Quit")); - - switch (@menu) - { - case 1: - send_training; - break; - case 2: - send_battle; - break; - case 3: - send_qanon; - break; - case 4: - forget_direction; - break; - case 5: - tell_about_legion; - break; - case 6: - praise_sword; - break; - } - } while(@menu != 7); - - closedialog; - goodbye; - close; - -OnInit: - .sex = G_MALE; - .distance = 3; - end; -} - diff --git a/npc/001-2-33/mapflags.txt b/npc/001-2-33/mapflags.txt deleted file mode 100644 index 95e3a6ba6..000000000 --- a/npc/001-2-33/mapflags.txt +++ /dev/null @@ -1,2 +0,0 @@ -001-2-33 mapflag mask 5 -001-2-33 mapflag town diff --git a/npc/001-2-33/triggers.txt b/npc/001-2-33/triggers.txt deleted file mode 100644 index 47a5ea900..000000000 --- a/npc/001-2-33/triggers.txt +++ /dev/null @@ -1,101 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Artis Aemil's Legion triggers to add and remove masks. - -// Transition Top triggers -001-2-33,26,35,0 script #001-2-33LeftRemTop NPC_HIDDEN,0,2,{ -OnTouch: - artisALRemTopMask; - close; -} - -001-2-33,27,35,0 script #001-2-33LeftAddTop NPC_HIDDEN,0,2,{ -OnTouch: - artisALAddTopMask; - close; -} - -001-2-33,42,35,0 script #001-2-33RightRemTop NPC_HIDDEN,0,2,{ -OnTouch: - artisALRemTopMask; - close; -} - -001-2-33,41,35,0 script #001-2-33RightAddTop NPC_HIDDEN,0,2,{ -OnTouch: - artisALAddTopMask; - close; -} - -// Transition Bottom triggers - -001-2-33,25,32,0 script #001-2-33LeftRemBot NPC_HIDDEN,1,0,{ -OnTouch: - artisALRemBotMask; - close; -} - -001-2-33,25,31,0 script #001-2-33LeftAddBot NPC_HIDDEN,1,0,{ -OnTouch: - artisALAddBotMask; - close; -} - -001-2-33,43,32,0 script #001-2-33RightRemBot NPC_HIDDEN,1,0,{ -OnTouch: - artisALRemBotMask; - close; -} - -001-2-33,43,31,0 script #001-2-33RightAddBot NPC_HIDDEN,1,0,{ -OnTouch: - artisALAddBotMask; - close; -} - -// Warped location triggers - -001-2-33,24,30,0 script #001-2-33WarpTopLeft NPC_HIDDEN,1,1,{ -OnTouch: - artisALUpdateMask; - close; -} - -001-2-33,44,30,0 script #001-2-33WarpTopRight NPC_HIDDEN,1,1,{ -OnTouch: - artisALUpdateMask; - close; -} - -001-2-33,29,32,0 script #001-2-33WarpMidLeft NPC_HIDDEN,1,1,{ -OnTouch: - artisALUpdateMask; - close; -} - -001-2-33,39,32,0 script #001-2-33WarpMidRight NPC_HIDDEN,1,1,{ -OnTouch: - artisALUpdateMask; - close; -} - -001-2-33,34,45,0 script #001-2-33WarpArtis NPC_HIDDEN,1,1,{ -OnTouch: - artisALUpdateMask; - close; -} - -// Bottom Warp location triggers -001-2-33,43,38,0 script #001-2-33WarpBotLeft NPC_HIDDEN,1,0,{ -OnTouch: - artisALUpdateMask; - close; -} - -001-2-33,25,38,0 script #001-2-33WarpBotRight NPC_HIDDEN,1,0,{ -OnTouch: - artisALUpdateMask; - close; -} diff --git a/npc/001-2-34/_import.txt b/npc/001-2-34/_import.txt deleted file mode 100644 index 326973e61..000000000 --- a/npc/001-2-34/_import.txt +++ /dev/null @@ -1,6 +0,0 @@ -// Map 001-2-34: unnamed -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-34/_warps.txt", -"npc/001-2-34/doors.txt", -"npc/001-2-34/mapflags.txt", -"npc/001-2-34/samantha.txt", diff --git a/npc/001-2-34/_warps.txt b/npc/001-2-34/_warps.txt deleted file mode 100644 index 1311f071d..000000000 --- a/npc/001-2-34/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-34: unnamed warps -001-2-34,29,33,0 warp #001-2-34_29_33 0,0,001-2-33,29,33 diff --git a/npc/001-2-34/doors.txt b/npc/001-2-34/doors.txt deleted file mode 100644 index 3e4fef7bd..000000000 --- a/npc/001-2-34/doors.txt +++ /dev/null @@ -1,29 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Doors NPCs. - -001-2-34,23,29,0 script ToTrainingRoom#001-2-34 NPC_HIDDEN,0,0,{ - -OnTouch: - if ((getmapusers($@MAP_NAME$) == 0) && ($@FightingIsActive > 0)) - { - set $@FightingIsActive, 0; - killmonsterall "001-2-36"; - } - - if (mobcount("001-2-36","all") > 0 && $@FightingIsActive > 0) - { - narrator - l("You hear some sound behind the door."), - l("Somebody is probably training, better wait for him to finish."); - } - else - { - warp "001-2-36", 36, 30; - } - - closedialog; - close; -} diff --git a/npc/001-2-34/mapflags.txt b/npc/001-2-34/mapflags.txt deleted file mode 100644 index b632f6fe6..000000000 --- a/npc/001-2-34/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-34 mapflag town diff --git a/npc/001-2-34/samantha.txt b/npc/001-2-34/samantha.txt deleted file mode 100644 index f49e15aa4..000000000 --- a/npc/001-2-34/samantha.txt +++ /dev/null @@ -1,21 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Artis's Legion of Aemil officier of the training room. - -001-2-34,29,27,0 script Samantha NPC_SAMANTHA,{ - mesn; - mesq lg("Look who we have here, did you come for a training session?"); - - goto L_Close; - -L_Close: - close; - -OnInit: - .sex = G_FEMALE; - .distance = 3; - end; -} - diff --git a/npc/001-2-35/_import.txt b/npc/001-2-35/_import.txt deleted file mode 100644 index 969d9e1c3..000000000 --- a/npc/001-2-35/_import.txt +++ /dev/null @@ -1,4 +0,0 @@ -// Map 001-2-35: unnamed -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-35/_warps.txt", -"npc/001-2-35/mapflags.txt", diff --git a/npc/001-2-35/_warps.txt b/npc/001-2-35/_warps.txt deleted file mode 100644 index d59392226..000000000 --- a/npc/001-2-35/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-35: unnamed warps -001-2-35,23,29,0 warp #001-2-35_23_29 0,0,001-2-32,32,29 diff --git a/npc/001-2-35/mapflags.txt b/npc/001-2-35/mapflags.txt deleted file mode 100644 index df3ed6a09..000000000 --- a/npc/001-2-35/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-35 mapflag town diff --git a/npc/001-2-36/_import.txt b/npc/001-2-36/_import.txt deleted file mode 100644 index 222e5a7fc..000000000 --- a/npc/001-2-36/_import.txt +++ /dev/null @@ -1,5 +0,0 @@ -// Map 001-2-36: unnamed -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-36/_warps.txt", -"npc/001-2-36/mapflags.txt", -"npc/001-2-36/training_room_npc.txt", diff --git a/npc/001-2-36/_warps.txt b/npc/001-2-36/_warps.txt deleted file mode 100644 index 9e9c6c701..000000000 --- a/npc/001-2-36/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-36: unnamed warps -001-2-36,37,30,0 warp #001-2-36_37_29 0,0,001-2-34,24,29 diff --git a/npc/001-2-36/mapflags.txt b/npc/001-2-36/mapflags.txt deleted file mode 100644 index 457bc70e5..000000000 --- a/npc/001-2-36/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-36 mapflag town diff --git a/npc/001-2-36/training_room_npc.txt b/npc/001-2-36/training_room_npc.txt deleted file mode 100644 index 022b5d2ee..000000000 --- a/npc/001-2-36/training_room_npc.txt +++ /dev/null @@ -1,165 +0,0 @@ -// TrainingRoom -// -// Author: -// jak1 -// -// Story: -// Akko Teru -// Reid -// -// Spellchecking & Dialogs -// Reid - -// ~~ VARS ~~ -// $@FightingIsActive -// 0 = can Warp in Room (non active fight) -// 1 = can't Warp in Room (active fight) - -//TODO adding rand messages like "try hit it harder..." for wave's - - -001-2-36,32,36,0 script FightNPCName NPC_LUCAS,{ - - set $@NPCNAME$, "FightNPCName"; - set $@NPCNEXTNAME$, "Samantha"; - set $@MOB_ID, 1021; - set $@MOB_NAME$, "Dummy"; - set $@CURRENT_WAVE_LEVEL, 1; - set $@MAX_WAVES, 10; - - //Room and Mobspawn Coordinates - // TL BR - setarray $@MOB_SPAWN_COORDINATES, 24, 34, 31, 41; - setarray $@MAP_NAME$, "001-2-36"; - - set @roomPlayers, getmapusers($@MAP_NAME$); - - if(@roomPlayers > 1) - goto NotAlone; - - if ($@FightingIsActive == 1) - { - npctalk3 "You are not done now!"; - end; - } - - //call in Warp door if (1 = block) - set $@FightingIsActive, 1; - - if (!debug || !is_dev()) - goto start; - - //can be removed later! - menu - "get debug vars", debug_it, - "reset char var", resetVar, - "start training", -; - - -start: - if (FIGHT_TRAINING >= 1) - goto JobIsDone; - - getmapxy(.@map$, .@x, .@y, 0); - if (.@x < 24 || .@x > 32 || .@y < 33 || .@y > 43) - { - speech S_FIRST_BLANK_LINE, l("Please enter the combat zone on the left."); - close; - } - - setcells "001-2-36", 33, 35, 33, 38, 1, "fence"; - initnpctimer; - setnpctimer 0; - startnpctimer; - - npctalk3 l("Let's begin"); - end; - - -//cancel all actions, the Player needs to be alone in this Room -NotAlone: - npctalk3 "You dont feel so great with audience!"; - set $@FightingIsActive, 0; - end; - - -//If a Spawned Mob gets Killed -OnTrainingMobDead: - if ($@CURRENT_WAVE_LEVEL == $@MAX_WAVES ) - goto FinishedTraining; - - set $@CURRENT_WAVE_LEVEL, $@CURRENT_WAVE_LEVEL + 1; - setnpctimer 0; - startnpctimer; - end; - - -SpawnMonster: - if ( $@FightingIsActive == 1 ) - { - if ($@CURRENT_WAVE_LEVEL == $@MAX_WAVES) - { - npctalk "Last Wave!", $@NPCNAME$; - } - else - { - npctalk "Wave " + $@CURRENT_WAVE_LEVEL + "!", $@NPCNAME$; - } - - areamonster "001-2-36", $@MOB_SPAWN_COORDINATES[0], $@MOB_SPAWN_COORDINATES[1], $@MOB_SPAWN_COORDINATES[2], $@MOB_SPAWN_COORDINATES[3], $@MOB_NAME$, $@MOB_ID, 1, $@NPCNAME$ + "::OnTrainingMobDead"; - stopnpctimer; - setnpctimer 0; - } - else - { - set $@CURRENT_WAVE_LEVEL, 0; - } - stopnpctimer; - setnpctimer 0; - end; - - -//15 Secounds Waiting (Regeneration for fightRoom) -OnTimer5000: - goto SpawnMonster; - - -FinishedTraining: - //... TODO - - npctalk "Con. u finished it...", $@NPCNAME$; - stopnpctimer; - setnpctimer 0; - set $@CURRENT_WAVE_LEVEL, 0; - delcells "fence"; - if (FIGHT_TRAINING >= 1) - end; - set FIGHT_TRAINING, 1; - end; - -JobIsDone: - mes "Well done, you should talk to \"" + $@NPCNEXTNAME$ + "\"..."; - close; - - -// ----- DEBUG START ! ----- - -debug_it: - mes "DEBUG INFO"; - mes "- CharVariable:FIGHT_TRAINING "+ FIGHT_TRAINING; - mes "- maxWaves "+ $@MAX_WAVES; - mes "- currentWave "+ $@CURRENT_WAVE_LEVEL; - mes "- npcName "+ $@NPCNAME$; - mes "- mobName "+ $@MOB_NAME$; - mes "- mobID "+ $@MOB_ID; - close; - -resetVar: - set FIGHT_TRAINING , 0; -// ----- DEBUG END ! ----- - - -OnInit: - end; - -} diff --git a/npc/001-2-37/_import.txt b/npc/001-2-37/_import.txt deleted file mode 100644 index 05315d645..000000000 --- a/npc/001-2-37/_import.txt +++ /dev/null @@ -1,6 +0,0 @@ -// Map 001-2-37: unnamed -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-37/_savepoints.txt", -"npc/001-2-37/_warps.txt", -"npc/001-2-37/hammock.txt", -"npc/001-2-37/mapflags.txt", diff --git a/npc/001-2-37/_savepoints.txt b/npc/001-2-37/_savepoints.txt deleted file mode 100644 index 2568b51bf..000000000 --- a/npc/001-2-37/_savepoints.txt +++ /dev/null @@ -1,38 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-37: unnamed saves -001-2-37,25,41,0 script #save_001-2-37_25_41 NPC_SAVE_POINT,{ - savepointparticle .map$, .x, .y, CURRENT_INN; - close; - -OnInit: - .distance = 2; - .sex = G_OTHER; - end; -} -001-2-37,35,41,0 script #save_001-2-37_35_41 NPC_SAVE_POINT,{ - savepointparticle .map$, .x, .y, CURRENT_INN; - close; - -OnInit: - .distance = 2; - .sex = G_OTHER; - end; -} -001-2-37,35,46,0 script #save_001-2-37_35_46 NPC_SAVE_POINT,{ - savepointparticle .map$, .x, .y, CURRENT_INN; - close; - -OnInit: - .distance = 2; - .sex = G_OTHER; - end; -} -001-2-37,25,46,0 script #save_001-2-37_25_46 NPC_SAVE_POINT,{ - savepointparticle .map$, .x, .y, CURRENT_INN; - close; - -OnInit: - .distance = 2; - .sex = G_OTHER; - end; -} diff --git a/npc/001-2-37/_warps.txt b/npc/001-2-37/_warps.txt deleted file mode 100644 index f6997b5f0..000000000 --- a/npc/001-2-37/_warps.txt +++ /dev/null @@ -1,4 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-37: unnamed warps -001-2-37,37,28,0 warp #001-2-37_37_28 0,0,001-2-33,24,30 -001-2-37,37,33,0 warp #001-2-37_37_33 0,0,001-2-39,24,33 diff --git a/npc/001-2-37/hammock.txt b/npc/001-2-37/hammock.txt deleted file mode 100644 index c749217a6..000000000 --- a/npc/001-2-37/hammock.txt +++ /dev/null @@ -1,106 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Animated hammock at the top left level of the Legion of Aemil -// building of Artis. - -001-2-37,26,26,0 script #001-2-37hammock0 NPC_LEFT_HAMMOCK,1,0,{ - -OnTouch: hamTouchLeft; - -OnUnTouch: hamUnTouch; - -OnTimer5440: - hamTimerLeft; -} - -001-2-37,25,28,0 script #001-2-37hammock1 NPC_LEFT_HAMMOCK,1,0,{ - -OnTouch: hamTouchLeft; - -OnUnTouch: hamUnTouch; - -OnTimer5440: - hamTimerLeft; -} - -001-2-37,25,30,0 script #001-2-37hammock2 NPC_LEFT_HAMMOCK,1,0,{ - -OnTouch: hamTouchLeft; - -OnUnTouch: hamUnTouch; - -OnTimer5440: - hamTimerLeft; -} - -001-2-37,25,32,0 script #001-2-37hammock3 NPC_LEFT_HAMMOCK,1,0,{ - -OnTouch: hamTouchLeft; - -OnUnTouch: hamUnTouch; - -OnTimer5440: - hamTimerLeft; -} - -001-2-37,29,26,0 script #001-2-37hammock4 NPC_RIGHT_HAMMOCK,1,0,{ - -OnTouch: hamTouchRight; - -OnUnTouch: hamUnTouch; - -OnTimer5440: - hamTimerRight; -} - -001-2-37,29,28,0 script #001-2-37hammock5 NPC_RIGHT_HAMMOCK,1,0,{ - -OnTouch: hamTouchRight; - -OnUnTouch: hamUnTouch; - -OnTimer5440: - hamTimerRight; -} - -001-2-37,29,30,0 script #001-2-37hammock6 NPC_RIGHT_HAMMOCK,1,0,{ - -OnTouch: hamTouchRight; - -OnUnTouch: hamUnTouch; - -OnTimer5440: - hamTimerRight; -} - -001-2-37,29,32,0 script #001-2-37hammock7 NPC_RIGHT_HAMMOCK,1,0,{ - -OnTouch: hamTouchRight; - -OnUnTouch: hamUnTouch; - -OnTimer5440: - hamTimerRight; -} - -001-2-37,25,34,0 script #001-2-37hammock8 NPC_LEFT_HAMMOCK,1,0,{ - -OnTouch: hamTouchRight; - -OnUnTouch: hamUnTouch; - -OnTimer5440: - hamTimerRight; -} - -001-2-37,26,36,0 script #001-2-37hammock9 NPC_LEFT_HAMMOCK,1,0,{ - -OnTouch: hamTouchRight; - -OnUnTouch: hamUnTouch; - -OnTimer5440: - hamTimerRight; -} diff --git a/npc/001-2-37/mapflags.txt b/npc/001-2-37/mapflags.txt deleted file mode 100644 index c4f939b43..000000000 --- a/npc/001-2-37/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-37 mapflag town diff --git a/npc/001-2-38/_import.txt b/npc/001-2-38/_import.txt deleted file mode 100644 index e60aa3f9b..000000000 --- a/npc/001-2-38/_import.txt +++ /dev/null @@ -1,6 +0,0 @@ -// Map 001-2-38: unnamed -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-38/_savepoints.txt", -"npc/001-2-38/_warps.txt", -"npc/001-2-38/hammock.txt", -"npc/001-2-38/mapflags.txt", diff --git a/npc/001-2-38/_savepoints.txt b/npc/001-2-38/_savepoints.txt deleted file mode 100644 index 8b89b8e5f..000000000 --- a/npc/001-2-38/_savepoints.txt +++ /dev/null @@ -1,38 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-38: unnamed saves -001-2-38,25,41,0 script #save_001-2-38_25_41 NPC_SAVE_POINT,{ - savepointparticle .map$, .x, .y, CURRENT_INN; - close; - -OnInit: - .distance = 2; - .sex = G_OTHER; - end; -} -001-2-38,35,41,0 script #save_001-2-38_35_41 NPC_SAVE_POINT,{ - savepointparticle .map$, .x, .y, CURRENT_INN; - close; - -OnInit: - .distance = 2; - .sex = G_OTHER; - end; -} -001-2-38,35,46,0 script #save_001-2-38_35_46 NPC_SAVE_POINT,{ - savepointparticle .map$, .x, .y, CURRENT_INN; - close; - -OnInit: - .distance = 2; - .sex = G_OTHER; - end; -} -001-2-38,25,46,0 script #save_001-2-38_25_46 NPC_SAVE_POINT,{ - savepointparticle .map$, .x, .y, CURRENT_INN; - close; - -OnInit: - .distance = 2; - .sex = G_OTHER; - end; -} diff --git a/npc/001-2-38/_warps.txt b/npc/001-2-38/_warps.txt deleted file mode 100644 index 9139345a8..000000000 --- a/npc/001-2-38/_warps.txt +++ /dev/null @@ -1,4 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-38: unnamed warps -001-2-38,23,28,0 warp #001-2-38_23_28 0,0,001-2-33,44,30 -001-2-38,23,33,0 warp #001-2-38_23_33 0,0,001-2-39,44,33 diff --git a/npc/001-2-38/hammock.txt b/npc/001-2-38/hammock.txt deleted file mode 100644 index 2c8938da4..000000000 --- a/npc/001-2-38/hammock.txt +++ /dev/null @@ -1,106 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Animated hammock at the top right level of the Legion of Aemil -// building of Artis. - -001-2-38,31,26,0 script #001-2-38hammock0 NPC_LEFT_HAMMOCK,1,0,{ - -OnTouch: hamTouchLeft; - -OnUnTouch: hamUnTouch; - -OnTimer5440: - hamTimerLeft; -} - -001-2-38,31,28,0 script #001-2-38hammock1 NPC_LEFT_HAMMOCK,1,0,{ - -OnTouch: hamTouchLeft; - -OnUnTouch: hamUnTouch; - -OnTimer5440: - hamTimerLeft; -} - -001-2-38,31,30,0 script #001-2-38hammock2 NPC_LEFT_HAMMOCK,1,0,{ - -OnTouch: hamTouchLeft; - -OnUnTouch: hamUnTouch; - -OnTimer5440: - hamTimerLeft; -} - -001-2-38,31,32,0 script #001-2-38hammoc3 NPC_LEFT_HAMMOCK,1,0,{ - -OnTouch: hamTouchLeft; - -OnUnTouch: hamUnTouch; - -OnTimer5440: - hamTimerLeft; -} - -001-2-38,34,26,0 script #001-2-38hammock4 NPC_RIGHT_HAMMOCK,1,0,{ - -OnTouch: hamTouchRight; - -OnUnTouch: hamUnTouch; - -OnTimer5440: - hamTimerRight; -} - -001-2-38,35,28,0 script #001-2-38hammock5 NPC_RIGHT_HAMMOCK,1,0,{ - -OnTouch: hamTouchRight; - -OnUnTouch: hamUnTouch; - -OnTimer5440: - hamTimerRight; -} - -001-2-38,35,30,0 script #001-2-38hammock6 NPC_RIGHT_HAMMOCK,1,0,{ - -OnTouch: hamTouchRight; - -OnUnTouch: hamUnTouch; - -OnTimer5440: - hamTimerRight; -} - -001-2-38,35,32,0 script #001-2-38hammock7 NPC_RIGHT_HAMMOCK,1,0,{ - -OnTouch: hamTouchRight; - -OnUnTouch: hamUnTouch; - -OnTimer5440: - hamTimerRight; -} - -001-2-38,35,34,0 script #001-2-38hammock8 NPC_RIGHT_HAMMOCK,1,0,{ - -OnTouch: hamTouchRight; - -OnUnTouch: hamUnTouch; - -OnTimer5440: - hamTimerRight; -} - -001-2-38,34,36,0 script #001-2-38hammock9 NPC_RIGHT_HAMMOCK,1,0,{ - -OnTouch: hamTouchRight; - -OnUnTouch: hamUnTouch; - -OnTimer5440: - hamTimerRight; -} diff --git a/npc/001-2-38/mapflags.txt b/npc/001-2-38/mapflags.txt deleted file mode 100644 index 8a5c5d4e7..000000000 --- a/npc/001-2-38/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-38 mapflag town diff --git a/npc/001-2-39/_import.txt b/npc/001-2-39/_import.txt deleted file mode 100644 index 8ceee7679..000000000 --- a/npc/001-2-39/_import.txt +++ /dev/null @@ -1,5 +0,0 @@ -// Map 001-2-39: unnamed -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-39/_warps.txt", -"npc/001-2-39/mapflags.txt", -"npc/001-2-39/qanon.txt", diff --git a/npc/001-2-39/_warps.txt b/npc/001-2-39/_warps.txt deleted file mode 100644 index 527acae5d..000000000 --- a/npc/001-2-39/_warps.txt +++ /dev/null @@ -1,4 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-39: unnamed warps -001-2-39,45,33,0 warp #001-2-39_45_33 0,0,001-2-38,24,33 -001-2-39,23,33,0 warp #001-2-39_23_33 0,0,001-2-37,36,33 diff --git a/npc/001-2-39/mapflags.txt b/npc/001-2-39/mapflags.txt deleted file mode 100644 index 5d6887855..000000000 --- a/npc/001-2-39/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-39 mapflag town diff --git a/npc/001-2-39/qanon.txt b/npc/001-2-39/qanon.txt deleted file mode 100644 index 150362c92..000000000 --- a/npc/001-2-39/qanon.txt +++ /dev/null @@ -1,22 +0,0 @@ -// Evol scripts. -// Authors: -// Alige -// Reid -// Description: -// Artis's Legion of Aemil leader. - -001-2-39,34,41,0 script Q'Anon NPC_Q_ANON,{ - mesn; - mesq lg("It's been a while, girl!", "It's been a while, boy!"); - - goto L_Close; - -L_Close: - close; - -OnInit: - .sex = G_MALE; - .distance = 3; - end; -} - diff --git a/npc/001-2-4/_import.txt b/npc/001-2-4/_import.txt deleted file mode 100644 index 70c629cc6..000000000 --- a/npc/001-2-4/_import.txt +++ /dev/null @@ -1,7 +0,0 @@ -// Map 001-2-4: Library -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-4/_warps.txt", -"npc/001-2-4/books.txt", -"npc/001-2-4/mapflags.txt", -"npc/001-2-4/robin.txt", -"npc/001-2-4/terry.txt", diff --git a/npc/001-2-4/_warps.txt b/npc/001-2-4/_warps.txt deleted file mode 100644 index dc331e978..000000000 --- a/npc/001-2-4/_warps.txt +++ /dev/null @@ -1,27 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-4: Library warps -001-2-4,48,41,0 warp #001-2-4_48_41 0,0,001-1,51,81 -001-2-4,57,29,0 warp #001-2-4_57_26 3,0,001-2-6,57,36 -001-2-4,52,27,0 script #001-2-4_52_27_h NPC_HIDDEN,0,0,{ -OnTouch: - warp "001-2-5", 28, 37; -close; - -OnUnTouch: - doevent "#001-2-4_52_27::OnUnTouch"; -} -001-2-4,52,27,0 script #001-2-4_52_27 NPC_ARTIS_IN_DOOR,3,3,{ - close; -OnTouch: - doorTouch; - -OnUnTouch: - doorUnTouch; - -OnTimer340: - doorTimer; - -OnInit: - doorInit; -} - diff --git a/npc/001-2-4/books.txt b/npc/001-2-4/books.txt deleted file mode 100644 index e09324050..000000000 --- a/npc/001-2-4/books.txt +++ /dev/null @@ -1,102 +0,0 @@ -// Evol scripts. -// Author: -// gumi -// Tirifto -// Description: -// moar books - -001-2-4,28,29,0 script #001-2-4-Book1 NPC_NO_SPRITE,{ - - doevent "@rules::OnShelfUse"; - close; - -OnInit: - .sex = G_OTHER; - .distance = 1; -} - -// FIXME: we need a no-sprite npc that is offset 1 tile north -001-2-4,47,28,0 script #001-2-4-Book2 NPC_NO_SPRITE,{ - - function read_book { - - setnpcdialogtitle l(.book_name$); - - narrator S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("To get started with fishing, you'll need two things: a fishing rod and a bait."), - l("You just need one fishing rod, although you should take more than one single bait."); - - @menu = 0; // reset for the rif - - do - { - narrator S_NO_NPC_NAME, - l("Please select a chapter:"); - - mes ""; - - select - rif(@menu == 1, "► ") + l("Ch 1 — Fishing apparatus"), - rif(@menu == 2, "► ") + l("Ch 2 — Baits"), - rif(@menu == 3, "► ") + l("Ch 3 — Location"), - rif(@menu == 4, "► ") + l("Ch 4 — Casting"), - rif(@menu == 5, "► ") + l("Ch 5 — Reeling"); - - switch(@menu) - { - case 1: - narrator S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("You'll want your fishing rod to be flexible but solid."), - l("Comfortable grip is important especially for newcomers, since they'll be holding it for quite a while."); - break; - case 2: - narrator S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("You can use many diverse items to lure fishes."), - l("Some people prefer to catch fish using magic, but calling that \"fishing\" would be an insult to this traditional sport."), - l("Most common and widely popular in the fish realm are @@ and pieces of @@.", - getitemlink(SmallTentacles), getitemlink(Bread)), - l("Some types of fish also enjoy @@ quite a bit.", - getitemlink(Aquada)), - l("Some people, however, prefer to fish with more unorthodox baits, such as @@ or @@.", - getitemlink(UrchinMeat), getitemlink(TortugaTongue)); - break; - case 3: - narrator S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Find yourself a nice dry spot on a coast where you can easily reach into deep water."), - l("Fishing next to shallow water is not going to work well, because fishes seldom go there."), - l("You can easily identify fishing spots, small bubbles and fishes are visible from the surface."), - l("Don't forget to come as close as possible to these spots!"); - break; - case 4: - narrator S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Toss the hook into deep water by clicking on where you want to cast it."), - l("Make sure to put on a bait after you click, though!"), - l("After that, stay still and be patient, but also alert!"); - break; - case 5: - narrator S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("To successfully catch a fish, you need to pull up your hook by clicking it, right after it submerges."), - l("Should you be too quick or wait too long, you will most likely fail."); - break; - } - } while (true); - - end; - } - -OnShelfUse: - if (openbookshelf()) - read_book; - bye; - -OnUse: - if (openbook()) - read_book; - bye; - -OnInit: - .book_name$ = getitemname(FishingGuideVolI); - .sex = G_OTHER; - .distance = 1; - end; -} diff --git a/npc/001-2-4/mapflags.txt b/npc/001-2-4/mapflags.txt deleted file mode 100644 index 1a66f6702..000000000 --- a/npc/001-2-4/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-4 mapflag town diff --git a/npc/001-2-4/robin.txt b/npc/001-2-4/robin.txt deleted file mode 100644 index 320cf1487..000000000 --- a/npc/001-2-4/robin.txt +++ /dev/null @@ -1,65 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Librarian - -001-2-4,27,33,0 script Robin NPC_ROBIN,{ - - function need_help - { - speech S_LAST_NEXT, - l("Do you need help with something?"); - - switch (select(l("What kinds of books are there here?"), - l("Nothing."))) - { - case 1: - closedialog; - npctalk3 l("Mostly manuals and tutorials but you won't find out until you open one!"); - break; - case 2: - closedialog; - npctalk3 l("Good day to you!"); - } - return; - } - - - switch (rand(6)) - { - case 0: - npctalkonce l("No matter what people tell you, words and ideas can change the world."); - break; - case 1: - npctalkonce l("In Artis they really do mythologize people when they die."); - break; - case 2: - npctalkonce l("What counts in a book is like so many things, not what is on the outside, but what is on the inside."); - break; - case 3: - npctalkonce l("An explorer left behind some incomplete manuscripts about the people and dangers in the land of Kaizei."); - break; - case 4: - speech S_LAST_NEXT, - l("Ow-oh!"), - l("Introduce yourself instead of poking me around. I almost fell from the lader, savage..."); - - setcamnpc "#001-2-4-Book1"; - - speech S_NO_NPC_NAME, - l("Go have a look at that shelf to my right, would you?"), - l("You clearly need to be more public-spirited."); - break; - default: - need_help; - break; - } - - close; - -OnInit: - .sex = G_MALE; - .distance = 2; - end; -} diff --git a/npc/001-2-4/terry.txt b/npc/001-2-4/terry.txt deleted file mode 100644 index 937b3ff08..000000000 --- a/npc/001-2-4/terry.txt +++ /dev/null @@ -1,23 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Librarian - -001-2-4,51,35,4 script Terry NPC_TERRY,{ - mesn; - mesq l("Hi."); - next; - mesq l(""); - goto L_Quit; - -OnInit: - .sex = G_MALE; - .distance = 2; - .dir = 2; - end; - -L_Quit: - .dir = 2; - close; -} diff --git a/npc/001-2-40/_import.txt b/npc/001-2-40/_import.txt deleted file mode 100644 index a7c7abb85..000000000 --- a/npc/001-2-40/_import.txt +++ /dev/null @@ -1,5 +0,0 @@ -// Map 001-2-40: unnamed -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-40/_warps.txt", -"npc/001-2-40/mapflags.txt", -"npc/001-2-40/trozz.txt", diff --git a/npc/001-2-40/_warps.txt b/npc/001-2-40/_warps.txt deleted file mode 100644 index 83550f10f..000000000 --- a/npc/001-2-40/_warps.txt +++ /dev/null @@ -1,4 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-40: unnamed warps -001-2-40,45,44,0 warp #001-2-40_45_44 2,0,001-2-33,43,39 -001-2-40,27,47,0 warp #001-2-40_27_44 2,0,001-2-33,25,39 diff --git a/npc/001-2-40/mapflags.txt b/npc/001-2-40/mapflags.txt deleted file mode 100644 index 0c9303e82..000000000 --- a/npc/001-2-40/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-40 mapflag town diff --git a/npc/001-2-40/trozz.txt b/npc/001-2-40/trozz.txt deleted file mode 100644 index df76c26f5..000000000 --- a/npc/001-2-40/trozz.txt +++ /dev/null @@ -1,21 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Chief of the Legion of Aemil of the city of Artis. - -001-2-40,36,46,0 script Trozz#001-2-40 NPC_HUMAN_MALE_CHIEF_ARTIS_LEGION,{ - mesn; - mesq l("Hi."); - - goto L_Close; - -L_Close: - close; - -OnInit: - .sex = G_MALE; - .distance = 4; - end; -} - diff --git a/npc/001-2-41/_import.txt b/npc/001-2-41/_import.txt deleted file mode 100644 index a8eee7261..000000000 --- a/npc/001-2-41/_import.txt +++ /dev/null @@ -1,5 +0,0 @@ -// Map 001-2-41: unnamed -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-41/_warps.txt", -"npc/001-2-41/edouard.txt", -"npc/001-2-41/mapflags.txt", diff --git a/npc/001-2-41/_warps.txt b/npc/001-2-41/_warps.txt deleted file mode 100644 index 7a10c00d4..000000000 --- a/npc/001-2-41/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-41: unnamed warps -001-2-41,24,32,0 warp #001-2-41_24_32 0,0,001-2-31,35,32 diff --git a/npc/001-2-41/edouard.txt b/npc/001-2-41/edouard.txt deleted file mode 100644 index f93d2042a..000000000 --- a/npc/001-2-41/edouard.txt +++ /dev/null @@ -1,169 +0,0 @@ -// Evol scripts. -// Authors: -// Reid -// Travolta -// Description: -// Barber of Aemil - -function script EdouardCheckChair { - - getmapxy(.@map$, .@x, .@y, UNITTYPE_PC); - - if ((.@map$ != getarg(0)) || (.@x != getarg(1)) || (.@y != getarg(2))) - { - doevent "Edouard#001-2-41::OnWrongPlace"; - } - else if (!issit()) - { - doevent "Edouard#001-2-41::OnNotSit"; - } - else - { - doevent "Edouard#001-2-41::OnChair"; - } - - close; -} - -001-2-41,29,24,0 script Chair#Chair1-001-2-41 NPC_NO_SPRITE,{ - - EdouardCheckChair .map$, .x, .y; - -OnInit: - .sex = G_OTHER; - .distance = 1; - end; -} - -001-2-41,31,24,0 script Chair#Chair2-001-2-41 NPC_NO_SPRITE,{ - - EdouardCheckChair .map$, .x, .y; - -OnInit: - .sex = G_OTHER; - .distance = 1; - end; -} - -001-2-41,35,27,0 script Chair#Chair3-001-2-41 NPC_NO_SPRITE,{ - - EdouardCheckChair .map$, .x, .y; - -OnInit: - .sex = G_OTHER; - .distance = 1; - end; -} - -001-2-41,35,29,0 script Chair#Chair4-001-2-41 NPC_NO_SPRITE,{ - - EdouardCheckChair .map$, .x, .y; - -OnInit: - .sex = G_OTHER; - .distance = 1; - end; -} - -001-2-41,35,35,0 script Chair#Chair5-001-2-41 NPC_NO_SPRITE,{ - - EdouardCheckChair .map$, .x, .y; - -OnInit: - .sex = G_OTHER; - .distance = 1; - end; -} - -001-2-41,35,37,0 script Chair#Chair6-001-2-41 NPC_NO_SPRITE,{ - - EdouardCheckChair .map$, .x, .y; - -OnInit: - .sex = G_OTHER; - .distance = 1; - end; -} - -001-2-41,30,29,0 script Edouard#001-2-41 NPC_EDOUARD,{ - - function tellStory { - if (Edouard_StoryTold != 0) - { - mes ""; - mesn; - } - speech S_LAST_NEXT | S_NO_NPC_NAME, - l("I am new in this town, just like you."), - l("I came here, looking for a better life."), - l("And so far, the Merchant Guild helped me find this appartment so I can't complain!"), - l("Anyway."), - l("I'm a barber, you see. I can change your hairstyle or hair color to your current taste."); - - Edouard_StoryTold = 1; - - return; - } - -OnWrongPlace: - npctalkonce("Sit on the chair, I will come in a second!"); - close; - -OnNotSit: - npctalkonce("Please sit."); - close; - -OnChair: - speech S_LAST_NEXT, - lg("Hello, young lady.", "Hello, young man."); - - if (Edouard_StoryTold == 0) - { - tellStory; - } - - speech S_LAST_NEXT | S_NO_NPC_NAME, - l("What would you like me to do?"); - - do - { - select - l("What is my current hairstyle and hair color?"), - l("I'd like to get a different style."), - l("Can you do something with my color?"), - l("What's your story again?"), - l("I'm fine for now, thank you."); - - switch (@menu) - { - case 1: - BarberSayStyle 3; - break; - case 2: - BarberChangeStyle; - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Enjoy your new style."); - l("Anything else?"); - break; - case 3: - BarberChangeColor; - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("I hope you like this color."); - l("Anything else?"); - break; - case 4: - tellStory; - break; - case 5: - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Feel free to come visit me another time."); - - goodbye; - } - } while (1); - -OnInit: - .sex = G_MALE; - .distance = 2; - end; -} diff --git a/npc/001-2-41/mapflags.txt b/npc/001-2-41/mapflags.txt deleted file mode 100644 index eb1b712b6..000000000 --- a/npc/001-2-41/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-41 mapflag town diff --git a/npc/001-2-42/_import.txt b/npc/001-2-42/_import.txt deleted file mode 100644 index 1afffd482..000000000 --- a/npc/001-2-42/_import.txt +++ /dev/null @@ -1,3 +0,0 @@ -// Map 001-2-42: Docks Warehouse Second Level -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-42/_warps.txt", diff --git a/npc/001-2-42/_warps.txt b/npc/001-2-42/_warps.txt deleted file mode 100644 index 508aae1b1..000000000 --- a/npc/001-2-42/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-42: Docks Warehouse Second Level warps -001-2-42,39,38,0 warp #001-2-42_39_37 2,0,001-2-18,39,28 diff --git a/npc/001-2-5/_import.txt b/npc/001-2-5/_import.txt deleted file mode 100644 index 2e399b365..000000000 --- a/npc/001-2-5/_import.txt +++ /dev/null @@ -1,5 +0,0 @@ -// Map 001-2-5: Warehouse -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-5/_warps.txt", -"npc/001-2-5/books.txt", -"npc/001-2-5/mapflags.txt", diff --git a/npc/001-2-5/_warps.txt b/npc/001-2-5/_warps.txt deleted file mode 100644 index 7d5431439..000000000 --- a/npc/001-2-5/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-5: Warehouse warps -001-2-5,28,38,0 warp #001-2-5_28_38 0,0,001-2-4,52,29 diff --git a/npc/001-2-5/books.txt b/npc/001-2-5/books.txt deleted file mode 100644 index c0d05df21..000000000 --- a/npc/001-2-5/books.txt +++ /dev/null @@ -1,34 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Gasaron - -001-2-5,30,32,0 script #001-2-5-Book1 NPC_NO_SPRITE,{ - - function read_book { - narrator S_FIRST_BLANK_LINE, - l("There are two kinds of dialogue, the ones with regular citizens, and the ones with other adventurers."), - l("When you go near villagers, you can see a speech bubble above them, you can then talk to them by pressing the [T] key."), - l("You can select a specific person with the [N] key, and then, press the [T] key when you are surrounded by more than one person."), - l("You can also simply talk to any citizen around you by clicking on them."), - l("Nevertheless, you can talk with another adventurer by pressing the [Enter] key and then type what you want to say!"), - l("If you want to say something to a specific player, you can type \"/query Playername\" or \"/whisper Playername message\", this will create a new tab on your chat window."); - } - -OnShelfUse: - if (openbookshelf()) - read_book; - close; - -OnUse: - if (openbook()) - read_book; - close; - -OnInit: - .book_name$ = "Communication Theory"; - .sex = G_OTHER; - .distance = 1; - end; -} diff --git a/npc/001-2-5/mapflags.txt b/npc/001-2-5/mapflags.txt deleted file mode 100644 index 973aa8620..000000000 --- a/npc/001-2-5/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-5 mapflag town diff --git a/npc/001-2-6/_import.txt b/npc/001-2-6/_import.txt deleted file mode 100644 index cc06496d0..000000000 --- a/npc/001-2-6/_import.txt +++ /dev/null @@ -1,8 +0,0 @@ -// Map 001-2-6: First Floor -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-6/_warps.txt", -"npc/001-2-6/books.txt", -"npc/001-2-6/christopher.txt", -"npc/001-2-6/dolfina.txt", -"npc/001-2-6/leonard.txt", -"npc/001-2-6/mapflags.txt", diff --git a/npc/001-2-6/_warps.txt b/npc/001-2-6/_warps.txt deleted file mode 100644 index e778bf331..000000000 --- a/npc/001-2-6/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-6: First Floor warps -001-2-6,57,38,0 warp #001-2-6_57_38 3,0,001-2-4,57,28 diff --git a/npc/001-2-6/books.txt b/npc/001-2-6/books.txt deleted file mode 100644 index b4fc8b1a8..000000000 --- a/npc/001-2-6/books.txt +++ /dev/null @@ -1,167 +0,0 @@ -// Evol scripts. -// Authors: -// Reid -// WildX -// Description: -// Aemil - -001-2-6,39,41,0 script #001-2-6-Book1 NPC_NO_SPRITE,{ - - function read_book { - mes ""; - mes col("Master Piou sat on a tree,", 9); - mes col("Holding a cheese in his beak.", 9); - mes col("Master Fluffy was attracted by the odour,", 9); - mes col("And tried to attract him thus.", 9); - next; - mes col("\"Mister Piou, good day to you.", 9); - mes col("You are a handsome and good looking bird!", 9); - mes col("In truth, if your song is as beautiful as your plumage,", 9); - mes col("You are the Phoenix of this forest.\"", 9); - next; - mes col("Hearing these words the Piou felt great joy,", 9); - mes col("And to demonstrate his beautiful voice,", 9); - mes col("He opened his mouth wide and let drop his prey.", 9); - mes col("The Fluffy seized it and said:", 9); - next; - mes col("\"My good Sir,", 9); - mes col("Know that every flatterer,", 9); - mes col("Lives at the expense of those who take him seriously:", 9); - mes col("This is a lesson that is worth a cheese no doubt.\"", 9); - next; - mes col("The Piou, embarrassed and confused,", 9); - mes col("Swore, though somewhat later, that he would never be ", 9); - mes col("tricked thus again.", 9); - next; - mes col("-- " + l("Aesop"), 9); - } - -OnShelfUse: - if (openbookshelf()) - read_book; - close; - -OnUse: - if (openbook()) - read_book; - close; - -OnInit: - .book_name$ = "The Piou and The Fluffy"; - .sex = G_OTHER; - .distance = 1; - end; -} - -001-2-6,48,41,0 script #001-2-6-Book2 NPC_NO_SPRITE,{ - - function read_book { - mes ""; - mes col("Poem is making the words dance", 9); - mes col("Words become music and glance", 9); - mes col("Over lovers under a starry night", 9); - mes col("Whose eyes listen under Moonlight", 9); - next; - mes col("No matter the grammar", 9); - mes col("If words beat in rhythm", 9); - mes col("Find an order with them", 9); - mes col("As on anvil strikes the hammer", 9); - next; - mes col("No matter the spelling", 9); - mes col("Just say something sparkling", 9); - mes col("If not, how could CrazyKatiektch", 9); - mes col("Say her love to glamourous Gliktch?", 9); - next; - mes col("True be or not true be", 9); - mes col("That's not the question", 9); - mes col("And rhyming is not too", 9); - mes col("If you don't like to", 9); - mes col("Share your mind is your mission", 9); - mes col("Whatever inside can be", 9); - next; - mes col("Don't be shy, you are nice", 9); - mes col("From your mind, break the ice", 9); - mes col("Whatever your idea", 9); - mes col("It's the good one and, ahem!", 9); - mes col("That makes everybody", 9); - mes col("Able to write a poem", 9); - next; - mes col("-- " + l("Nard"), 9); - } - -OnShelfUse: - if (openbookshelf()) - read_book; - close; - -OnUse: - if (openbook()) - read_book; - close; - -OnInit: - .book_name$ = "Poem about Poems"; - .sex = G_OTHER; - .distance = 1; - end; -} - -001-2-6,43,39,0 script #001-2-6-Book3 NPC_NO_SPRITE,{ - - function read_book { - mes ""; - mes col("Hush now and hear the chorus of the woods", 9); - mes col("Bent trees whistling with the beat of the drum", 9); - mes col("With no choir master nor voice to be sung", 9); - mes col("The music of the trees floats through the breeze", 9); - mes col("Sleep well my angel but don't follow along", 9); - mes col("Because the voices of death sing a sweet song", 9); - next; - mes col("-- " + l("Princess Slayer"), 9); - } - -OnShelfUse: - if (openbookshelf()) - read_book; - close; - -OnUse: - if (openbook()) - read_book; - close; - -OnInit: - .book_name$ = "Chorus of the Woods"; - .sex = G_OTHER; - .distance = 1; - end; -} - -001-2-6,54,28,0 script #001-2-6-Book4 NPC_NO_SPRITE,{ - - function read_book { - narrator S_FIRST_BLANK_LINE, - l("Aemil was once a magnificent land unknown to us all."), - l("Before the end of the First Famine, a band of adventurers sailed in search of fertile lands."), - l("They sailed from Hurnscald to Tulimshar and then Nivalis, the last permanent settlements of humans."), - l("There, they gathered merchants and warriors to join them in a journey to find a new land on which to live."), - l("The group found the support of Tulimshar's merchant lords and was given ships to sail east."), - l("They sailed past the Clear Sea and towards the Long Ocean which nobody had explored before."), - l("The newly created Fleet travelled so far that they were never heard from again."), - l("Their leaders then came to the conclusion that an alliance was the only way they could survive."), - l("They eventually found a new land after much hardship and named it Aurora, after its beautiful sunrise."), - l("A great city rose on the coast of Aemil. This city was named Esperia."), - l("However..."), - l("The end of the story got erased, probably because of the sea water. Some pages are still missing. Thus much is lost to time, including the author's name."); - } - -OnUse: - if (openoldbook()) - read_book; - close; - -OnInit: - .sex = G_OTHER; - .distance = 1; - end; -} diff --git a/npc/001-2-6/christopher.txt b/npc/001-2-6/christopher.txt deleted file mode 100644 index 1bef67866..000000000 --- a/npc/001-2-6/christopher.txt +++ /dev/null @@ -1,69 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Librarian - -001-2-6,57,46,0 script Christopher NPC_CHRISTOPHER,{ - function ghost_in_the_library - { - narrator S_LAST_NEXT, - l("Christopher is surrounded by the sunlight from the window."); - - speech - l("To be a legend, you've either got to be dead or excessively old!"), - l("I think that I am now both..."), - l("I mean, I am very tired to move all of these books!"); - - return; - } - - function need_help - { - speech S_LAST_NEXT, - l("Do you need help with something?"); - - switch (select(l("What kinds of books are there here?"), - l("You seem a bit tired sir."), - l("Nothing."))) - { - case 1: - npctalk3 l("You can find novels and poems on this floor."); - break; - case 2: - mes ""; - ghost_in_the_library(); - break; - case 3: - npctalk3 l("I love peace and quiet, that's a good choice."); - } - return; - } - - function not_so_loud - { - npctalkonce l("This floor is reserved for quiet reading, don't speak too loud."); - - return; - } - - switch (rand(3)) - { - case 0: - ghost_in_the_library(); - break; - case 1: - need_help(); - break; - case 2: - not_so_loud(); - break; - } - - close; - -OnInit: - .sex = G_MALE; - .distance = 2; - end; -} diff --git a/npc/001-2-6/dolfina.txt b/npc/001-2-6/dolfina.txt deleted file mode 100644 index 8d9c1a2c4..000000000 --- a/npc/001-2-6/dolfina.txt +++ /dev/null @@ -1,21 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Aemil - -001-2-6,31,44,0 script Dolfina NPC_ELVEN_FEMALE_READING,{ - mesn; - mesq l("Stop disturbing me, I already re-read that part twice because of you!"); - - goto L_Close; - -L_Close: - close; - -OnInit: - .sex = G_FEMALE; - .distance = 2; - end; -} - diff --git a/npc/001-2-6/leonard.txt b/npc/001-2-6/leonard.txt deleted file mode 100644 index 7b238c1a0..000000000 --- a/npc/001-2-6/leonard.txt +++ /dev/null @@ -1,89 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Librarian - -001-2-6,52,28,0 script Leonard NPC_LEONARD,{ - - function esperia_city - { - speech S_FIRST_BLANK_LINE, - l("You have put your finger on it, I am not."), - l("I grew up and lived a good while in Esperia, the capital city."), - l("This place is surrounded by two very important elements: academia and the arts. I was surrounded by theater, music, dance, museums..."), - l("I had a great childhood in Esperia!"), - l("It was wonderful."); - - emotion E_HAPPY; - - return; - } - - function need_help - { - speech S_LAST_NEXT, - l("Do you need help with something?"); - - switch (select(l("What kinds of books are there here?"), - l("Are you a native from Artis?"), - l("Nothing."))) - { - case 1: - closedialog; - npctalk3 l("You can find novels and poems on this floor."); - break; - case 2: - esperia_city(); - break; - case 3: - closedialog; - npctalk3 l("Good day to you!"); - } - return; - } - - function not_so_loud - { - npctalkonce l("This floor is reserved for quiet reading, don't speak too loud."); - - return; - } - - function miracle - { - npctalkonce l("The miracle is this: the more we share, the more we have."); - - return; - } - - function logic_wisdom - { - npctalkonce l("Logic is the beginning of wisdom, not the end."); - - return; - } - - switch (rand(4)) - { - case 0: - logic_wisdom(); - break; - case 1: - miracle(); - break; - case 2: - not_so_loud(); - break; - case 3: - need_help(); - break; - } - - close; - -OnInit: - .sex = G_MALE; - .distance = 2; - end; -} diff --git a/npc/001-2-6/mapflags.txt b/npc/001-2-6/mapflags.txt deleted file mode 100644 index f5ba3e951..000000000 --- a/npc/001-2-6/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-6 mapflag town diff --git a/npc/001-2-7/_import.txt b/npc/001-2-7/_import.txt deleted file mode 100644 index 6d588bf81..000000000 --- a/npc/001-2-7/_import.txt +++ /dev/null @@ -1,4 +0,0 @@ -// Map 001-2-7: City Hall -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-7/_warps.txt", -"npc/001-2-7/mapflags.txt", diff --git a/npc/001-2-7/_warps.txt b/npc/001-2-7/_warps.txt deleted file mode 100644 index d59fa937b..000000000 --- a/npc/001-2-7/_warps.txt +++ /dev/null @@ -1,5 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-7: City Hall warps -001-2-7,36,46,0 warp #001-2-7_36_46 0,0,001-1,89,66 -001-2-7,46,31,0 warp #001-2-7_46_31 0,0,001-2-9,25,41 -001-2-7,26,31,0 warp #001-2-7_26_31 0,0,001-2-8,45,41 diff --git a/npc/001-2-7/mapflags.txt b/npc/001-2-7/mapflags.txt deleted file mode 100644 index 69598b890..000000000 --- a/npc/001-2-7/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-7 mapflag town diff --git a/npc/001-2-8/_import.txt b/npc/001-2-8/_import.txt deleted file mode 100644 index 93b064fe2..000000000 --- a/npc/001-2-8/_import.txt +++ /dev/null @@ -1,4 +0,0 @@ -// Map 001-2-8: Left Wing -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-8/_warps.txt", -"npc/001-2-8/mapflags.txt", diff --git a/npc/001-2-8/_warps.txt b/npc/001-2-8/_warps.txt deleted file mode 100644 index 43412f720..000000000 --- a/npc/001-2-8/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-8: Left Wing warps -001-2-8,46,41,0 warp #001-2-8_46_41 0,0,001-2-7,27,31 diff --git a/npc/001-2-8/mapflags.txt b/npc/001-2-8/mapflags.txt deleted file mode 100644 index 3def9ed24..000000000 --- a/npc/001-2-8/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-8 mapflag town diff --git a/npc/001-2-9/_import.txt b/npc/001-2-9/_import.txt deleted file mode 100644 index ebac336c1..000000000 --- a/npc/001-2-9/_import.txt +++ /dev/null @@ -1,5 +0,0 @@ -// Map 001-2-9: Right Wing -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-2-9/_warps.txt", -"npc/001-2-9/janus.txt", -"npc/001-2-9/mapflags.txt", diff --git a/npc/001-2-9/_warps.txt b/npc/001-2-9/_warps.txt deleted file mode 100644 index b4d3c594d..000000000 --- a/npc/001-2-9/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-2-9: Right Wing warps -001-2-9,24,41,0 warp #001-2-9_24_41 0,0,001-2-7,45,31 diff --git a/npc/001-2-9/janus.txt b/npc/001-2-9/janus.txt deleted file mode 100644 index 2f19b1b9a..000000000 --- a/npc/001-2-9/janus.txt +++ /dev/null @@ -1,170 +0,0 @@ -// Evol scripts. -// Author: -// Reid -// Description: -// Party NPC -// Variable: -// General_Janus -// Values: -// 0 Default. -// 1 Basic information given. -// 2 Party creation enabled. -// 3 Guild certificate given. - -001-2-9,30,28,0 script Janus NPC_JANUS,{ - - function create_party { - .@party_price = 10000; - - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Creating a party has some advantages, it's a pretty good choice!"), - l("I remember when I created my first party, we were amazed to share some experience with a small group of adventurer..."), - l("Oh! And our party chat was really entertaining, I do highly recommend you to share this fun as well."), - lg("The cost to create a party is @@ E, are you interested?", - "The cost to create a party is @@ E, are you interested?", .@party_price); - - if (askyesno() == 1) - { - if (Zeny < .@party_price) - { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, l("You don't have enough money, bring @@ E.", .@party_price); - } - else - { - Zeny = Zeny - .@party_price; - setq General_Janus, 2; - skill NV_BASIC, 7, 0; - - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, l("Awesome, come back if you ever want to create a larger group!"); - } - } - } - - function create_guild { - .@guild_price = 35000; - - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Oh oh... I see, your party became so big that you want to create an even larger structure?"), - l("Or do you want to keep your friendships and adventures in different groups?"), - l("Anyway, the guild creation is perfect for both!"), - l("You can keep your current party as it is, while leading or being part of a guild in order to talk and share different items with all of its members!"), - l("The @@ is a one time item, you can use it as many times as you want, but you can only have one!", getitemlink(GuildCertification)), - lg("The cost to create a guild is @@ E, are you interested?", - "The cost to create a guild is @@ E, are you interested?", .@guild_price); - - if (askyesno() == 1) - { - if (Zeny < .@guild_price) - { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, l("You don't have enough money, bring @@ E.", .@guild_price); - } - else - { - inventoryplace GuildCertification, 1; - Zeny = Zeny - .@guild_price; - setq General_Janus, 3; - getitem GuildCertification, 1; - - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, l("Enjoy the fraternity and excitement of your future guild!"); - } - } - } - - function explain_service { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("You are on the human resource wing of the Town Hall."), - l("We offer party and guild certifications and we can also teach you how to use some basic communication skills."), - l("Do you know how to speak with people around you?"); - - if (askyesno() == 2) - { - speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("You lack some very basic skills..."); - - if (compareandsetq(General_Janus, 0, 1)) - { - speech S_LAST_NEXT | S_NO_NPC_NAME, - l("This book contains everything you should know about it, take it!"); - - inventoryplace CommunicationTheory, 1; - getitem CommunicationTheory, 1; - } - else - { - speech S_LAST_NEXT | S_NO_NPC_NAME, - l("You can read the book that I gave you earlier at the library if you lost it."); - } - } - else - { - if (compareandsetq(General_Janus, 0, 1)) - { - speech S_LAST_NEXT | S_NO_NPC_NAME, - l("Anyway."), - l("This book contains everything you should know about it, take it!"); - - inventoryplace CommunicationTheory, 1; - getitem CommunicationTheory, 1; - } - - } - - return; - } - - function janus_is_not_ianus { - speech S_FIRST_BLANK_LINE, - l("Janus!"); - emotion E_UPSET; - next; - - speech S_LAST_NEXT | S_NO_NPC_NAME, - l("Ianus is from the Legion of Aemil, don't compare me to this brigand."); - - return; - } - - speech S_LAST_NEXT, - lg("Welcome miss.", "Good day sir."); - - do - { - // Beta users by-pass check. - if (getskilllv(NV_BASIC) > 6 && getq(General_Janus) == 1) - { - setq General_Janus, 2; - } - - select - rif(getq(General_Janus) == 1, l("I would like to create a party.")), - rif(getq(General_Janus) == 2, l("I would like to create a guild.")), - l("What service do you offer?"), - l("Your name is Ianus or Janus?"), - menuaction(l("Quit")); - - switch (@menu) - { - case 1: - create_party; - break; - case 2: - create_guild; - break; - case 3: - explain_service; - break; - case 4: - janus_is_not_ianus; - break; - } - } while (@menu != 5); - - closedialog; - goodbye; - close; - -OnInit: - .sex = G_MALE; - .distance = 3; - end; -} diff --git a/npc/001-2-9/mapflags.txt b/npc/001-2-9/mapflags.txt deleted file mode 100644 index 47b7f630b..000000000 --- a/npc/001-2-9/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -001-2-9 mapflag town diff --git a/npc/001-3-0/_import.txt b/npc/001-3-0/_import.txt deleted file mode 100644 index 320f28ce4..000000000 --- a/npc/001-3-0/_import.txt +++ /dev/null @@ -1,4 +0,0 @@ -// Map 001-3-0: Sewer -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-3-0/_mobs.txt", -"npc/001-3-0/_warps.txt", diff --git a/npc/001-3-0/_mobs.txt b/npc/001-3-0/_mobs.txt deleted file mode 100644 index 31c8266fe..000000000 --- a/npc/001-3-0/_mobs.txt +++ /dev/null @@ -1,17 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-3-0: Sewer mobs -001-3-0,175,32,2,2 monster Ratto 1005,2,60000,30000 -001-3-0,201,54,2,2 monster Ratto 1005,3,25000,10000 -001-3-0,151,97,18,1 monster Ratto 1005,3,40000,15000 -001-3-0,146,121,3,2 monster Ratto 1005,2,50000,25000 -001-3-0,101,111,8,3 monster Ratto 1005,4,30000,15000 -001-3-0,145,68,2,2 monster Ratto 1005,2,60000,30000 -001-3-0,146,28,2,1 monster Ratto 1005,2,60000,30000 -001-3-0,90,65,3,3 monster Ratto 1005,3,35000,15000 -001-3-0,56,50,8,4 monster Ratto 1005,4,35000,15000 -001-3-0,42,102,3,3 monster Ratto 1005,3,40000,20000 -001-3-0,145,64,1,5 monster Blub 1008,2,35000,80000 -001-3-0,162,45,1,3 monster Little Blub 1007,4,10000,20000 -001-3-0,129,88,2,2 monster Blub 1008,2,35000,80000 -001-3-0,100,38,2,2 monster Little Blub 1007,4,10000,20000 -001-3-0,171,45,0,2 monster Little Blub 1007,4,10000,20000 diff --git a/npc/001-3-0/_warps.txt b/npc/001-3-0/_warps.txt deleted file mode 100644 index a2d4e9e23..000000000 --- a/npc/001-3-0/_warps.txt +++ /dev/null @@ -1,8 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-3-0: Sewer warps -001-3-0,196,35,0 warp #001-3-0_196_35 0,0,001-1,197,35 -001-3-0,172,41,0 warp #001-3-0_172_41 0,0,001-3-1,34,58 -001-3-0,162,40,0 warp #001-3-0_162_40 0,0,001-3-1,23,57 -001-3-0,198,59,0 warp #001-3-0_198_59 0,0,001-1,199,61 -001-3-0,152,55,0 warp #001-3-0_152_55 0,0,001-1,152,51 -001-3-0,85,130,0 warp #001-3-0_85_130 0,0,001-1,86,130 diff --git a/npc/001-3-1/_import.txt b/npc/001-3-1/_import.txt deleted file mode 100644 index 6511aab37..000000000 --- a/npc/001-3-1/_import.txt +++ /dev/null @@ -1,3 +0,0 @@ -// Map 001-3-1: Rivercave -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/001-3-1/_warps.txt", diff --git a/npc/001-3-1/_warps.txt b/npc/001-3-1/_warps.txt deleted file mode 100644 index f0c3d747b..000000000 --- a/npc/001-3-1/_warps.txt +++ /dev/null @@ -1,4 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Map 001-3-1: Rivercave warps -001-3-1,24,58,0 warp #001-3-1_24_58 1,0,001-3-0,162,41 -001-3-1,35,59,0 warp #001-3-1_35_59 1,0,001-3-0,172,42 diff --git a/npc/002-2/_import.txt b/npc/002-2/_import.txt index 5b662cf60..c5d03ceaa 100644 --- a/npc/002-2/_import.txt +++ b/npc/002-2/_import.txt @@ -1,5 +1,2 @@ // Map 002-2: Hold // This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/002-2/doors.txt", -"npc/002-2/mapflags.txt", -"npc/002-2/ratto.txt", diff --git a/npc/002-2/doors.txt b/npc/002-2/doors.txt deleted file mode 100644 index 035c2e7ec..000000000 --- a/npc/002-2/doors.txt +++ /dev/null @@ -1,69 +0,0 @@ -// Evol scripts. -// Authors: -// Ablu -// Alastrim -// Reid -// Description: -// Doors NPCs. - -002-2,48,29,0 script DoorUpwards NPC_HIDDEN,0,0,{ - -OnTouch: - if (mobcount("002-2","all") > 0) goto L_Warn; - - goto L_Warp; - -L_Warn: - .@q = getq(ShipQuests_Peter); - if (.@q == 5) goto L_Warp; - - mesn "Narrator"; - mes col(l("There are still some rattos left! Do you want to abort the quest?"), 9); - next; - - menu - l("Yes."), L_Warp, - l("No."), -; - - warp "002-2", 48, 28; - closedialog; - close; - -L_Warp: - warp "002-1", 72, 36; - closedialog; - close; -} - -002-2,24,31,0 script LeftDoor NPC_HIDDEN,0,0,{ - -OnTouch: - mesn "Narrator"; - mes col(l("It seems that you need a key to open this door."), 9); - next; - mes col(l("What do you want to do?"), 9); - next; - - menu - rif(countitem(718) > 0, l("Use the key.")), L_Warp, - l("Break the door."), L_Break, - l("Go away."), -; - - closedialog; - close; - -L_Break: - - mes ""; - mesn "Narrator"; - mes col(l("You hear a loud scream. It must be the creaking of the wooden door..."), 9); - - close; - -L_Warp: - mes ""; - mesn "Narrator"; - mes col(l("Wait, it seems someone is blocking the door from the other side!"), 9); - - close; -} diff --git a/npc/002-2/mapflags.txt b/npc/002-2/mapflags.txt deleted file mode 100644 index 207a4557c..000000000 --- a/npc/002-2/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -000-2-2 mapflag nosave 002-1,55,40 diff --git a/npc/002-2/ratto.txt b/npc/002-2/ratto.txt deleted file mode 100644 index 32499f437..000000000 --- a/npc/002-2/ratto.txt +++ /dev/null @@ -1,68 +0,0 @@ -// Evol scripts. -// Authors: -// Ablu -// Alastrim -// Reid -// Description: -// Ratto killer. - -// $@RAT_SAILOR_CONTROL array explanation: -// [1] = Shows status of ratto number 1 (1 is dead and 0 is alive). -// [2] = Shows status of ratto number 2 (1 is dead and 0 is alive). -// [3] = Shows status of ratto number 3 (1 is dead and 0 is alive). -// [4] = Shows status of ratto number 4 (1 is dead and 0 is alive). -// [5] = Shows how many seconds passed since ratto number 1 died. -// [6] = Shows how many seconds passed since ratto number 2 died. -// [7] = Shows how many seconds passed since ratto number 3 died. -// [8] = Shows how many seconds passed since ratto number 4 died. -// [9] = Shows how many seconds passed since the player started the quest. - -002-2,47,30,0 script RattosControl NPC_HIDDEN,{ - -OnSpawn: - areamonster "002-2", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto1Death"; - areamonster "002-2", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto2Death"; - areamonster "002-2", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto3Death"; - areamonster "002-2", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto4Death"; - close; - -OnRatto1Respawn: - areamonster "002-2", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto1Death"; - $@RAT_SAILOR_CONTROL[1] = 0; - $@RAT_SAILOR_CONTROL[5] = 0; - end; - -OnRatto2Respawn: - areamonster "002-2", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto2Death"; - $@RAT_SAILOR_CONTROL[2] = 0; - $@RAT_SAILOR_CONTROL[6] = 0; - end; - -OnRatto3Respawn: - areamonster "002-2", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto3Death"; - $@RAT_SAILOR_CONTROL[3] = 0; - $@RAT_SAILOR_CONTROL[7] = 0; - end; - -OnRatto4Respawn: - areamonster "002-2", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto4Death"; - $@RAT_SAILOR_CONTROL[4] = 0; - $@RAT_SAILOR_CONTROL[8] = 0; - end; - -OnRatto1Death: - $@RAT_SAILOR_CONTROL[1] = 1; - end; - -OnRatto2Death: - $@RAT_SAILOR_CONTROL[2] = 1; - end; - -OnRatto3Death: - $@RAT_SAILOR_CONTROL[3] = 1; - end; - -OnRatto4Death: - $@RAT_SAILOR_CONTROL[4] = 1; - end; -} diff --git a/npc/_import.txt b/npc/_import.txt index c5fd0ffc5..cb2fcba29 100644 --- a/npc/_import.txt +++ b/npc/_import.txt @@ -3,62 +3,8 @@ @include "npc/000-0-0/_import.txt" @include "npc/000-0-1/_import.txt" @include "npc/000-0/_import.txt" -@include "npc/000-1-1/_import.txt" -@include "npc/000-1-2/_import.txt" -@include "npc/000-1-4/_import.txt" -@include "npc/000-1-9/_import.txt" -@include "npc/000-1/_import.txt" -@include "npc/000-2-0/_import.txt" -@include "npc/000-2-1/_import.txt" -@include "npc/000-2-2/_import.txt" @include "npc/000-2-3/_import.txt" @include "npc/000-2-4/_import.txt" -@include "npc/001-1/_import.txt" -@include "npc/001-2-0/_import.txt" -@include "npc/001-2-1/_import.txt" -@include "npc/001-2-10/_import.txt" -@include "npc/001-2-11/_import.txt" -@include "npc/001-2-12/_import.txt" -@include "npc/001-2-13/_import.txt" -@include "npc/001-2-14/_import.txt" -@include "npc/001-2-15/_import.txt" -@include "npc/001-2-16/_import.txt" -@include "npc/001-2-17/_import.txt" -@include "npc/001-2-18/_import.txt" -@include "npc/001-2-19/_import.txt" -@include "npc/001-2-2/_import.txt" -@include "npc/001-2-20/_import.txt" -@include "npc/001-2-21/_import.txt" -@include "npc/001-2-22/_import.txt" -@include "npc/001-2-23/_import.txt" -@include "npc/001-2-24/_import.txt" -@include "npc/001-2-25/_import.txt" -@include "npc/001-2-26/_import.txt" -@include "npc/001-2-27/_import.txt" -@include "npc/001-2-28/_import.txt" -@include "npc/001-2-29/_import.txt" -@include "npc/001-2-3/_import.txt" -@include "npc/001-2-30/_import.txt" -@include "npc/001-2-31/_import.txt" -@include "npc/001-2-32/_import.txt" -@include "npc/001-2-33/_import.txt" -@include "npc/001-2-34/_import.txt" -@include "npc/001-2-35/_import.txt" -@include "npc/001-2-36/_import.txt" -@include "npc/001-2-37/_import.txt" -@include "npc/001-2-38/_import.txt" -@include "npc/001-2-39/_import.txt" -@include "npc/001-2-4/_import.txt" -@include "npc/001-2-40/_import.txt" -@include "npc/001-2-41/_import.txt" -@include "npc/001-2-42/_import.txt" -@include "npc/001-2-5/_import.txt" -@include "npc/001-2-6/_import.txt" -@include "npc/001-2-7/_import.txt" -@include "npc/001-2-8/_import.txt" -@include "npc/001-2-9/_import.txt" -@include "npc/001-3-0/_import.txt" -@include "npc/001-3-1/_import.txt" @include "npc/002-1/_import.txt" @include "npc/002-2/_import.txt" @include "npc/002-3/_import.txt" diff --git a/npc/aeros/_import.txt b/npc/aeros/_import.txt index c82ca8a87..dff8755f6 100644 --- a/npc/aeros/_import.txt +++ b/npc/aeros/_import.txt @@ -1,2 +1,2 @@ -// Map aeros: Floating Kingdom of Aeros +// Map aeros: Floating Island of Aeros // This file is generated automatically. All manually added changes will be removed when running the Converter. diff --git a/npc/test/_import.txt b/npc/test/_import.txt index 6c7f7e713..cea2672a4 100644 --- a/npc/test/_import.txt +++ b/npc/test/_import.txt @@ -1,6 +1,8 @@ // Map test: test // This file is generated automatically. All manually added changes will be removed when running the Converter. "npc/test/_mobs.txt", +"npc/test/hinnack.txt", +"npc/test/karim.txt", "npc/test/mapflags.txt", "npc/test/npc1.txt", "npc/test/npc2.txt", @@ -9,5 +11,6 @@ "npc/test/npc5.txt", "npc/test/npc6.txt", "npc/test/npcmarriage.txt", +"npc/test/rock.txt", "npc/test/test1.txt", "npc/test/test2.txt", diff --git a/npc/001-1/hinnack.txt b/npc/test/hinnack.txt index 5cd7b87a4..5cd7b87a4 100644 --- a/npc/001-1/hinnack.txt +++ b/npc/test/hinnack.txt diff --git a/npc/001-1/karim.txt b/npc/test/karim.txt index 743fdbc09..743fdbc09 100644 --- a/npc/001-1/karim.txt +++ b/npc/test/karim.txt diff --git a/npc/001-1/rock.txt b/npc/test/rock.txt index 967e5b9e4..967e5b9e4 100644 --- a/npc/001-1/rock.txt +++ b/npc/test/rock.txt |