summaryrefslogtreecommitdiff
path: root/npc/007-1
diff options
context:
space:
mode:
Diffstat (limited to 'npc/007-1')
-rw-r--r--npc/007-1/_import.txt6
-rw-r--r--npc/007-1/_mobs.txt11
-rw-r--r--npc/007-1/_warps.txt6
-rw-r--r--npc/007-1/mapflags.txt1
-rw-r--r--npc/007-1/voltain.txt377
5 files changed, 401 insertions, 0 deletions
diff --git a/npc/007-1/_import.txt b/npc/007-1/_import.txt
new file mode 100644
index 00000000..67c56716
--- /dev/null
+++ b/npc/007-1/_import.txt
@@ -0,0 +1,6 @@
+// Map 007-1: Woodland
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+"npc/007-1/_mobs.txt",
+"npc/007-1/_warps.txt",
+"npc/007-1/mapflags.txt",
+"npc/007-1/voltain.txt",
diff --git a/npc/007-1/_mobs.txt b/npc/007-1/_mobs.txt
new file mode 100644
index 00000000..b7b12d7a
--- /dev/null
+++ b/npc/007-1/_mobs.txt
@@ -0,0 +1,11 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 007-1: Woodland mobs
+007-1,0,0,0,0 monster Pink Flower 1014,17,100000,30000
+007-1,0,0,0,0 monster Spiky Mushroom 1019,15,100000,30000
+007-1,0,0,0,0 monster Snail 1041,25,100000,30000
+007-1,0,0,0,0 monster Mauve Plant 1029,3,270000,180000
+007-1,0,0,0,0 monster Gamboge Plant 1031,1,2700000,1800000
+007-1,0,0,0,0 monster Silkworm 1035,2,60000,30000
+007-1,0,0,0,0 monster Clover Patch 1037,2,0,1000
+007-1,0,0,0,0 monster Squirrel 1038,25,30,20
+007-1,0,0,0,0 monster Butterfly 1055,10,30,20
diff --git a/npc/007-1/_warps.txt b/npc/007-1/_warps.txt
new file mode 100644
index 00000000..c26e980a
--- /dev/null
+++ b/npc/007-1/_warps.txt
@@ -0,0 +1,6 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 007-1: Woodland warps
+007-1,20,54,0 warp #007-1_20_54 0,1,010-1,130,53
+007-1,69,21,0 warp #007-1_69_21 3,0,008-1,78,101
+007-1,122,20,0 warp #007-1_122_20 2,0,008-1,132,98
+007-1,73,76,0 warp #007-1_73_76 0,0,007-2,34,34
diff --git a/npc/007-1/mapflags.txt b/npc/007-1/mapflags.txt
new file mode 100644
index 00000000..666d518b
--- /dev/null
+++ b/npc/007-1/mapflags.txt
@@ -0,0 +1 @@
+//007-1 mapflag resave 009-2,149,43
diff --git a/npc/007-1/voltain.txt b/npc/007-1/voltain.txt
new file mode 100644
index 00000000..6cedb1d6
--- /dev/null
+++ b/npc/007-1/voltain.txt
@@ -0,0 +1,377 @@
+
+007-1,37,21,0 script Voltain NPC103,{
+ @BOTTLE_NEEDED = 3;
+ @BOTTLE_REWARD_XP = 100;
+ @BOTTLE_REWARD_GOLD = 450;
+
+ @BLACK_SC_ST_NEEDED = 5;
+ @BLACK_SC_ST_REWARD_XP = 500;
+ @BLACK_SC_ST_REWARD_GOLD = 250;
+
+ @BUGLEG_NEEDED = 10;
+ @BUGLEG_REWARD_XP = 200;
+ @BUGLEG_REWARD_GOLD = 150;
+
+ @HERBS_NEEDED = 7;
+ @HERBS_REWARD_XP = 200;
+ @HERBS_REWARD_GOLD = 250;
+
+ @RAWLOG_NEEDED = 5;
+ @RAWLOG_REWARD_XP = 330;
+ @RAWLOG_REWARD_GOLD = 300;
+
+ @REDAPPLE_NEEDED = 7;
+ @REDAPPLE_REWARD_XP = 330;
+ @REDAPPLE_REWARD_GOLD = 300;
+
+ @STEAK_NEEDED = 2;
+ @STEAK_REWARD_XP = 330;
+ @STEAK_REWARD_GOLD = 280;
+
+ @ARROW_NEEDED = 25;
+ @ARROW_REWARD_XP = 330;
+ @ARROW_REWARD_GOLD = 100;
+
+ @SNAKETONGUE_NEEDED = 3;
+ @SNAKETONGUE_REWARD_XP = 330;
+ @SNAKETONGUE_REWARD_GOLD = 100;
+
+ @CHOCOLATECAKE_NEEDED = 3;
+ @CHOCOLATECAKE_REWARD_XP = 330;
+ @CHOCOLATECAKE_REWARD_GOLD = 180;
+
+ if ($@VOLTAIN_state == 1) goto L_state1;
+ if ($@VOLTAIN_state == 2) goto L_state2;
+ if ($@VOLTAIN_state == 3) goto L_state3;
+ if ($@VOLTAIN_state == 4) goto L_state4;
+ if ($@VOLTAIN_state == 5) goto L_state5;
+ if ($@VOLTAIN_state == 6) goto L_state6;
+ if ($@VOLTAIN_state == 7) goto L_state7;
+ if ($@VOLTAIN_state == 8) goto L_state8;
+ if ($@VOLTAIN_state == 9) goto L_state9;
+ if ($@VOLTAIN_state == 10) goto L_state10;
+ if ($@VOLTAIN_state == 11) goto L_state11;
+ if ($@VOLTAIN_state == 12) goto L_state12;
+ if ($@VOLTAIN_state == 13) goto L_state13;
+ goto L_state0;
+
+L_state0:
+ mes "[Voltain]";
+ mes "\"What are you doing bothering me? Can't you see I'm busy! Oh, I'm sorry, I thought you were my assistant. Never mind that... would you care to help me?\"";
+ next;
+ menu
+ "Sure I do!", L_Next,
+ "No, you creep me out.", L_NoHelp;
+
+L_Next:
+ mes "[Voltain]";
+ mes "\"I'm working on a very special potion. I need some empty bottles to keep the ingredients in. Care to go find me " + @BOTTLE_NEEDED + " empty bottles?!\"";
+ next;
+ menu
+ "I've got the bottles.", L_Next1,
+ "I don't feel like helping you get garbage...", L_close;
+
+L_Next1:
+ if (countitem("EmptyBottle") < @BOTTLE_NEEDED)
+ goto L_No_Water;
+ delitem "EmptyBottle", @BOTTLE_NEEDED;
+ Zeny = Zeny + @BOTTLE_REWARD_GOLD;
+ getexp @BOTTLE_REWARD_XP, 0;
+ $@VOLTAIN_state = 1;
+ mes "\"Thanks for the bottles. Much easier to carry liquid in them.\"";
+ goto L_close;
+
+L_state1:
+ mes "[Voltain]";
+ mes "\"I'm making a potion that requires lots of venom. I'm in need of " + @BLACK_SC_ST_NEEDED + " black scorpion stingers.\"";
+ next;
+
+ menu
+ "I've got the stingers!", L_Next2,
+ "I'll go search for them.", L_close;
+
+L_Next2:
+ mes "[Voltain]";
+ if (countitem("BlackScorpionStinger") < @BLACK_SC_ST_NEEDED)
+ goto L_No_Water;
+ delitem "BlackScorpionStinger", @BLACK_SC_ST_NEEDED;
+ Zeny = Zeny + @BLACK_SC_ST_REWARD_GOLD;
+ getexp @BLACK_SC_ST_REWARD_XP, 0;
+ $@VOLTAIN_state = 2;
+ mes "\"Well, since you went to the trouble of getting me these here's a little something for your time...\"";
+ goto L_close;
+
+L_state2:
+ mes "[Voltain]";
+ mes "\"Care to to help me with my potion? I need " + @BUGLEG_NEEDED + " bug legs so that I can thicken the potion.\"";
+ next;
+ menu
+ "I've got the bug legs.", L_Next3,
+ "I'd rather not carry around dead bugs for you.", L_NoHelp ;
+
+L_Next3:
+ mes "[Voltain]";
+ if (countitem("BugLeg") < @BUGLEG_NEEDED)
+ goto L_No_Water;
+ delitem "BugLeg", @BUGLEG_NEEDED;
+ Zeny = Zeny + @BUGLEG_REWARD_GOLD;
+ getexp @BUGLEG_REWARD_XP, 0;
+ $@VOLTAIN_state = 3;
+ mes "\"Great! My potion is ready to poison the moub...I mean cure scorpion stings. \"";
+ goto L_close;
+
+L_state3:
+ mes "[Voltain]";
+ mes "\"I find myself in need of a black scorpion stinger... Damn mouboo are hard to kill...forget you heard that.\"";
+ next;
+ menu
+ "Here's the stinger.", L_Next4,
+ "I DID HEAR THAT! I will not help you KILL mouboo!", L_close;
+
+L_Next4:
+ mes "[Voltain]";
+ if (countitem("BlackScorpionStinger") < 1)
+ goto L_No_Water;
+ delitem "BlackScorpionStinger", 1;
+ getexp @BLACK_SC_ST_REWARD_XP, 0;
+ $@VOLTAIN_state = 4;
+ mes "\"Great! Now I can really kill that monster!\"";
+ goto L_close;
+
+L_state4:
+ mes "[Voltain]";
+ mes "\"I need to thicken a veno.. Oh, a potion actually. I want to try mauve herbs for that, so can you bring me " + @HERBS_NEEDED + ", please?\"";
+ next;
+ menu
+ "Here are the herbs.", L_Next5,
+ "So you want to do a venom? I will not help you!", L_close;
+
+L_Next5:
+ mes "[Voltain]";
+ if (countitem("MauveHerb") < @HERBS_NEEDED)
+ goto L_No_Water;
+ delitem "MauveHerb", @HERBS_NEEDED;
+ getexp @HERBS_REWARD_XP, 0;
+ Zeny = Zeny + @HERBS_REWARD_GOLD;
+ $@VOLTAIN_state = 5;
+ mes "\"Great! Now I can thicken the potion! I will try directly.\"";
+ goto L_close;
+
+L_state5:
+ mes "[Voltain]";
+ mes "\"Hello I am looking for " + @RAWLOG_NEEDED + " raw logs, maybe you could help me getting some? I want to try to build a mouboo trap.. Uhm actually no! I want to build a device to destroy these traps. So can you help me?\"";
+ next;
+ menu
+ "Here are the raw logs.", L_Next6,
+ "So you want build traps for mouboos? NO WAY!", L_close;
+
+L_Next6:
+ mes "[Voltain]";
+ if (countitem("RawLog") < @RAWLOG_NEEDED)
+ goto L_No_Water;
+ delitem "RawLog", @RAWLOG_NEEDED;
+ getexp @RAWLOG_REWARD_XP, 0;
+ Zeny = Zeny + @RAWLOG_REWARD_GOLD;
+ $@VOLTAIN_state = 6;
+ mes "\"Great! Now I can thicken the potion! I will try directly.\"";
+ goto L_close;
+
+L_state6:
+ mes "[Voltain]";
+ mes "\"Hello I am looking for " + @REDAPPLE_NEEDED + " red apples, maybe I can inject some venoms.. DOH not this again! Of course I meant a strength potion. Did you hear about the new potions from Caul? He is a pretty good alchimist. He can do strength potions, can't he?\"";
+ next;
+ menu
+ "Here are the red apples.", L_Next7,
+ "I am not sure...", L_close;
+
+L_Next7:
+ mes "[Voltain]";
+ if (countitem("RedApple") < @REDAPPLE_NEEDED)
+ goto L_No_Water;
+ delitem "RedApple", @REDAPPLE_NEEDED;
+ getexp @REDAPPLE_REWARD_XP, 0;
+ Zeny = Zeny + @REDAPPLE_REWARD_GOLD;
+ $@VOLTAIN_state = 7;
+ mes "\"Very well, this will be useful.\"";
+ goto L_close;
+
+L_state7:
+ mes "[Voltain]";
+ mes "\"I need to thicken a veno.. Oh, a potion actually. Cobalt herbs might be good for that, so can you bring me " + @HERBS_NEEDED + ", please?\"";
+ next;
+ menu
+ "Here are the herbs.", L_Next8,
+ "So you want to do a venom? I will not help you!", L_close;
+
+L_Next8:
+ mes "[Voltain]";
+ if (countitem("CobaltHerb") < @HERBS_NEEDED)
+ goto L_No_Water;
+ delitem "CobaltHerb", @HERBS_NEEDED;
+ getexp @HERBS_REWARD_XP, 0;
+ Zeny = Zeny + @HERBS_REWARD_GOLD;
+ $@VOLTAIN_state = 8;
+ mes "\"Great! Now I can go on with the ven- the experiments for the welfare of humanity, I mean.\"";
+ goto L_close;
+
+L_state8:
+ mes "[Voltain]";
+ mes "\"I am in need of snake tongues. They can help me getting very strong venom extracts. So I would like you to bring me " + @SNAKETONGUE_NEEDED + " snake tongues.\"";
+ next;
+ menu
+ "Sure, here you go!", L_Next9,
+ "Maybe you will find someone else, I got stuff to do on my own!", L_close;
+
+L_Next9:
+ mes "[Voltain]";
+ if (countitem("SnakeTongue") < @SNAKETONGUE_NEEDED)
+ goto L_No_Water;
+ delitem "SnakeTongue", @SNAKETONGUE_NEEDED;
+ getexp @SNAKETONGUE_REWARD_XP, 0;
+ Zeny = Zeny + @SNAKETONGUE_REWARD_GOLD;
+ $@VOLTAIN_state = 9;
+ mes "\"Excellent, now I can extract the venom to- uhm, nevermind. Thanks for your help.\"";
+ goto L_close;
+
+L_state9:
+ mes "[Voltain]";
+ mes "\"I need to thicken a veno.. Oh, a potion actually. I want to try alizarin herbs for that, so can you bring me " + @HERBS_NEEDED + ", please?\"";
+ next;
+ menu
+ "Here are the herbs.", L_Next10,
+ "So you want to do a venom? I will not help you!", L_close;
+
+L_Next10:
+ mes "[Voltain]";
+ if (countitem("AlizarinHerb") < @HERBS_NEEDED)
+ goto L_No_Water;
+ delitem "AlizarinHerb", @HERBS_NEEDED;
+ getexp @HERBS_REWARD_XP, 0;
+ Zeny = Zeny + @HERBS_REWARD_GOLD;
+ $@VOLTAIN_state = 10;
+ mes "\"Great! Now I can thicken the potion! I will try directly.\"";
+ goto L_close;
+
+L_state10:
+ mes "[Voltain]";
+ mes "\"Oh I am hungry. Maybe I can eat some steaks. Could you bring me a steak, please?\"";
+ next;
+ mes "\"Oh, I just wonder if I can inject some ven... Forget about that! Bring me " + @STEAK_NEEDED + " steaks!\"";
+ next;
+ menu
+ "Here you go.", L_Next11,
+ "Help yourself! In the Hurnscald Inn you can get some meals for sure!", L_close;
+
+L_Next11:
+ mes "[Voltain]";
+ if (countitem("Steak") < @STEAK_NEEDED)
+ goto L_No_Water;
+ delitem "Steak", @STEAK_NEEDED;
+ getexp @STEAK_REWARD_XP, 0;
+ Zeny = Zeny + @STEAK_REWARD_GOLD;
+ $@VOLTAIN_state = 11;
+ mes "\"Thanks a lot. I will really enjoy my meal.\"";
+ goto L_close;
+
+L_state11:
+ mes "[Voltain]";
+ mes "\"Could I have some arrows please? I have lost my hunting equipment when I was in the caves. Some dark creatures were chasing me!\"";
+ next;
+ mes "\"Acually I wonder if I can use these arrows for building a mouboo trap.... Oh wait! I need some " + @ARROW_NEEDED + " arrows for my self defence right? So do not talk about it!\"";
+ menu
+ "Here you go.", L_Next12,
+ "Sorry I don't have arrows here!", L_close;
+
+L_Next12:
+ mes "[Voltain]";
+ if (countitem("Arrow") < @ARROW_NEEDED)
+ goto L_No_Water;
+ delitem "Arrow", @ARROW_NEEDED;
+ getexp @ARROW_REWARD_XP, 0;
+ Zeny = Zeny + @ARROW_REWARD_GOLD;
+ $@VOLTAIN_state = 12;
+ mes "\"Thanks a lot. Now I feel more secure here in the outdoors.\"";
+ goto L_close;
+
+L_state12:
+ mes "[Voltain]";
+ mes "\"I need to thicken a veno.. Oh, a potion actually. I want to try gamboge herbs for that, so can you bring me " + @HERBS_NEEDED + ", please?\"";
+ next;
+ menu
+ "Here are the herbs.", L_Next13,
+ "So you want to do a venom? I will not help you!", L_close;
+
+L_Next13:
+ mes "[Voltain]";
+ if (countitem("GambogeHerb") < @HERBS_NEEDED)
+ goto L_No_Water;
+ delitem "GambogeHerb", @HERBS_NEEDED;
+ getexp @HERBS_REWARD_XP, 0;
+ Zeny = Zeny + @HERBS_REWARD_GOLD;
+ $@VOLTAIN_state = 13;
+ mes "\"Great! Now I can thicken the potion! I will try directly.\"";
+ goto L_close;
+
+L_state13:
+ mes "[Voltain]";
+ mes "\"Doing so many ev- good things makes me hungry. I feel in the mood for a Chocolate Cake. Can you bring me " + @CHOCOLATECAKE_NEEDED + ", please? \"";
+ next;
+ menu
+ "Here it is.", L_Next14,
+ "I don't feel in the mood to bring you a cake.", L_close;
+
+L_Next14:
+ mes "[Voltain]";
+ if (countitem("ChocolateCake") < @CHOCOLATECAKE_NEEDED)
+ goto L_No_Water;
+ delitem "ChocolateCake", @CHOCOLATECAKE_NEEDED;
+ getexp @CHOCOLATECAKE_REWARD_XP, 0;
+ Zeny = Zeny + @CHOCOLATECAKE_REWARD_GOLD;
+ $@VOLTAIN_state = 0;
+ mes "\"I love chocolate cakes. I wonder, if I can use my ven- \"";
+ emotion EMOTE_EVIL, strcharinfo(0);
+ goto L_close;
+
+L_NoHelp:
+ mes "\"If you don't want to help me, then away with you. Bothering me won't help me get my work done.\"";
+ mes "Voltain then mumbles something under his breath that you cannot quite make out";
+ mes "\"... These damn kids. \"";
+ goto L_close;
+
+L_close:
+ @BOTTLE_NEEDED = 0;
+ @BOTTLE_REWARD_XP = 0;
+ @BOTTLE_REWARD_GOLD = 0;
+ @BLACK_SC_ST_NEEDED = 0;
+ @BLACK_SC_ST_REWARD_XP = 0;
+ @BLACK_SC_ST_REWARD_GOLD = 0;
+ @BUGLEG_NEEDED = 0;
+ @BUGLEG_REWARD_XP = 0;
+ @BUGLEG_REWARD_GOLD = 0;
+ @HERBS_NEEDED = 0;
+ @HERBS_REWARD_XP = 0;
+ @HERBS_REWARD_GOLD = 0;
+ @RAWLOG_NEEDED = 0;
+ @RAWLOG_REWARD_XP = 0;
+ @RAWLOG_REWARD_GOLD = 0;
+ @REDAPPLE_NEEDED = 0;
+ @REDAPPLE_REWARD_XP = 0;
+ @REDAPPLE_REWARD_GOLD = 0;
+ @STEAK_NEEDED = 0;
+ @STEAK_REWARD_XP = 0;
+ @STEAK_REWARD_GOLD = 0;
+ @ARROW_NEEDED = 0;
+ @ARROW_REWARD_XP = 0;
+ @ARROW_REWARD_GOLD = 0;
+ @SNAKETONGUE_NEEDED = 0;
+ @SNAKETONGUE_REWARD_XP = 0;
+ @SNAKETONGUE_REWARD_GOLD = 0;
+ @CHOCOLATECAKE_NEEDED = 0;
+ @CHOCOLATECAKE_REWARD_XP = 0;
+ @CHOCOLATECAKE_REWARD_GOLD = 0;
+ close;
+
+L_No_Water:
+ mes "\"Can't you count!? I need more. \"";
+ goto L_close;
+}