summaryrefslogtreecommitdiff
path: root/npc/033-2
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2023-07-02 23:23:59 -0300
committerJesusaves <cpntb1@ymail.com>2023-07-02 23:23:59 -0300
commit1eae638873c560d985e92d265ceb534365c6ec41 (patch)
tree98de85bbee00e382392a620bc9e6edc48c987e27 /npc/033-2
parent48b42413b7e862d3a7cb63c57c76c661b6e82dbe (diff)
downloadserverdata-1eae638873c560d985e92d265ceb534365c6ec41.tar.gz
serverdata-1eae638873c560d985e92d265ceb534365c6ec41.tar.bz2
serverdata-1eae638873c560d985e92d265ceb534365c6ec41.tar.xz
serverdata-1eae638873c560d985e92d265ceb534365c6ec41.zip
Add a stat reset and fix a bug in party creation
Diffstat (limited to 'npc/033-2')
-rw-r--r--npc/033-2/_import.txt1
-rw-r--r--npc/033-2/lune.txt48
2 files changed, 49 insertions, 0 deletions
diff --git a/npc/033-2/_import.txt b/npc/033-2/_import.txt
index 7f4b3ac..7c11dc2 100644
--- a/npc/033-2/_import.txt
+++ b/npc/033-2/_import.txt
@@ -1,4 +1,5 @@
// Map 033-2: Building 1
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/033-2/_warps.txt",
+"npc/033-2/lune.txt",
"npc/033-2/magic.txt",
diff --git a/npc/033-2/lune.txt b/npc/033-2/lune.txt
new file mode 100644
index 0000000..6668960
--- /dev/null
+++ b/npc/033-2/lune.txt
@@ -0,0 +1,48 @@
+// TMW2 Script
+// Author:
+// Saulc
+// Vasily_Makarov (original from Evol)
+// Jesusalva
+// seeds
+// Description:
+// Status Reset
+
+033-2,26,24,0 script Lune NPC_PIOU_ALCHEMIST,{
+
+ speech S_LAST_NEXT,
+ l("I am %s, a piou alchemist specializing in reset and agility potions.", .name$);
+
+L_Menu:
+ select
+ l("Can you reset my stats please?"),
+ lg("I'm allergic to piou potions, goodbye.");
+ mes "";
+
+ switch (@menu)
+ {
+ case 1:
+ goto L_ResetStats;
+ default:
+ goto L_Quit;
+ break;
+ }
+ close;
+
+L_ResetStats:
+ mesn;
+ mesq l("Status point reset can't be undone. Do you really want this?");
+
+L_ConfirmReset:
+ ConfirmStatusReset();
+ goto L_Quit;
+
+L_Quit:
+ closeclientdialog;
+ goodbye;
+ close;
+
+OnInit:
+ .sex = G_OTHER;
+ .distance = 4;
+ end;
+}