summaryrefslogtreecommitdiff
path: root/world/map/npc/068-1
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2014-04-11 14:32:22 -0500
committerwushin <pasekei@gmail.com>2014-04-15 20:26:28 -0500
commit47f790759ea3ea56d31e000bc3f3b7f142ee802d (patch)
tree369dc32bddb447076c5cf9298f6624366aa03ce2 /world/map/npc/068-1
parent6e9543af67c5e027269bfc32e9c6f36111f3832a (diff)
downloadserverdata-47f790759ea3ea56d31e000bc3f3b7f142ee802d.tar.gz
serverdata-47f790759ea3ea56d31e000bc3f3b7f142ee802d.tar.bz2
serverdata-47f790759ea3ea56d31e000bc3f3b7f142ee802d.tar.xz
serverdata-47f790759ea3ea56d31e000bc3f3b7f142ee802d.zip
Npcs remaining script fixes
Npcs changed for travel Npcs changed for new maps Npcs changed for basic crypts
Diffstat (limited to 'world/map/npc/068-1')
-rw-r--r--world/map/npc/068-1/stat_reset.txt55
-rw-r--r--world/map/npc/068-1/tombstones.txt36
-rw-r--r--world/map/npc/068-1/vendors.txt0
3 files changed, 91 insertions, 0 deletions
diff --git a/world/map/npc/068-1/stat_reset.txt b/world/map/npc/068-1/stat_reset.txt
new file mode 100644
index 00000000..fe54f379
--- /dev/null
+++ b/world/map/npc/068-1/stat_reset.txt
@@ -0,0 +1,55 @@
+//
+
+068-1.gat,79,94,0|script|Malivox|103,
+{
+// if (ResetA_charstate == 1) goto L_Multiple;
+
+// set @cost, 10000000 / ($ResetA_uses + 1);
+
+ set @cost, BaseLevel * 100;
+
+ mes "[Rogue Mage]";
+ mes "\"I have come across a spell that will";
+ mes "reset your status points.";
+ mes "Normally this spell is expensive, but";
+ mes "due to an unusual constellation of the";
+ mes "stars I can cast it very cheaply!";
+ mes "For you it will cost only "+@cost+" gp.\"";
+ next;
+ menu
+ "Reset my stats",L_Next,
+ "Forget about it",L_Pass;
+
+L_Next:
+ if (Zeny<@cost) goto L_NoMoney;
+ goto L_Reset;
+
+// set $ResetA_uses, $ResetA_uses + 1;
+// set ResetA_charstate, 1;
+
+L_Reset:
+ set Zeny, Zeny-@cost;
+ resetstatus;
+
+ mes "[Rogue Mage]";
+ mes "\"There you are.";
+ mes "";
+ mes "Good as new!\"";
+ goto L_Close;
+
+L_Pass:
+ mes "[Rogue Mage]";
+ mes "\"Very well then, see you.\"";
+ goto L_Close;
+
+L_NoMoney:
+ mes "[Rogue Mage]";
+ mes "\"Oh dear, the price cannot be bargained.";
+ mes "";
+ mes "Perhaps you can borrow from a friend?\"";
+ goto L_Close;
+
+L_Close:
+ set @cost, 0;
+ close;
+}
diff --git a/world/map/npc/068-1/tombstones.txt b/world/map/npc/068-1/tombstones.txt
new file mode 100644
index 00000000..424e0317
--- /dev/null
+++ b/world/map/npc/068-1/tombstones.txt
@@ -0,0 +1,36 @@
+// Tombstones in Noble memorial
+
+068-1.gat,91,48,0|script|Tombstone#1|400,{
+
+ mes "~ wushin ~";
+ mes "Tonori swallowed him whole.";
+ close;
+}
+
+068-1.gat,92,48,0|script|Tombstone#2|400,{
+
+ mes "~ Nard ~";
+ mes "Crushed by a loom.";
+ close;
+}
+
+068-1.gat,93,48,0|script|Tombstone#3|400,{
+
+ mes "~ tux9th ~";
+ mes "Eaten by bugs.";
+ close;
+}
+
+068-1.gat,94,48,0|script|Tombstone#4|400,{
+
+ mes "~ o11c ~";
+ mes "He asked for it. So they gave it to him.";
+ close;
+}
+
+068-1.gat,95,48,0|script|Tombstone#5|400,{
+
+ mes "~ " + strcharinfo(0) + " ~";
+ mes "The tombstone is blank and the grave freshly dug.";
+ close;
+}
diff --git a/world/map/npc/068-1/vendors.txt b/world/map/npc/068-1/vendors.txt
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/world/map/npc/068-1/vendors.txt