summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorWombat <hpwombat@yahoo.com>2010-08-08 23:31:03 -0400
committerWombat <hpwombat@yahoo.com>2010-08-16 18:52:35 -0400
commit6f895bf0370c3d80ef2a2847ec233b5a0d1006b8 (patch)
tree3cf2f215c7b4113b89dc3849ff7118da4a256a7c /npc
parent0e7e38230be5206dcdc1c778958df0be05619963 (diff)
downloadserverdata-6f895bf0370c3d80ef2a2847ec233b5a0d1006b8.tar.gz
serverdata-6f895bf0370c3d80ef2a2847ec233b5a0d1006b8.tar.bz2
serverdata-6f895bf0370c3d80ef2a2847ec233b5a0d1006b8.tar.xz
serverdata-6f895bf0370c3d80ef2a2847ec233b5a0d1006b8.zip
Graveyard Inn Sink NPC
zeny sink for graveyard inn modified: npc/027-1_Graveyard/_import.txt new file: npc/027-1_Graveyard/golbenez.txt
Diffstat (limited to 'npc')
-rw-r--r--npc/027-1_Graveyard/_import.txt1
-rw-r--r--npc/027-1_Graveyard/golbenez.txt86
2 files changed, 87 insertions, 0 deletions
diff --git a/npc/027-1_Graveyard/_import.txt b/npc/027-1_Graveyard/_import.txt
index 6923d517..4c8b65ab 100644
--- a/npc/027-1_Graveyard/_import.txt
+++ b/npc/027-1_Graveyard/_import.txt
@@ -1,4 +1,5 @@
map: 027-1.gat
npc: npc/027-1_Graveyard/_mobs.txt
npc: npc/027-1_Graveyard/_warps.txt
+npc: npc/027-1_Graveyard/golbenez.txt
npc: npc/027-1_Graveyard/graves.txt
diff --git a/npc/027-1_Graveyard/golbenez.txt b/npc/027-1_Graveyard/golbenez.txt
new file mode 100644
index 00000000..2b87f83d
--- /dev/null
+++ b/npc/027-1_Graveyard/golbenez.txt
@@ -0,0 +1,86 @@
+//
+
+027-1.gat,68,89,0 script #Golbenez#_M 204,{
+
+ if ($Golbenez_Inn_Cost >= 500000000) goto Golbenez_Inn_Enough;
+ mes "[Voice]";
+ mes "\"Mortal! I am Golbenez! I have broken through the barriers of space and time!\"";
+ next;
+ mes "\"For eons I've traveled through existence, tapping powers the living shall never touch. I now offer my powers for your enjoyment. In your world, places of leisure bring a desirable break from the threats of life. I shall create such a place. This place will be free from the threats found on your world as well as mine.\"";
+ next;
+ mes "\"It is difficult to create portals from my realm to yours. It is also difficult to create dimensions isolated from the threats that may seek to do you harm. For this reason I demand a hefty fee. For 500 million of your gold pieces I will create this place. This need not come just from you, but it must be delivered from the people of your world to me.\"";
+ next;
+ mes "\"So far, you have brought me " + Golbenez_Inn_Cost + " gold pieces. The people of your world have brought me " + $Golbenez_Inn_Cost + " gold pieces. How much would you like to give?\"";
+ menu
+ "I'd like to give a little.", Golbenez_Little,
+ "I'd like to give thousands.", Golbenez_Thousands,
+ "I'd like to give tens of thousands.", Golbenez_10s_of_Thousands,
+ "I'd like to give hundreds of thousands.", Golbenez_100s_of_Thousands,
+ "I'd like to give millions.", Golbenez_Millions,
+ "Nevermind.", Golbenez_Nevermind;
+
+Golbenez_Little:
+ input @Give_Zeny;
+
+ if (@Give_Zeny == 0) close;
+ if (zeny < @Give_Zeny) goto Golbenez_Inn_NotEnoughZeny;
+ set Golbenez_Inn_Cost, Golbenez_Inn_Cost + @Give_Zeny;
+ set $Golbenez_Inn_Cost, $Golbenez_Inn_Cost + @Give_Zeny;
+ set zeny, zeny - @Give_Zeny;
+ close;
+
+Golbenez_Thousands:
+ input @Give_Zeny_Thousands;
+
+ if (@Give_Zeny_Thousands == 0) close;
+ if (zeny < @Give_Zeny_Thousands * 1000) goto Golbenez_Inn_NotEnoughZeny;
+ set Golbenez_Inn_Cost, Golbenez_Inn_Cost + @Give_Zeny_Thousands * 1000;
+ set $Golbenez_Inn_Cost, $Golbenez_Inn_Cost + @Give_Zeny_Thousands * 1000;
+ set zeny, zeny - @Give_Zeny_Thousands * 1000;
+ close;
+
+Golbenez_10s_of_Thousands:
+ input @Give_Zeny_10s_of_Thousands;
+
+ if (@Give_Zeny_10s_of_Thousands == 0) close;
+ if (zeny < @Give_Zeny_10s_of_Thousands * 10000) goto Golbenez_Inn_NotEnoughZeny;
+ set Golbenez_Inn_Cost, Golbenez_Inn_Cost + @Give_Zeny_10s_of_Thousands * 10000;
+ set $Golbenez_Inn_Cost, $Golbenez_Inn_Cost + @Give_Zeny_10s_of_Thousands * 10000;
+ set zeny, zeny - @Give_Zeny_10s_of_Thousands * 10000;
+ close;
+
+Golbenez_100s_of_Thousands:
+ input @Give_Zeny_100s_of_Thousands;
+
+ if (@Give_Zeny_100s_of_Thousands == 0) close;
+ if (zeny < @Give_Zeny_100s_of_Thousands * 100000) goto Golbenez_Inn_NotEnoughZeny;
+ set Golbenez_Inn_Cost, Golbenez_Inn_Cost + @Give_Zeny_100s_of_Thousands * 100000;
+ set $Golbenez_Inn_Cost, $Golbenez_Inn_Cost + @Give_Zeny_100s_of_Thousands * 100000;
+ set zeny, zeny - @Give_Zeny_100s_of_Thousands * 100000;
+ close;
+
+Golbenez_Millions:
+ input @Give_Zeny_Millions;
+
+ if (@Give_Zeny_Millions == 0) close;
+ if (zeny < @Give_Zeny_Millions * 1000000) goto Golbenez_Inn_NotEnoughZeny;
+ set Golbenez_Inn_Cost, Golbenez_Inn_Cost + @Give_Zeny_Millions * 1000000;
+ set $Golbenez_Inn_Cost, $Golbenez_Inn_Cost + @Give_Zeny_Millions * 1000000;
+ set zeny, zeny - @Give_Zeny_Millions * 1000000;
+ close;
+
+Golbenez_Inn_NotEnoughZeny:
+ mes "[Voice]";
+ mes "\"You don't have as much as you say you do. Come back when you can give the gold pieces you say you can.\"";
+ close;
+
+Golbenez_Nevermind:
+ mes "[Voice]";
+ mes "\"That's too bad.\"";
+ close;
+
+Golbenez_Inn_Enough:
+ mes "[Voice]";
+ mes "\"I now have enough to create the place of leisure. Once I have anchored it to this world, you will know.\"";
+ close;
+}