summaryrefslogtreecommitdiff
path: root/npc/008-2-7
diff options
context:
space:
mode:
Diffstat (limited to 'npc/008-2-7')
-rw-r--r--npc/008-2-7/_import.txt8
-rw-r--r--npc/008-2-7/_savepoints.txt15
-rw-r--r--npc/008-2-7/_warps.txt3
-rw-r--r--npc/008-2-7/mapflags.txt1
-rw-r--r--npc/008-2-7/shop.txt35
-rw-r--r--npc/008-2-7/simon.txt38
-rw-r--r--npc/008-2-7/wyara.txt29
7 files changed, 129 insertions, 0 deletions
diff --git a/npc/008-2-7/_import.txt b/npc/008-2-7/_import.txt
new file mode 100644
index 00000000..d3391d83
--- /dev/null
+++ b/npc/008-2-7/_import.txt
@@ -0,0 +1,8 @@
+// Map 008-2-7: Hurnscald Apothecary
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+"npc/008-2-7/_savepoints.txt",
+"npc/008-2-7/_warps.txt",
+"npc/008-2-7/mapflags.txt",
+"npc/008-2-7/shop.txt",
+"npc/008-2-7/simon.txt",
+"npc/008-2-7/wyara.txt",
diff --git a/npc/008-2-7/_savepoints.txt b/npc/008-2-7/_savepoints.txt
new file mode 100644
index 00000000..ab8ddbb4
--- /dev/null
+++ b/npc/008-2-7/_savepoints.txt
@@ -0,0 +1,15 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 008-2-7: Hurnscald Apothecary saves
+008-2-7,25,27,0 script #save_008-2-7_25_27 NPC_SAVE_POINT,0,0,{
+ savepointparticle .map$, .x, .y, NO_INN;
+ close;
+
+OnInit:
+ .distance = 2;
+ .sex = G_OTHER;
+ end;
+
+OnTouch:
+ bedTouch();
+ end;
+}
diff --git a/npc/008-2-7/_warps.txt b/npc/008-2-7/_warps.txt
new file mode 100644
index 00000000..ffd0f758
--- /dev/null
+++ b/npc/008-2-7/_warps.txt
@@ -0,0 +1,3 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 008-2-7: Hurnscald Apothecary warps
+008-2-7,36,30,0 warp #008-2-7_36_30 0,0,008-1,272,103
diff --git a/npc/008-2-7/mapflags.txt b/npc/008-2-7/mapflags.txt
new file mode 100644
index 00000000..caeb89e9
--- /dev/null
+++ b/npc/008-2-7/mapflags.txt
@@ -0,0 +1 @@
+008-2-7 mapflag town
diff --git a/npc/008-2-7/shop.txt b/npc/008-2-7/shop.txt
new file mode 100644
index 00000000..3771978a
--- /dev/null
+++ b/npc/008-2-7/shop.txt
@@ -0,0 +1,35 @@
+// Evol scripts.
+// Authors:
+// 4144
+// Micksha
+// Reid
+// toams
+// Description:
+// Simons Potion Shop.
+
+008-2-7,30,26,0 trader #Invisible008-2-7 NPC_HIDDEN,{
+
+OnInit:
+ tradertype(NST_MARKET);
+
+ sellitem SmallHealing, -1, 10;
+ sellitem MediumHealing, -1, 5;
+ sellitem SmallMana, -1, 10;
+ sellitem MediumMana, -1, 5;
+ sellitem ConcPotion, -1, 3;
+ sellitem IronPotion, -1, 3;
+
+ .distance = 4;
+ end;
+
+OnClock0000:
+OnClock0800:
+OnClock1600:
+ restoreshopitem SmallHealing, 10;
+ restoreshopitem MediumHealing, 5;
+ restoreshopitem SmallMana, 10;
+ restoreshopitem MediumMana, 5;
+ restoreshopitem ConcPotion, 3;
+ restoreshopitem IronPotion, 3;
+ end;
+}
diff --git a/npc/008-2-7/simon.txt b/npc/008-2-7/simon.txt
new file mode 100644
index 00000000..8562199a
--- /dev/null
+++ b/npc/008-2-7/simon.txt
@@ -0,0 +1,38 @@
+// The Mana World scripts.
+// Author:
+// Micksha
+// Description:
+// Simon, Wyaras Apprentice.
+// THIS IS A PLACEHOLDER!
+
+008-2-7,30,26,0 script Simon NPC_SIMON,{
+ speech
+ l("Hi, I am Simon."),
+ l("I am Wyaras apprentice, helping her with selling her potions."),
+ l("I would prefer becoming a real Sorcerer one time. *sighs*");
+
+ switch (select(l("Potions? That sounds useful. What do you have?"),
+ l("Thats your problem, really."),
+ l("Becoming a Sorcerer? I want that too!")))
+ {
+ case 1:
+ closeclientdialog;
+ shop "#Invisible008-2-7";
+ close;
+ case 2:
+ speech S_FIRST_BLANK_LINE,
+ l("Leave me alone.");
+ close;
+ case 3:
+ speech S_FIRST_BLANK_LINE,
+ l("It needs so much training, but Wyara only leaves me here, standing and selling something instead of teaching me.");
+ close;
+ }
+
+
+ close;
+
+OnInit:
+ .distance = 4;
+ end;
+}
diff --git a/npc/008-2-7/wyara.txt b/npc/008-2-7/wyara.txt
new file mode 100644
index 00000000..7bac6efc
--- /dev/null
+++ b/npc/008-2-7/wyara.txt
@@ -0,0 +1,29 @@
+// The Mana World scripts.
+// Author:
+// Micksha
+// Description:
+// Wyara the witch.
+// TODO: Buy or make plushroom potions
+
+008-2-7,27,28,0 script Wyara NPC_DARK_DRUID,{
+ speech
+ l("What? Is there someone?"),
+ l("Please, leave me alone. I have to pixel- erm, brew potions."),
+ l("I will sell some when you return a bit later."),
+ l("Unless you are interested in a status reset?");
+ next;
+ select
+ l("I'm fine, thanks."),
+ l("I actually could use a status reset!");
+ mes "";
+ switch (@menu) {
+ case 2:
+ ConfirmStatusReset();
+ break;
+ }
+ close;
+
+OnInit:
+ .distance = 4;
+ end;
+}