summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-08-17 11:01:09 -0600
committerJared Adams <jaxad0127@gmail.com>2010-08-17 11:01:09 -0600
commit0c2b12ac5e7e351163ae7fb4448204505a394d49 (patch)
tree0536f770714a0ee7ad21945cd4784131ab543b58
parentc4430fb3b870ac2def588efe638abba1dbcdf3a9 (diff)
parent6f895bf0370c3d80ef2a2847ec233b5a0d1006b8 (diff)
downloadserverdata-0c2b12ac5e7e351163ae7fb4448204505a394d49.tar.gz
serverdata-0c2b12ac5e7e351163ae7fb4448204505a394d49.tar.bz2
serverdata-0c2b12ac5e7e351163ae7fb4448204505a394d49.tar.xz
serverdata-0c2b12ac5e7e351163ae7fb4448204505a394d49.zip
Merge remote branch 'wombat/master'
-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;
+}