diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-10-23 21:44:22 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-10-23 21:44:22 -0300 |
commit | a7c45a192268da2601cef47a4cdba987ae2327ca (patch) | |
tree | c5fb5b97db109fe7106496dd96498c475881046b /npc/010-2 | |
download | serverdata-a7c45a192268da2601cef47a4cdba987ae2327ca.tar.gz serverdata-a7c45a192268da2601cef47a4cdba987ae2327ca.tar.bz2 serverdata-a7c45a192268da2601cef47a4cdba987ae2327ca.tar.xz serverdata-a7c45a192268da2601cef47a4cdba987ae2327ca.zip |
Initial commit (Moubootaur Legends fork)
Diffstat (limited to 'npc/010-2')
-rw-r--r-- | npc/010-2/_config.txt | 11 | ||||
-rw-r--r-- | npc/010-2/_import.txt | 6 | ||||
-rw-r--r-- | npc/010-2/_mobs.txt | 20 | ||||
-rw-r--r-- | npc/010-2/_warps.txt | 45 | ||||
-rw-r--r-- | npc/010-2/sawis.txt | 134 |
5 files changed, 216 insertions, 0 deletions
diff --git a/npc/010-2/_config.txt b/npc/010-2/_config.txt new file mode 100644 index 0000000..f105339 --- /dev/null +++ b/npc/010-2/_config.txt @@ -0,0 +1,11 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Map 010-2: Desert Mountains conf + +010-2,209,70,0 script #010-2_209_70 NPC_CHEST,{ + TreasureBox(); + specialeffect(.dir == 0 ? 24 : 25, AREA, getnpcid()); // closed ? opening : closing + close; +OnInit: + .distance=2; + end; +} diff --git a/npc/010-2/_import.txt b/npc/010-2/_import.txt new file mode 100644 index 0000000..dcd05d4 --- /dev/null +++ b/npc/010-2/_import.txt @@ -0,0 +1,6 @@ +// Map 010-2: Desert Mountains +// This file is generated automatically. All manually added changes will be removed when running the Converter. +"npc/010-2/_config.txt", +"npc/010-2/_mobs.txt", +"npc/010-2/_warps.txt", +"npc/010-2/sawis.txt", diff --git a/npc/010-2/_mobs.txt b/npc/010-2/_mobs.txt new file mode 100644 index 0000000..75679a8 --- /dev/null +++ b/npc/010-2/_mobs.txt @@ -0,0 +1,20 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Map 010-2: Desert Mountains mobs +010-2,119,100,7,2 monster Snake 1122,2,35000,300000 +010-2,161,76,3,9 monster Mountain Snake 1123,7,35000,300000 +010-2,96,120,3,2 monster Desert Bandit 1124,1,35000,300000 +010-2,107,111,3,2 monster Desert Bandit 1124,1,35000,300000 +010-2,123,108,3,2 monster Desert Bandit 1124,2,35000,300000 +010-2,139,100,6,5 monster Desert Bandit 1124,3,35000,300000 +010-2,157,55,7,5 monster Desert Bandit 1124,3,35000,300000 +010-2,148,93,7,5 monster Sarracenus 1125,2,35000,300000 +010-2,175,30,46,9 monster Desert Maggot 1083,12,35000,150000 +010-2,157,60,9,20 monster Desert Maggot 1083,8,35000,150000 +010-2,147,82,3,9 monster Mountain Snake 1123,6,35000,300000 +010-2,47,105,3,9 monster Mountain Snake 1123,7,35000,300000 +010-2,76,118,3,8 monster Mountain Snake 1123,2,35000,300000 +010-2,176,87,3,9 monster Mountain Snake 1123,3,35000,300000 +010-2,169,91,3,9 monster Snake 1122,4,35000,300000 +010-2,151,78,28,45 monster Desert Maggot 1083,35,35000,150000 +010-2,85,113,30,17 monster Desert Maggot 1083,20,35000,150000 +010-2,220,74,39,56 monster Desert Maggot 1083,24,35000,150000 diff --git a/npc/010-2/_warps.txt b/npc/010-2/_warps.txt new file mode 100644 index 0000000..2b6f864 --- /dev/null +++ b/npc/010-2/_warps.txt @@ -0,0 +1,45 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Map 010-2: Desert Mountains warps +010-2,190,108,0 warp #010-2_190_108 0,0,010-1-2,120,109 +010-2,149,119,0 warp #010-2_149_119 0,0,010-1-2,94,96 +010-2,125,120,0 warp #010-2_125_120 0,0,010-1-2,77,56 +010-2,112,101,0 warp #010-2_112_101 0,0,010-1-2,64,46 +010-2,185,64,0 warp #010-2_185_64 0,0,010-1-9,69,59 +010-2,194,55,0 warp #010-2_194_55 0,0,010-1-9,60,32 +010-2,249,47,0 warp #010-2_249_47 0,0,010-2-2,94,21 +010-2,210,68,0 warp #010-2_210_68 0,0,010-2-2,64,49 +010-2,224,63,0 warp #010-2_224_63 0,0,010-2-2,59,49 +010-2,223,81,0 warp #010-2_223_81 0,0,010-2-2,70,57 +010-2,230,115,0 warp #010-2_230_115 0,0,010-2-11,45,53 +010-2,175,111,0 warp #010-2_175_111 0,0,010-2-3,55,47 +010-2,168,119,0 warp #010-2_168_119 0,0,010-2-3,49,54 +010-2,232,45,0 warp #010-2_232_45 0,0,010-2-2,80,28 +010-2,236,52,0 warp #010-2_236_52 0,0,010-2-3,77,28 +010-2,204,95,0 warp #010-2_204_95 0,0,010-2-3,78,28 +010-2,142,109,0 warp #010-2_142_109 0,0,010-1-9,32,31 +010-2,160,66,0 warp #010-2_160_66 0,0,010-1-2,87,23 +010-2,173,78,0 warp #010-2_173_78 0,0,010-1-2,118,28 +010-2,192,107,0 warp #010-2_192_107 0,0,010-2-13,33,36 +010-2,218,118,0 warp #010-2_218_118 0,0,010-1-9,33,59 +010-2,237,61,0 warp #010-2_237_61 0,0,010-1-9,72,21 +010-2,106,127,0 warp #010-2_106_127 0,0,010-1-2,62,69 +010-2,86,111,0 warp #010-2_86_111 0,0,010-1-1,124,55 +010-2,241,39,0 warp #010-2_241_39 0,0,010-2-16,105,44 +010-2,232,37,0 warp #010-2_232_37 0,0,010-2-16,57,22 +010-2,219,38,0 warp #010-2_219_38 0,0,010-2-16,37,21 +010-2,168,100,0 warp #010-2_168_100 0,0,010-1-1,180,25 +010-2,131,112,0 warp #010-2_131_112 0,0,010-1-1,183,52 +010-2,134,113,0 warp #010-2_134_113 0,0,010-1-1,188,52 +010-2,121,97,0 warp #010-2_121_97 0,0,010-1-1,181,26 +010-2,97,63,0 warp #010-2_97_63 0,0,010-2-6,41,21 +010-2,62,73,0 warp #010-2_62_73 0,0,010-2-5,47,21 +010-2,48,89,0 warp #010-2_48_89 0,0,010-2-5,33,29 +010-2,37,96,0 warp #010-2_37_96 0,0,010-1-1,47,33 +010-2,34,101,0 warp #010-2_34_101 0,0,010-1-1,43,41 +010-2,169,19,0 warp #010-2_169_19 2,0,009-1,56,108 +010-2,155,100,0 warp #010-2_155_100 0,0,004-1,33,110 +010-2,93,123,0 warp #010-2_93_123 0,0,010-3,34,21 +010-2,40,78,0 warp #010-2_40_78 0,0,010-1-1,54,41 +010-2,171,90,0 warp #010-2_171_90 0,0,010-2-3,54,24 +010-2,181,98,0 warp #010-2_181_98 0,0,010-2-2,33,81 +010-2,207,39,0 warp #010-2_207_39 0,0,010-1-9,73,21 diff --git a/npc/010-2/sawis.txt b/npc/010-2/sawis.txt new file mode 100644 index 0000000..dc3c9db --- /dev/null +++ b/npc/010-2/sawis.txt @@ -0,0 +1,134 @@ +// TMW2 Script +// Author: +// Saulc +// Reviewer: +// Jesusalva +// Description: +// craft desert shirt. Reference to player msawis +// id:193 HalinarzoQuest_Sawis + +010-2,138,122,0 script Sawis NPC_PLAYER,{ + .@q = getq(HalinarzoQuest_Sawis); + if (BaseLevel < 37) goto L_TooWeak; + if (.@q == 1) goto L_Check; + if (.@q == 2) goto L_Complete; + +L_GiveTask: + mesn; + mesq lg("Hello, wanderer!"); + next; + mesq l("No one visit me, I'm in peace there."); + next; + + menu + l("What are you doing alone in this desert?"), L_Quest, + l("Don't speak to me crazy guy!"), L_Quit; + +L_Quest: + mes ""; + mesn; + mesq l("I do some research about evolution of snake skin subject to hard sunlight."); + next; + mesn; + mesq l("Then I craft some new type of strong desert shirt, to protect users from snakes and sunlight."); + next; + mesn; + mesq l("If you bring me some items, I can craft one for you. You will be my test subject."); + next; + + menu + l("Yeah, sure? What do you need?"), L_Start, + l("Nah, sorry, everything is good with me."), L_Quit; + +L_Start: + setq HalinarzoQuest_Sawis, 1; + mes ""; + mesn; + mesq l("Ok, what I need is:"); + goto L_List; + +L_Quit: + mes ""; + mesn; + mesq l("Alright."); + close; + +L_List: + mes ""; + mesn; + mes l("Here's what I need:"); + mes l("@@/1 @@", countitem(LeatherShirt), getitemlink(LeatherShirt)); + mes l("@@/1 @@", countitem(CottonCloth), getitemlink(CottonCloth)); + mes l("@@/1 @@", countitem(CaveSnakeSkin), getitemlink(CaveSnakeSkin)); + mes l("@@/3 @@", countitem(SnakeSkin), getitemlink(SnakeSkin)); + close; + +L_Check: + mesn; + mesq l("Did you brought me everything I asked for?"); + next; + menu + l("Yes!"), L_Give, + l("Sorry, I forgot what you need!"), L_List, + l("No!"), L_Quit; + +L_Give: + if ( + countitem(LeatherShirt) < 1 || + countitem(CottonCloth) < 1 || + countitem(CaveSnakeSkin) < 1 || + countitem(SnakeSkin) < 3 + ) goto L_Lying; + + inventoryplace DesertShirt, 1; + + delitem(LeatherShirt, 1); + delitem(CottonCloth, 1); + delitem(CaveSnakeSkin, 1); + delitem(SnakeSkin, 3); + + getitem(DesertShirt, 1); + getexp(5000, 30); + setq(HalinarzoQuest_Sawis, 2); + + mes ""; + mesn; + mesq l("I hope this is your size."); + close; + +L_Complete: + mesn; + mesq l("As I see, you stay alive!"); + next; + mesn; + mesq l("I must keep notes of this."); + close; + +// Funnier to write than to read, but the player lied. :angel: +L_Lying: + mesn; + mesq l("No no no, that's wrong."); + next; + mesc l("Actually, you could be really useful testing Snake Poison. What do you think about that?"); + next; + goto L_List; + +L_TooWeak: + mesn; + mesq l("What are you doing here? This place is too dangerous for you!"); + close; + +OnInit: + .@npcId = getnpcid(.name$); + setunitdata(.@npcId, UDT_HEADMIDDLE, DesertShirt); + setunitdata(.@npcId, UDT_HEADBOTTOM, BromenalPants); + setunitdata(.@npcId, UDT_WEAPON, DeepBlackBoots); + setunitdata(.@npcId, UDT_HAIRSTYLE, 7); + setunitdata(.@npcId, UDT_HAIRCOLOR, 7); + + .sex = G_MALE; + .distance = 5; + npcsit; + + end; +} |