summaryrefslogtreecommitdiff
path: root/npc/009-2-3
diff options
context:
space:
mode:
Diffstat (limited to 'npc/009-2-3')
-rw-r--r--npc/009-2-3/_import.txt6
-rw-r--r--npc/009-2-3/_warps.txt5
-rw-r--r--npc/009-2-3/barbara.txt17
-rw-r--r--npc/009-2-3/chef.txt91
-rw-r--r--npc/009-2-3/reid.txt22
5 files changed, 141 insertions, 0 deletions
diff --git a/npc/009-2-3/_import.txt b/npc/009-2-3/_import.txt
new file mode 100644
index 00000000..3fa1bf43
--- /dev/null
+++ b/npc/009-2-3/_import.txt
@@ -0,0 +1,6 @@
+// Map 009-2-3: Reid's Inn
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+"npc/009-2-3/_warps.txt",
+"npc/009-2-3/barbara.txt",
+"npc/009-2-3/chef.txt",
+"npc/009-2-3/reid.txt",
diff --git a/npc/009-2-3/_warps.txt b/npc/009-2-3/_warps.txt
new file mode 100644
index 00000000..a61ea11b
--- /dev/null
+++ b/npc/009-2-3/_warps.txt
@@ -0,0 +1,5 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 009-2-3: Reid's Inn warps
+009-2-3,42,40,0 warp #009-2-3_42_40 1,0,009-1,34,169
+009-2-3,56,28,0 warp #009-2-3_56_28 0,0,009-2-5,55,31
+009-2-3,56,42,0 warp #009-2-3_56_42 0,0,009-2-4,56,39
diff --git a/npc/009-2-3/barbara.txt b/npc/009-2-3/barbara.txt
new file mode 100644
index 00000000..b555b472
--- /dev/null
+++ b/npc/009-2-3/barbara.txt
@@ -0,0 +1,17 @@
+// The Mana World scripts.
+// Author:
+// Micksha
+// Description:
+// ???
+// THIS IS A PLACEHOLDER!
+
+009-2-3,41,30,0 script Barbara Grey NPC_UNDEAD_RECPTION,{
+ speech
+ l("Don't be shy, darling."),
+ l("Come on in and have a nice long... long slumber...");
+ close;
+
+OnInit:
+ .distance = 4;
+ end;
+}
diff --git a/npc/009-2-3/chef.txt b/npc/009-2-3/chef.txt
new file mode 100644
index 00000000..6b5ca4c0
--- /dev/null
+++ b/npc/009-2-3/chef.txt
@@ -0,0 +1,91 @@
+// The Mana World scripts.
+// Author:
+// Jesusalva
+// Description:
+// The nameless chef of Reid's Inn
+
+009-2-3,27,41,0 script Chef#Reid NPC_REIDCHEF,{
+ function cookingIntro;
+ function cookingDeal;
+ .@q=getq(General_Cooking);
+ mesn;
+ mesq l("You're in the way. Get moving!");
+ // TODO: Shop option
+ if (.@q == 5)
+ cookingIntro();
+ if (.@q == 9)
+ cookingDeal();
+ close;
+
+function cookingIntro {
+ .@q2=getq2(General_Cooking);
+ next;
+ select
+ l("Okay, okay..."),
+ l("I've heard you were a great chef and wanted to learn a recipe.");
+ mes "";
+ if (@menu == 1)
+ return;
+ mesn;
+ mesq l("Do I look like charity to you? I'm undead, you know?");
+ next;
+ mesn;
+ mesq l("Actually, the food quality here is horrible. I'm glad I'm undead or I would not eat here.");
+ next;
+ mesn;
+ mesq l("It is all \"fancy\" stuff, I don't even know if that could be of any nourishment for the living, and tastes like rotten. Well, figures. Undead town.");
+ next;
+ mesn;
+ mesq l("What about the following deal: You bring me some tasty food, and I give you some tasty recipe from before I became undead?");
+ next;
+ select
+ l("Deal"),
+ l("No Deal");
+ mes "";
+ if (@menu == 2) {
+ mesn;
+ mesq l("Smart choice, still-living person.");
+ return;
+ }
+ setq1 General_Cooking, 6;
+ mesn;
+ mesq l("Hah, you'll regret it. Bring me %d %s, before Golbenez finds out about our silly agreement.", .amount, getitemlink(.@q2 == VEGAN ? MananaSandwich : PioulegSandwich));
+ return;
+}
+
+function cookingDeal {
+ .@q2=getq2(General_Cooking);
+ .@item=(.@q2 == VEGAN ? MananaSandwich : PioulegSandwich);
+ .@recp=(.@q2 == CARNIVOROUS ? CraftMoubooStew : CraftSquirrelStew);
+ .@reit=(.@q2 == CARNIVOROUS ? MoubooStew : SquirrelStew);
+ next;
+ select
+ l("Okay, okay..."),
+ l("I wanted to give you the %d sandwiches you asked.", .amount);
+ mes "";
+ if (countitem(.@item) < .amount) {
+ mesn;
+ mesq l("Wha- Do you think I'm stupid?");
+ next;
+ mesn;
+ mesq l("You better get out of here, before I turn you into stew!");
+ return;
+ }
+ delitem .@item, .amount;
+ setq1 General_Cooking, 10;
+ RECIPES[.@recp]=true;
+ mesn;
+ mesq l("Eh, not bad. So, here is the %s recipe, from when I was living. It was a blast.", getitemlink(.@reit));
+ next;
+ mesn;
+ mesq l("Now begone and stop disrupting my work!");
+ return;
+}
+
+OnInit:
+ .distance = 4;
+ .amount = 10;
+ end;
+
+}
+
diff --git a/npc/009-2-3/reid.txt b/npc/009-2-3/reid.txt
new file mode 100644
index 00000000..4445759b
--- /dev/null
+++ b/npc/009-2-3/reid.txt
@@ -0,0 +1,22 @@
+// The Mana World scripts.
+// Author:
+// Micksha
+// Description:
+// Reid is Hamond's wife. She secretly had an affair with Savaric.
+// THIS IS A PLACEHOLDER!
+
+009-2-3,42,30,0 script Reid NPC_REID,{
+ mesc l("You see a dead woman lying on the floor and something that appears to be her ghost floating above her dead body.");
+ next;
+ mesn l("Ghost");
+ mesq l("He- I - What - Oh -");
+ mesc l("The womans ghost seems to be confused.");
+ next;
+ mesn;
+ mesq l("Oh, I'm sorry. Welcome to Reid's Inn. My name is Reid, I am the innkeeper of this wonderful place of leisure. Please enjoy your visit here!");
+ close;
+
+OnInit:
+ .distance = 4;
+ end;
+}