summaryrefslogtreecommitdiff
path: root/npc/012-1
diff options
context:
space:
mode:
Diffstat (limited to 'npc/012-1')
-rw-r--r--npc/012-1/_import.txt18
-rw-r--r--npc/012-1/_mobs.txt12
-rw-r--r--npc/012-1/_warps.txt9
-rw-r--r--npc/012-1/aahna.txt17
-rw-r--r--npc/012-1/aidan.txt19
-rw-r--r--npc/012-1/ayasha.txt17
-rw-r--r--npc/012-1/crasmande.txt18
-rw-r--r--npc/012-1/hasan.txt18
-rw-r--r--npc/012-1/ishi.txt20
-rw-r--r--npc/012-1/kaan.txt19
-rw-r--r--npc/012-1/liana.txt25
-rw-r--r--npc/012-1/marine.txt17
-rw-r--r--npc/012-1/prawors.txt18
-rw-r--r--npc/012-1/tiki.txt150
-rw-r--r--npc/012-1/vincent.txt18
-rw-r--r--npc/012-1/wateranimation.txt12
-rw-r--r--npc/012-1/zegas.txt36
17 files changed, 443 insertions, 0 deletions
diff --git a/npc/012-1/_import.txt b/npc/012-1/_import.txt
new file mode 100644
index 00000000..118dc1b3
--- /dev/null
+++ b/npc/012-1/_import.txt
@@ -0,0 +1,18 @@
+// Map 012-1: Candor Island
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+"npc/012-1/_mobs.txt",
+"npc/012-1/_warps.txt",
+"npc/012-1/aahna.txt",
+"npc/012-1/aidan.txt",
+"npc/012-1/ayasha.txt",
+"npc/012-1/crasmande.txt",
+"npc/012-1/hasan.txt",
+"npc/012-1/ishi.txt",
+"npc/012-1/kaan.txt",
+"npc/012-1/liana.txt",
+"npc/012-1/marine.txt",
+"npc/012-1/prawors.txt",
+"npc/012-1/tiki.txt",
+"npc/012-1/vincent.txt",
+"npc/012-1/wateranimation.txt",
+"npc/012-1/zegas.txt",
diff --git a/npc/012-1/_mobs.txt b/npc/012-1/_mobs.txt
new file mode 100644
index 00000000..ce3a3234
--- /dev/null
+++ b/npc/012-1/_mobs.txt
@@ -0,0 +1,12 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 012-1: Candor Island mobs
+012-1,77,78,30,25 monster Mana Bug 1035,8,10000,10000
+012-1,62,95,19,15 monster Butterfly 1032,5,100000,10000
+012-1,78,103,38,12 monster Maggot 1026,10,500,10000
+012-1,57,57,20,14 monster Grass Snake 1042,5,3000,12000
+012-1,106,42,16,7 monster Scorpion 1043,4,15000,50000
+012-1,115,123,14,7 monster Scorpion 1043,4,15000,40000
+012-1,91,81,10,15 monster Small Frog 1086,4,3000,30000
+012-1,86,86,7,11 monster Big Frog 1087,2,6000,75000
+012-1,103,55,14,13 monster Spiky Mushroom 1049,2,3000,6000
+012-1,43,51,3,4 monster Wicked Mushroom 1050,1,6000,12000
diff --git a/npc/012-1/_warps.txt b/npc/012-1/_warps.txt
new file mode 100644
index 00000000..e7f8b126
--- /dev/null
+++ b/npc/012-1/_warps.txt
@@ -0,0 +1,9 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 012-1: Candor Island warps
+012-1,38,115,0 warp #012-1_38_115 0,0,012-2-1,52,38
+012-1,50,104,0 warp #012-1_50_104 0,0,012-2-6,26,38
+012-1,65,105,0 warp #012-1_65_105 0,0,012-2-5,29,43
+012-1,64,95,0 warp #012-1_64_95 0,0,012-2-3,33,36
+012-1,51,93,0 warp #012-1_51_93 0,0,012-2-7,30,34
+012-1,57,101,0 warp #012-1_57_101 0,0,012-2-4,31,43
+012-1,49,67,0 warp #012-1_49_67 1,0,012-3-1,37,40
diff --git a/npc/012-1/aahna.txt b/npc/012-1/aahna.txt
new file mode 100644
index 00000000..39ad8192
--- /dev/null
+++ b/npc/012-1/aahna.txt
@@ -0,0 +1,17 @@
+// Evol scripts.
+// Author:
+// Micksha
+// Description:
+// Aahna, a low quality NPC ;)
+// TODO: Ask for random drops from Mana Bugs (daily quest)
+
+012-1,99,64,0 script Aahna NPC_AAHNA,{
+ speech
+ l("Welcome."),
+ l("I am looking at Mana Bugs. They always drop a bug leg, it is weird.");
+ close;
+
+OnInit:
+ .distance = 4;
+ end;
+}
diff --git a/npc/012-1/aidan.txt b/npc/012-1/aidan.txt
new file mode 100644
index 00000000..06776be3
--- /dev/null
+++ b/npc/012-1/aidan.txt
@@ -0,0 +1,19 @@
+// Evol scripts.
+// Author:
+// Micksha
+// Description:
+// Aidan, a dawdler in Candor.
+// THIS IS A PLACEHOLDER!
+
+012-1,52,114,0 script Aidan NPC_AIDAN,{
+ speech
+ l("Welcome. I am Aidan, from the Monster Hunting Association."),
+ l("We host daily and weekly monster hunting objectives to adventurers based on their level."),
+ l("We aren't open yet because Ishi still can't decide how she will hand out the rewards."),
+ l("But once we open, remember to come to me to sign in our tasks and also to claim rewards with Ishi before they expire!");
+ close;
+
+OnInit:
+ .distance = 4;
+ end;
+}
diff --git a/npc/012-1/ayasha.txt b/npc/012-1/ayasha.txt
new file mode 100644
index 00000000..ae47556a
--- /dev/null
+++ b/npc/012-1/ayasha.txt
@@ -0,0 +1,17 @@
+// Evol scripts.
+// Author:
+// Micksha
+// Description:
+// Vincent, a child at the Candor beach.
+// THIS IS A PLACEHOLDER!
+
+012-1,65,111,0 script Ayasha NPC_AYASHA,{
+ speech
+ l("Hey adventurer!"),
+ l("I lost Liana, she was taking care of me; Have you seen her around? %%i");
+ close;
+
+OnInit:
+ .distance = 4;
+ end;
+}
diff --git a/npc/012-1/crasmande.txt b/npc/012-1/crasmande.txt
new file mode 100644
index 00000000..85d9308e
--- /dev/null
+++ b/npc/012-1/crasmande.txt
@@ -0,0 +1,18 @@
+// Evol scripts.
+// Author:
+// Micksha
+// Description:
+// Crasmande, the scared man.
+// THIS IS A PLACEHOLDER!
+
+012-1,41,44,0 script Crasmande NPC_CRASMANDE,{
+ speech
+ l("I'm scared!"),
+ l("Hasan is bullying me!"),
+ l("%%i");
+ close;
+
+OnInit:
+ .distance = 4;
+ end;
+}
diff --git a/npc/012-1/hasan.txt b/npc/012-1/hasan.txt
new file mode 100644
index 00000000..79cf9023
--- /dev/null
+++ b/npc/012-1/hasan.txt
@@ -0,0 +1,18 @@
+// Evol scripts.
+// Author:
+// Micksha
+// Description:
+// Hasan, the bad guy.
+// THIS IS A PLACEHOLDER!
+
+012-1,39,44,0 script Hasan NPC_HASAN,{
+ speech
+ l("Hey. I did nothing, I swear."),
+ l("Crasmande has been this way since I got here."),
+ l("Don't you have more important business to attend to, anyway?");
+ close;
+
+OnInit:
+ .distance = 4;
+ end;
+}
diff --git a/npc/012-1/ishi.txt b/npc/012-1/ishi.txt
new file mode 100644
index 00000000..a7322978
--- /dev/null
+++ b/npc/012-1/ishi.txt
@@ -0,0 +1,20 @@
+// Evol scripts.
+// Author:
+// Micksha
+// Description:
+// Ishi, former trade-in for monster points.
+// THIS IS A PLACEHOLDER!
+
+012-1,53,114,0 script Ishi NPC_ISHI,{
+ speech
+ l("Welcome. I am Ishi, from the Monster Hunting Association."),
+ l("I only follow Aidan around, so make your questions to him instead.");
+ next;
+ mesn;
+ mesc l("Ishi seems to be very pensative of something, it is better if we don't disturb her.");
+ close;
+
+OnInit:
+ .distance = 4;
+ end;
+}
diff --git a/npc/012-1/kaan.txt b/npc/012-1/kaan.txt
new file mode 100644
index 00000000..2ea7ad2a
--- /dev/null
+++ b/npc/012-1/kaan.txt
@@ -0,0 +1,19 @@
+// Evol scripts.
+// Author:
+// Micksha
+// Description:
+// Kaan, a guy good for nothing.
+// THIS IS A PLACEHOLDER!
+
+012-1,53,110,0 script Kaan NPC_KAAN,{
+ speech
+ l("Welcome to Candor!"),
+ l("Such a bright shine day! I would love to tell you stories about this town."),
+ l("But not now, I'm in the mood to stay under the sun for a while longer."),
+ l("I hope Tanisha is not slacking off. I would hate having to go check on her.");
+ close;
+
+OnInit:
+ .distance = 4;
+ end;
+}
diff --git a/npc/012-1/liana.txt b/npc/012-1/liana.txt
new file mode 100644
index 00000000..ac2ceb9b
--- /dev/null
+++ b/npc/012-1/liana.txt
@@ -0,0 +1,25 @@
+// Evol scripts.
+// Author:
+// Micksha
+// Description:
+// Liana.
+// THIS IS A PLACEHOLDER!
+
+012-1,65,117,0 script Liana NPC_LIANA,{
+ mesn;
+ mesc l("*sighs*");
+ next;
+ mesn;
+ mesq l("Ayasha went to explore the caves in Candor. They said there was a pretty tree there.");
+ next;
+ mesn;
+ mesq l("...But then she saw the spiders and got scared.");
+ next;
+ mesn;
+ mesq l("Now she is crying looking for me. The poor kid.");
+ close;
+
+OnInit:
+ .distance = 4;
+ end;
+}
diff --git a/npc/012-1/marine.txt b/npc/012-1/marine.txt
new file mode 100644
index 00000000..db261fd0
--- /dev/null
+++ b/npc/012-1/marine.txt
@@ -0,0 +1,17 @@
+// Moubootaur Legends scripts.
+// Authors:
+// Jesusalva
+// Description:
+// This script controls access to Ships, fixing variables.
+
+// Use NPC_LA_MARINE if needed
+012-1,64,133,0 script La Marine#C NPC_HIDDEN,0,0,{
+ end;
+
+OnTouch:
+ EnterTown("Candor");
+
+ warp "marine@"+LOCATION$, 42, 26;
+ closedialog;
+ close;
+}
diff --git a/npc/012-1/prawors.txt b/npc/012-1/prawors.txt
new file mode 100644
index 00000000..8acf73a1
--- /dev/null
+++ b/npc/012-1/prawors.txt
@@ -0,0 +1,18 @@
+// Evol scripts.
+// Author:
+// Micksha
+// Description:
+// Prawors, the captain in Candor.
+// THIS IS A PLACEHOLDER!
+
+012-1,53,122,0 script Prawors NPC_PRAWORS,{
+ speech
+ l("Arrhoy!"),
+ l("Saluc Golden Beard, the greediest of all ship captains, charges money for trips. so if you don't have money to pay him, you're stranded here FOREVER!"),
+ l("I hope you enjoy this town! Meanwhile, I wonder where I put my %s...", getitemlink(TreasureMap));
+ close;
+
+OnInit:
+ .distance = 4;
+ end;
+}
diff --git a/npc/012-1/tiki.txt b/npc/012-1/tiki.txt
new file mode 100644
index 00000000..5596c2ad
--- /dev/null
+++ b/npc/012-1/tiki.txt
@@ -0,0 +1,150 @@
+// The Mana World scripts.
+// Author:
+// Jesusalva
+// Description:
+// Tiki is the sandwich maker of Candor
+
+012-1,116,118,0 script Tiki NPC_TIKI,{
+ function tikiSubmit;
+ function tikiMenu;
+ function tikiShop;
+ mesn;
+ mesq l("Hey there, shady fella. Whaddaya want in Candor shores?");
+ next;
+ if (getq(General_Cooking) == 7)
+ tikiMenu();
+ if (getq(General_Cooking) == 8)
+ tikiSubmit();
+ tikiShop();
+ end;
+
+function tikiShop {
+ closeclientdialog;
+ shop .name$;
+ return;
+}
+
+function tikiMenu {
+ .@q2=getq2(General_Cooking);
+ select
+ l("Just wanted to purchase ingredients for cooking."),
+ l("Actually, I would like to learn some recipes."),
+ l("Actually I'm lost. Sorry.");
+ mes "";
+ // Explode script as requested
+ if (@menu == 3)
+ close;
+ // Return so shop can take over
+ if (@menu == 1)
+ return;
+ // @menu == 2, "I would like to learn some recipes"
+ mesn strcharinfo(0);
+ mesc l("You quickly explain the situation and request the %s sandwich.", getitemlink(.@q2 == VEGAN ? MananaSandwich : PioulegSandwich));
+ next;
+ mesn;
+ mesq l("Ahh, I see! Very shady indeed, almost as shady as you are!");
+ next;
+ mesn;
+ mesq l("I would like to help, but I can't. I'm busy, you see! Candor's Sandwich Making Contest is coming up, and I never lost a single instance of it!");
+ next;
+ select
+ l("Ah, too bad, I'll ask Yannika for more ideas, bye."),
+ l("How come you never lost before?"),
+ l("Perhaps I can help?");
+ mes "";
+ if (@menu == 1)
+ close;
+ if (@menu == 2) {
+ mesn;
+ mesq l("Because I'm so great! I am so good, that the other challengers doesn't even show up in fear of losing to me!");
+ next;
+ mesn;
+ mesq l("Anyway, perhaps you could help me, and I'll help you in exchange. Whaddaya think?");
+ next;
+ }
+ mesn;
+ mesq l("It is really easy - I need an idea. Bring me something NEW, revolutionary, to make a sandwich out of it. And I'll teach you the recipe!");
+ next;
+ setq1 General_Cooking, 8;
+ return;
+}
+
+function tikiSubmit {
+ mesc "[" + .name$ + "]";
+ mesc l("\"Bring me something NEW, revolutionary, to make a sandwich out of it.\"");
+ mes "##B" + l("Drag and drop an item from your inventory.") + "##b";
+
+ .@id = requestitem();
+
+ // If ID is invalid
+ if (.@id < 1)
+ close;
+
+ // If there's not enough items, it is bound, it cannot be traded/dropped/sold, etc.
+ // TODO: Prevent plates/bowls from being destroyed this way!!
+ if (countitem(.@id) < 1 || checkbound(.@id) || getiteminfo(.@id, ITEMINFO_TYPE) != IT_HEALING) {
+ mesc l("This item cannot be given.");
+ close;
+ }
+
+ mesc l("Are you sure you want to give %s to %s? Item will be lost!",
+ getitemlink(.@id), .name$), 1;
+ if (askyesno() == ASK_NO)
+ close;
+
+ mesn;
+ mesq l("%s puts %s on between two bread slices and try it.", .name$, getitemname(.@id));
+ next;
+ delitem .@id, 1;
+ if (.@id != MoubooSteak) {
+ mesn;
+ mesc l("%s starts shouting insults at you!", .name$);
+ next;
+ mesn;
+ mesq l("This is the worst. sandwich. ever! How do you dare to give me such thing?!");
+ next;
+ mesn;
+ mesq l("Go get me something else, go do it NOW!!");
+ mesc l("...Maybe if he put the cheese and lettuce as you usually do, it would have tasted great... *sigh*");
+ close;
+ }
+ setq1 General_Cooking, 9;
+ setq1 General_SmearedHands, 3;
+ RECIPES[(.@q2 == VEGAN ? CraftMananaSandwich : CraftPioulegSandwich)]=true;
+ mesn;
+ mesq l("Uh - Oh. This is... Actually good!");
+ next;
+ mesn;
+ mesq l("I'm sure I'll win this year's contest as well! Hah, just wait and see!");
+ next;
+ mesn;
+ mesq l("What? Still want that shady recipe? Meh, just cut a bread, throw in three lettuce leaves, two cheese, and put the special ingredient - A %s!", getitemname(.@q2 == VEGAN ? Manana : PiouLegs));
+ next;
+ mesq l("And vói-la, you have your sandwich done. Now go, I have a contest to win! Hahaha!");
+ close;
+}
+
+OnInit:
+ .distance = 4;
+ tradertype(NST_MARKET);
+
+ sellitem Bread, -1, 35;
+ sellitem PiouLegs, -1, 25;
+ sellitem Manana, -1, 20;
+ sellitem Cheese, -1, 12;
+ sellitem LettuceLeaf, -1, 10;
+ sellitem CommonCarp, -1, 8;
+ sellitem GrassCarp, -1, 7;
+ end;
+
+OnClock0001:
+ restoreshopitem Bread, 35;
+ restoreshopitem PiouLegs, 25;
+ restoreshopitem Manana, 20;
+ restoreshopitem Cheese, 12;
+ restoreshopitem LettuceLeaf, 10;
+ restoreshopitem CommonCarp, 8;
+ restoreshopitem GrassCarp, 7;
+ end;
+}
+
diff --git a/npc/012-1/vincent.txt b/npc/012-1/vincent.txt
new file mode 100644
index 00000000..e859d02e
--- /dev/null
+++ b/npc/012-1/vincent.txt
@@ -0,0 +1,18 @@
+// Evol scripts.
+// Author:
+// Micksha
+// Description:
+// Vincent, a child at the Candor beach.
+// THIS IS A PLACEHOLDER!
+
+012-1,121,126,0 script Vincent NPC_VINCENT,{
+ speech
+ l("Scorpions everywhere!"),
+ l("Why do they show up, anyway? I thought Scorpions prefered deserts, not beaches."),
+ l("I need to study more... But... I want to play! And I want to make figurines!");
+ close;
+
+OnInit:
+ .distance = 4;
+ end;
+}
diff --git a/npc/012-1/wateranimation.txt b/npc/012-1/wateranimation.txt
new file mode 100644
index 00000000..ad1b41e4
--- /dev/null
+++ b/npc/012-1/wateranimation.txt
@@ -0,0 +1,12 @@
+// The Mana World scripts.
+// Description:
+// Water animations, splash, fishes, etc...
+
+012-1,87,92,0 duplicate(#fish_river2) #candor_fish01 NPC_WATER_SPLASH
+012-1,86,85,0 duplicate(#fish_river2) #candor_fish02 NPC_WATER_SPLASH
+012-1,98,74,0 duplicate(#fish_river2) #candor_fish03 NPC_WATER_SPLASH
+012-1,94,76,0 duplicate(#fish_river2) #candor_fish04 NPC_WATER_SPLASH
+012-1,61,73,0 duplicate(#fish_river2) #candor_fish05 NPC_WATER_SPLASH
+012-1,65,74,0 duplicate(#fish_river2) #candor_fish06 NPC_WATER_SPLASH
+012-1,58,64,0 duplicate(#fish_river2) #candor_fish07 NPC_WATER_SPLASH
+
diff --git a/npc/012-1/zegas.txt b/npc/012-1/zegas.txt
new file mode 100644
index 00000000..29f72a5d
--- /dev/null
+++ b/npc/012-1/zegas.txt
@@ -0,0 +1,36 @@
+// Evol scripts.
+// Author:
+// Micksha
+// Description:
+// Zegas, the guy who want you to clean storage room.
+// THIS IS A PLACEHOLDER!
+
+012-1,48,105,0 script Zegas NPC_ZEGAS,{
+ mesn;
+ mesc l("*sighs*");
+ next;
+ mesn;
+ mesq l("I need someone to clean the storage room...");
+ next;
+ mesn;
+ mesq l("Hey, you! Don't you want to clean the storage room for me?");
+ next;
+ select
+ l("Yes, of course!"),
+ l("'course not!");
+ mes "";
+ mesn;
+ if (@menu == 2) {
+ mesq l("Nobody ever does...");
+ } else {
+ mesc l("Zegas hands you a broom.");
+ mesq l("Good, now start cleaning it!");
+ // TODO: Maybe we actually could have you cleaning the room boxes.
+ // Then you find a peculiar dusty utensil inside. Then, some quest begins.
+ }
+ close;
+
+OnInit:
+ .distance = 4;
+ end;
+}