summaryrefslogtreecommitdiff
path: root/npc/013-2/apprentice.txt
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2011-06-01 15:27:26 -0600
committerJared Adams <jaxad0127@gmail.com>2011-06-01 15:37:09 -0600
commit3d0823d5c9b56be5c3892c0a4e717f961cb93e69 (patch)
tree6545b29dbd08d81b57f9cb1f9f83df57ead489c2 /npc/013-2/apprentice.txt
parentc6e448824925eec18edffffc7342399b73b6feb4 (diff)
downloadserverdata-3d0823d5c9b56be5c3892c0a4e717f961cb93e69.tar.gz
serverdata-3d0823d5c9b56be5c3892c0a4e717f961cb93e69.tar.bz2
serverdata-3d0823d5c9b56be5c3892c0a4e717f961cb93e69.tar.xz
serverdata-3d0823d5c9b56be5c3892c0a4e717f961cb93e69.zip
Change the Converter to use different folder names
And update everything to use it.
Diffstat (limited to 'npc/013-2/apprentice.txt')
-rw-r--r--npc/013-2/apprentice.txt93
1 files changed, 93 insertions, 0 deletions
diff --git a/npc/013-2/apprentice.txt b/npc/013-2/apprentice.txt
new file mode 100644
index 00000000..830b5171
--- /dev/null
+++ b/npc/013-2/apprentice.txt
@@ -0,0 +1,93 @@
+013-2.gat,25,37,0 script Fabius 115,{
+ mes "[Fabius]";
+ mes "\"Hey! Wanna have a drink or something? High quality, low cost. A poor fella like me needs a bit of extra cash, ye know.\"";
+ next;
+ menu
+ "Yes please!", L_Yes,
+ "No thanks.", L_No,
+ "No way, I thought it was for free!", L_Not_Free;
+
+L_Yes:
+ mes "[Fabius]";
+ mes "\"So what would ya like, then?\"";
+ next;
+ menu
+ "A beer", L_Beer,
+ "A milk", L_Milk,
+ "Nevermind", -;
+
+L_No:
+ mes "[Fabius]";
+ mes "\"Suit yourself.\"";
+ next;
+ goto L_Finish;
+
+L_Not_Free:
+ mes "[Fabius]";
+ mes "\"Oh, you stupid git! ... But hey, let me tell ya something...\"";
+ next;
+ mes "[Fabius]";
+ mes "\"There's notes flying around in the room up there. Did ya try reading some?\"";
+ close;
+
+L_Beer:
+ mes "[Fabius]";
+ mes "\"That'll be 175 GP.\"";
+ next;
+ menu
+ "Here you are", L_Beer_yes,
+ "No thanks", L_Beer_no;
+
+L_Beer_yes:
+ if (zeny < 175) goto L_Low_money;
+ getinventorylist;
+ if (@inventorylist_count == 100 && countitem("Beer") == 0) goto L_TooMany;
+
+ getitem "Beer", 1;
+ set zeny, zeny - 175;
+ goto L_Finish;
+
+L_Beer_no:
+ mes "[Fabius]";
+ mes "\"No beer, no civilization!\"";
+ next;
+ goto L_Finish;
+
+L_Milk:
+ mes "[Fabius]";
+ mes "\"That'll be 300 GP.\"";
+ next;
+ menu
+ "Here you are", L_Milk_yes,
+ "No thanks", L_Milk_no;
+
+L_Milk_yes:
+ if (zeny < 300) goto L_Low_money;
+ getinventorylist;
+ if (@inventorylist_count == 100 && countitem("Milk") == 0) goto L_TooMany;
+ getitem "Milk", 1;
+ set zeny, zeny - 300;
+ goto L_Finish;
+
+L_Milk_no:
+ mes "[Fabius]";
+ mes "\"Oh alright. Milk is a deadly poison anyway...\"";
+ next;
+ goto L_Finish;
+
+L_Low_money:
+ mes "[Fabius]";
+ mes "\"Aw, you don't have enough gold on you!\"";
+ next;
+ goto L_Finish;
+
+L_Finish:
+ mes "[Fabius]";
+ mes "\"By the way, have you seen those flying notes and the mirror in the room next door? They're WAY COOL! Try reading some of the notes!\"";
+ close;
+
+L_TooMany:
+ mes "[Fabius]";
+ mes "\"You don't have room for it.\"";
+ close;
+}