diff options
Diffstat (limited to 'world/map/npc/020-1')
-rw-r--r-- | world/map/npc/020-1/KrickKrackKrock.txt | 124 | ||||
-rw-r--r-- | world/map/npc/020-1/_import.txt | 12 | ||||
-rw-r--r-- | world/map/npc/020-1/_mobs.txt | 4 | ||||
-rw-r--r-- | world/map/npc/020-1/_nodes.txt | 4 | ||||
-rw-r--r-- | world/map/npc/020-1/_warps.txt | 13 | ||||
-rw-r--r-- | world/map/npc/020-1/mapflags.txt | 2 | ||||
-rw-r--r-- | world/map/npc/020-1/rockscissor.txt | 99 | ||||
-rw-r--r-- | world/map/npc/020-1/soul-menhir.txt | 17 | ||||
-rw-r--r-- | world/map/npc/020-1/traveler.txt | 7 | ||||
-rw-r--r-- | world/map/npc/020-1/well.txt | 120 |
10 files changed, 0 insertions, 402 deletions
diff --git a/world/map/npc/020-1/KrickKrackKrock.txt b/world/map/npc/020-1/KrickKrackKrock.txt deleted file mode 100644 index 64dc6785..00000000 --- a/world/map/npc/020-1/KrickKrackKrock.txt +++ /dev/null @@ -1,124 +0,0 @@ -//author: Lien -//reviewed by Pjotr Orial and Jenalya - -//To enable: sed 's_^// __' -i npc/020-1/KrickKrackKrock.txt - -// 020-1,82,82,0|script|Criker|192 -// { -// L_Main: -// //Var - -// set @NPC_NAME$, "[Criker]"; -// set @BET, 50; -// //lots of array ;( -// setarray @KRICK$, "Krick", "Krack", "Krock"; -// setarray @ITEM_RAND, 613, 537, 631, 775, 703, 640, 641, 4006, 700; -// setarray @ITEM_HEALTH, 684, 685, 686, 687; - -// //ends of var - -// mes @NPC_NAME$; -// mes "\"Hello " + strcharinfo(0) + ", do you want to play Krick-Krack-Krock?\""; -// L_Menu: -// menu -// "Let's start!", L_Start, -// "What's this?", L_info, -// "Well, not for the moment.", -; -// close; -// L_Start: -// mes @NPC_NAME$; -// mes "\"Well, how many do you want to bet?\""; -// input @BET; -// if(@BET < 50 ) goto L_poor; -// if(@BET > 2000) goto L_Too_rich; -// if(Zeny < @BET) goto L_No_Money; -// set Zeny, Zeny - @BET; - - - -// set @NPC_KRICK, rand(2); -// mes "\"Choose Krick, Krack or Krock.\""; -// menu -// @KRICK$[0], -, -// @KRICK$[1], -, -// @KRICK$[2], -; - -// //menu = min 1 & not 0 so I change it -// set @menu, @menu - 1; - -// mes @NPC_NAME$; -// mes "\" "+ @KRICK$[@NPC_KRICK] +"!\""; -// if( @menu == @NPC_KRICK ) goto L_Work; -// mes @NPC_NAME$; -// mes "\"Too bad! You were not lucky!\""; -// close; -// L_Work: -// mes @NPC_NAME$; -// mes "\"Wow amazing... What kind of present do you want?\""; -// menu -// "Money!", L_Money, -// "An item!", L_Item, -// "Some healing potions would be cool!", L_Health_item; -// close; - -// L_Money: -// mes @NPC_NAME$; -// mes "\"Here is your money.\""; -// set Zeny, Zeny + (@BET*2); -// close; -// L_Item: -// //item -// getinventorylist; -// if (@inventorylist_count == 100) goto L_Full_Inv; - -// if( @BET > 50) getitem @ITEM_RAND[rand(1)], 1; -// if( @BET > 200) getitem @ITEM_RAND[1 + rand(1)], 1; -// if( @BET > 500) getitem @ITEM_RAND[2 + rand(1)], 1; -// if( @BET > 1000) getitem @ITEM_RAND[3 + rand(1)], 1; -// if( @BET > 1200) getitem @ITEM_RAND[4 + rand(1)], 1; -// if( @BET > 1500) getitem @ITEM_RAND[5 + rand(1)], 1; -// if( @BET == 2000) getitem @ITEM_RAND[6 + rand(1)], 1; -// mes @NPC_NAME$; -// mes "\"Here it is !\""; -// close; - -// L_Health_item: -// // health item -// getinventorylist; -// if (@inventorylist_count == 100) goto L_Full_Inv; - -// if( @BET > 50) getitem @ITEM_HEALTH[rand(1)], 1; -// if( @BET > 200) getitem @ITEM_HEALTH[ 1 +rand(1)], 1 + rand(1); -// if( @BET > 500) getitem @ITEM_HEALTH[2 + rand(1)], 1 + rand(3); -// if( @BET > 1000) getitem @ITEM_HEALTH[3], 2 + rand(1); -// if( @BET > 1500) getitem @ITEM_HEALTH[3], 3 + rand(2); -// if( @BET == 2000) getitem @ITEM_HEALTH[3], 5 + rand(10); -// mes @NPC_NAME$; -// mes "\"Here it is !\""; -// close; - -// L_Full_Inv: -// mes @NPC_NAME$; -// mes "\"What are you doing? You have so much stuff with you, you can't carry what you won. Ha, well, then I will keep it!\""; -// close; - -// L_poor: -// mes @NPC_NAME$; -// mes "\"Erm... if you want to play you HAVE to bet, and you can't bet "+ @BET +" gold pieces. You need at least 50gp.\""; -// close; -// L_Too_rich: -// mes @NPC_NAME$; -// mes "\"Mh... I have to bet too. How will I get a present which is "+ @BET +"? No, that's too much.\""; -// close; -// L_No_Money: -// mes @NPC_NAME$; -// mes "\"Oh? You don't have "+ @BET +" gold pieces.\""; -// close; -// L_info: -// mes @NPC_NAME$; -// mes "\"Well, if you want to play Krick Krack Krock with me, you need to bet some money. We will both say a word (Krack, Krick or Krock). If we say the same, you can win double your money or an item worth what you bet. \""; -// next; -// mes "\"So, do you want to play? \""; -// goto L_Menu; -// } - diff --git a/world/map/npc/020-1/_import.txt b/world/map/npc/020-1/_import.txt deleted file mode 100644 index dec7f1d5..00000000 --- a/world/map/npc/020-1/_import.txt +++ /dev/null @@ -1,12 +0,0 @@ -// Map 020-1: Nivalis -// This file is generated automatically. All manually added changes will be removed when running the Converter. -map: 020-1 -npc: npc/020-1/KrickKrackKrock.txt -npc: npc/020-1/_mobs.txt -npc: npc/020-1/_nodes.txt -npc: npc/020-1/_warps.txt -npc: npc/020-1/mapflags.txt -npc: npc/020-1/rockscissor.txt -npc: npc/020-1/soul-menhir.txt -npc: npc/020-1/traveler.txt -npc: npc/020-1/well.txt diff --git a/world/map/npc/020-1/_mobs.txt b/world/map/npc/020-1/_mobs.txt deleted file mode 100644 index 7890d424..00000000 --- a/world/map/npc/020-1/_mobs.txt +++ /dev/null @@ -1,4 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Nivalis mobs - -020-1,0,0,0,0|monster|WhiteBell|1095,3,100000ms,30000ms diff --git a/world/map/npc/020-1/_nodes.txt b/world/map/npc/020-1/_nodes.txt deleted file mode 100644 index 07b204f3..00000000 --- a/world/map/npc/020-1/_nodes.txt +++ /dev/null @@ -1,4 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Nivalis nodes - -// (no nodes) diff --git a/world/map/npc/020-1/_warps.txt b/world/map/npc/020-1/_warps.txt deleted file mode 100644 index 87ba723d..00000000 --- a/world/map/npc/020-1/_warps.txt +++ /dev/null @@ -1,13 +0,0 @@ -// This file is generated automatically. All manually added changes will be removed when running the Converter. -// Nivalis warps - -020-1,76,38|warp|1,-1,020-3,31,26 -020-1,47,48|warp|-1,-1,020-2,25,35 -020-1,66,52|warp|-1,-1,020-2,72,70 -020-1,64,82|warp|-1,-1,020-2,111,32 -020-1,86,46|warp|-1,-1,020-2,32,73 -020-1,57,91|warp|-1,-1,020-2,65,23 -020-1,70,128|warp|2,-1,019-1,70,22 -020-1,107,55|warp|-1,-1,031-1,38,55 -020-1,59,45|warp|-1,-1,020-2,127,68 -020-1,33,93|warp|-1,-1,030-2,88,50 diff --git a/world/map/npc/020-1/mapflags.txt b/world/map/npc/020-1/mapflags.txt deleted file mode 100644 index dbaedb2e..00000000 --- a/world/map/npc/020-1/mapflags.txt +++ /dev/null @@ -1,2 +0,0 @@ -020-1|mapflag|town -020-1|mapflag|resave|020-1,52,118 diff --git a/world/map/npc/020-1/rockscissor.txt b/world/map/npc/020-1/rockscissor.txt deleted file mode 100644 index 9023b6d6..00000000 --- a/world/map/npc/020-1/rockscissor.txt +++ /dev/null @@ -1,99 +0,0 @@ -//author: Lien -//reviewed by Pjotr Orial and Jenalya -//###################################### -//#== NPC [Player] # -//# anyone want to do a funny bet # -//# ------------------------ # -//# Rock-Paper-Scissors can be playing # -//# I hope that'll make fun # -//# ------------------------ # -//###################################### - -//To enable: sed 's_^// __' -i npc/020-1/rockscissor.txt - -// 020-1,74,78,0|script|Gobmel|189 -// { -// //var -// set @NPC_name$, "[Gobmel]"; -// set @NPC_point, 0; -// set @PC_point, 0; -// set @gamblerun, 0; -// setarray @CHOOSE_PC$, "Scissors", "Paper", "Rock"; -// setarray @CHOSE_ID, 0, 1, 2; -// //0:* scissors; 1: Paper; 2: Rock; -// // 0 cut 1 and 1 cover 3 and break 0 ... -// //var ends - -// mes @NPC_name$; -// mes "\"Hello " + strcharinfo(0) + "! Do you want to do a little party of Rock-Paper-Scissors and bet some gold?\""; -// menu -// "Yes, I want.", L_RPS, -// "Well, maybe later.", -; -// close; - -// L_RPS: - -// mes @NPC_name$; -// mes "\"How much money do you want to bet?\""; -// input @MONEY_BET; -// if(Zeny < @MONEY_BET) goto L_poor; -// set Zeny, Zeny - @MONEY_BET; - -// L_Start: -// if(@gamblerun == 3) goto L_finish; -// //what chose the NPC ? - -// set @CHOOSE_NPCID, rand(2); - -// mes @NPC_name$; -// mes "[ " + @gamblerun + "/3 ]"; -// mes "\"1... 2... 3...\""; -// mes ""; -// mes"[chose what sign you do]"; -// mes ""; -// menu -// @CHOOSE_PC$[0], -, -// @CHOOSE_PC$[1], -, -// @CHOOSE_PC$[2], -; - -// set @CHOSEN, @menu -1; -// mes "Gobmal: " + @CHOOSE_PC$[@CHOOSE_NPCID]; -// mes strcharinfo(0)+" " + strcharinfo(0)+ ": " +@CHOOSE_PC$[@CHOSEN]; -// mes ""; -// if(@CHOSEN == @CHOOSE_NPCID) goto L_Start; -// if(@CHOSEN == 0 && @CHOOSE_NPCID == 2) goto L_Lost; -// if(@CHOSEN == 1 && @CHOOSE_NPCID == 0) goto L_Lost; -// if(@CHOSEN == 2 && @CHOOSE_NPCID == 1) goto L_Lost; -// L_Win: -// set @PC_point, @PC_point + 1; -// set @gamblerun, @gamblerun + 1; -// mes "Oh no! I have lost."; -// mes ""; -// next; -// goto L_Start; - -// L_poor: -// mes @NPC_name$; -// mes "\"Go away from me...\""; -// close; - -// L_Lost: -// set @NPC_point, @NPC_point + 1; -// set @gamblerun, @gamblerun + 1; -// mes "I have won!"; -// mes ""; -// next; -// goto L_Start; - -// L_finish: -// if(@PC_point > @NPC_point ) goto L_Won; -// mes @NPC_name$; -// mes "\"Nice! I have won, give me your gp!\""; -// close; -// L_Won: -// mes @NPC_name$; -// mes "\"Here is my money.\""; -// set Zeny, Zeny + @MONEY_BET*2; -// close; -// } - diff --git a/world/map/npc/020-1/soul-menhir.txt b/world/map/npc/020-1/soul-menhir.txt deleted file mode 100644 index c8f7740a..00000000 --- a/world/map/npc/020-1/soul-menhir.txt +++ /dev/null @@ -1,17 +0,0 @@ -// - -020-1,63,89,0|script|Soul Menhir#nivalis|346 -{ - set @map$, "020-1"; - setarray @Xs, 62, 63, 64, 62, 64, 62, 64; - setarray @Ys, 88, 88, 88, 89, 89, 90, 90; - set @x, 0; - set @y, 0; - callfunc "SoulMenhir"; - set @map$, ""; - cleararray @Xs[0], 0, 7; - cleararray @Ys[0], 0, 7; - set @x, 0; - set @y, 0; - close; -} diff --git a/world/map/npc/020-1/traveler.txt b/world/map/npc/020-1/traveler.txt deleted file mode 100644 index 421ed0e7..00000000 --- a/world/map/npc/020-1/traveler.txt +++ /dev/null @@ -1,7 +0,0 @@ -020-1,57,123,0|script|Knox the Traveler|103 -{ - set @npcname$, "Knox"; - set @NpcTravelBit, $@nivalis_bit; - callfunc "Traveler"; - end; -} diff --git a/world/map/npc/020-1/well.txt b/world/map/npc/020-1/well.txt deleted file mode 100644 index ec42c397..00000000 --- a/world/map/npc/020-1/well.txt +++ /dev/null @@ -1,120 +0,0 @@ -//############################################ -//# NPC Well & Miler -//# Authors: Lien, PjotrOrial -//# Review: -//# -//# There is someone in the well. This can be found out by throwing some stuff -//# in there. -//# -//# When the npc in the well is detected they can be rescued by asking Miler -//# for help. -//# -//# The experience reward given by Miler is 111 * BaseLevel -//# -//# used variables: QUEST_Nivalis_state Nibble4 -//############################################ - -020-1,99,83,0|script|#Well|400 -{ - if(QL_WELL == 2) goto L_Finished; - - mes "..."; - menu - "Throw something in the well.", L_Throw, - "Leave it alone.", L_Close; - -L_Throw: - mes "What do you want to throw?"; - - setarray @response_list$, "Yuck! Who threw that on me?", "Ouch! Who's hurting me?", "White powder!? What's going on up there?", "It's raining in Nivalis?!"; - setarray @item_list$, "MaggotSlime", "RawLog", "PileOfAsh", "BottleOfWater"; - menu - "Maggot slime", L_CheckItem, - "A raw log", L_CheckItem, - "Pile of ash", L_CheckItem, - "Bottle of water", L_CheckItem, - "Leave it alone", L_Close; - -L_CheckItem: - set @index, @menu - 1; - set @response$, @response_list$[@index]; - set @item$, @item_list$[@index]; - - mes @item$; - - if(countitem(@item$) == 0) - goto L_MissingItem; - delitem @item$, 1; - - if(@item$ == "BottleOfWater") - getitem "EmptyBottle", 1; - - mes "[Mysterious voice inside the well]"; - mes "\"" + @response$ + "\""; - next; - menu - "Who are you?", L_Who, - "How did you get down there?", L_How, - "Do you need help?", L_Help; - -L_Who: - set @response$, "I'll talk about who I am after leaving the well. "; - goto L_GetHelp; - -L_How: - set @response$, "Well, someone pushed me into the well, I'm not sure who. "; - goto L_GetHelp; - -L_Help: - set @response$, "I certainly can't get out on my own. "; - goto L_GetHelp; - -L_GetHelp: - mes "[Mysterious voice inside the well]"; - mes "\"" + @response$ + "So if you can get some help for me... please do so!\""; - set QL_WELL, 1; - - cleararray @response_list$, "", 4; - cleararray @item_list$, "", 4; - set @index, 0; - set @response$, ""; - - goto L_Close; - -L_MissingItem: - mes "You can't throw something you don't have."; - goto L_Close; - -L_Finished: - mes "This is a well."; - goto L_Close; - -L_Close: - close; -} - -020-2,100,28,0|script|Miler|100 -{ - mes "[Miler]"; - mes "\"Hello!\""; - - if(QL_WELL != 1) goto L_Close; - menu - "Hello.", L_Close, - "Hello, Can you help me?", L_Help; - -L_Help: - mes "[Miler]"; - mes "\"What's the problem?\""; - menu "Someone fell into the well.", L_Next; - -L_Next: - mes "[Miler]"; - mes "\"Ho! I'll help him!\""; - getexp (BaseLevel * 111), 0; - set QL_WELL, 2; - goto L_Close; - -L_Close: - close; -} |