summaryrefslogtreecommitdiff
path: root/npc/013-2_Magic_house
diff options
context:
space:
mode:
Diffstat (limited to 'npc/013-2_Magic_house')
-rw-r--r--npc/013-2_Magic_house/_import.txt6
-rw-r--r--npc/013-2_Magic_house/_mobs.txt7
-rw-r--r--npc/013-2_Magic_house/_warps.txt5
-rw-r--r--npc/013-2_Magic_house/apprentice.txt58
-rw-r--r--npc/013-2_Magic_house/notes.txt102
-rw-r--r--npc/013-2_Magic_house/wizard.txt25
6 files changed, 203 insertions, 0 deletions
diff --git a/npc/013-2_Magic_house/_import.txt b/npc/013-2_Magic_house/_import.txt
new file mode 100644
index 00000000..a1303967
--- /dev/null
+++ b/npc/013-2_Magic_house/_import.txt
@@ -0,0 +1,6 @@
+map: 013-2.gat
+npc: npc/013-2_Magic_house/wizard.txt
+npc: npc/013-2_Magic_house/notes.txt
+npc: npc/013-2_Magic_house/apprentice.txt
+npc: npc/013-2_Magic_house/_warps.txt
+npc: npc/013-2_Magic_house/_mobs.txt
diff --git a/npc/013-2_Magic_house/_mobs.txt b/npc/013-2_Magic_house/_mobs.txt
new file mode 100644
index 00000000..4215f188
--- /dev/null
+++ b/npc/013-2_Magic_house/_mobs.txt
@@ -0,0 +1,7 @@
+// 013-2 Magic house mobs
+
+
+
+013-2.gat,0,0,0 script Mob013-2 -1,{
+ end;
+}
diff --git a/npc/013-2_Magic_house/_warps.txt b/npc/013-2_Magic_house/_warps.txt
new file mode 100644
index 00000000..56df14d3
--- /dev/null
+++ b/npc/013-2_Magic_house/_warps.txt
@@ -0,0 +1,5 @@
+// 013-2 Magic house warps
+
+013-2.gat,63,43 warp toOutside -1,-1,013-1.gat,42,91
+013-2.gat,67,36 warp toRoom -1,-1,013-2.gat,21,41
+013-2.gat,21,42 warp toRoom -1,-1,013-2.gat,67,37
diff --git a/npc/013-2_Magic_house/apprentice.txt b/npc/013-2_Magic_house/apprentice.txt
new file mode 100644
index 00000000..b27d271d
--- /dev/null
+++ b/npc/013-2_Magic_house/apprentice.txt
@@ -0,0 +1,58 @@
+new_36-1.gat,25,37,0 script Fabius 115,{
+ 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!",yes,
+ "No thanks.",no,
+ "No way, I thought it was for free!",not_free;
+yes:
+ mes "\"So what would ya like, then?\"";
+ next;
+ menu
+ "A beer",beer,
+ "A milk",milk;
+no:
+ mes "\"Suit yourself.\"";
+ next;
+ goto at_end;
+not_free:
+ mes "\"Oh, you stupid git! ... But hey, let me tell ya something...\"";
+ next;
+ mes "\"There's notes flying around in the room up there. Did ya try reading some?\"";
+ close;
+beer:
+ mes "\"That'll be 175 GP.\"";
+ next;
+ menu "Here you are",beer_yes,
+ "No thanks",beer_no;
+milk:
+ mes "\"That'll be 300 GP.\"";
+ next;
+ menu "Here you are",milk_yes,
+ "No thanks",milk_no;
+beer_yes:
+ if (zeny < 175) goto low_money;
+ getitem 539, 1;
+ set zeny, zeny - 175;
+ goto at_end;
+beer_no:
+ mes "\"No beer, no civilization!\"";
+ next;
+ goto at_end;
+milk_yes:
+ if (zeny < 300) goto low_money;
+ getitem 527, 1;
+ set zeny, zeny - 300;
+ goto at_end;
+milk_no:
+ mes "\"Oh alright. Milk is a deadly poison anyway...\"";
+ next;
+ goto at_end;
+low_money:
+ mes "\"Aw, you don't have enough gold on you!\"";
+ next;
+at_end:
+ 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;
+}
+
diff --git a/npc/013-2_Magic_house/notes.txt b/npc/013-2_Magic_house/notes.txt
new file mode 100644
index 00000000..dbcb1209
--- /dev/null
+++ b/npc/013-2_Magic_house/notes.txt
@@ -0,0 +1,102 @@
+new_36-1.gat,23,32,0 script Motto 127,{
+ mes "Mid pleasures and palaces though we may roam,";
+ mes "Be it ever so humble, there's no place like home.";
+ close;
+}
+
+new_36-1.gat,30,32,0 script Note 127,{
+ mes "Please do not open.";
+ close;
+}
+
+new_36-1.gat,38,20,0 script Saying 127,{
+ mes "The early bird catcheth the worm.";
+ close;
+}
+
+new_36-1.gat,27,21,0 script Mirror 127,{
+ mes "You say: \"Mirror mirror on the wall, who has the nicest haircut of them all?\"";
+ next;
+ mes "\"Oh fair adventurer, your hair indeed looks nice. But wouldn't it look much better, after I have rolled my dice?\"";
+ next;
+ mes "Your looks suddenly change...";
+ next;
+ set @style,rand(6);
+ set @color,rand(9);
+ setlook 1,@style+1;
+ setlook 6,@color;
+ close;
+}
+
+// Warp to north-eastern woods
+new_36-1.gat,25,23,0 script Spell 127,{
+ mes "You read: \"I see trees of green, red roses too. I see them bloom for me and you. And I think to myself: \'What a wonderful world\'\"";
+ next;
+ mes "You think: \"Huh?\"";
+ next;
+ mes "The spell fulfills its inevitable purpose...";
+ next;
+ warp "new_28-1.gat",128,28;
+ close;
+}
+
+// Warp to Indian in south-eastern desert
+new_36-1.gat,27,24,0 script Spell 127,{
+ mes "You read: \"A red-coloured fellow smoking his pipe - down in the desert - that's what I like!\"";
+ next;
+ mes "You feel the floor disappear below your feet...";
+ next;
+ warp "new_24-1.gat",33,93;
+ close;
+}
+
+// Warp to snow land
+new_36-1.gat,25,27,0 script Spell 127,{
+ mes "You read: \"Snow-white flakes and eminent frost - I'll go there, whatever the cost!\"";
+ next;
+ mes "You feel yourself getting lighter...";
+ next;
+ warp "new_11-1.gat",84,68;
+ close;
+}
+
+// Warp to Dimond
+new_36-1.gat,27,27,0 script Spell 127,{
+ mes "You read: \"People and cosiness, lively and fun - that's where I've gone!\"";
+ next;
+ mes "The world around you slowly dissolves...";
+ next;
+ warp "new_23-1.gat",34,42;
+ close;
+}
+
+// Warp to mines level 2
+new_36-1.gat,26,28,0 script Spell 127,{
+ mes "You read: \"Darkness and legs, eight of them each - I'd rather not go there, but now it's too late...\"";
+ next;
+ mes "For a moment everything turns black...";
+ next;
+ warp "new_5-1.gat",91,41;
+ close;
+}
+
+// Death
+new_36-1.gat,21,29,0 script Spell 127,{
+ mes "You read: \"Heart stops pumping, breath begone - life is stopping, death has come!\"";
+ next;
+ mes "You're losing control of your body... everything turns black... while slipping to the floor, you hear a faraway scream... suddenly, you see THE LIGHT!";
+ next;
+ gmcommand strcharinfo(0)+":@die ";
+ close;
+}
+
+// Naked
+new_36-1.gat,28,29,0 script Spell 127,{
+ mes "You read: \"Cotton, steel, leather and wool - have I ever seen a greater fool?\"";
+ next;
+ mes "You suddenly feel naked; you ARE naked!";
+ next;
+ nude;
+ close;
+}
+
diff --git a/npc/013-2_Magic_house/wizard.txt b/npc/013-2_Magic_house/wizard.txt
new file mode 100644
index 00000000..ec7deb36
--- /dev/null
+++ b/npc/013-2_Magic_house/wizard.txt
@@ -0,0 +1,25 @@
+new_36-1.gat,66,39,0 script Old Wizard 116,{
+ mes "\"Welcome, dear wanderer! Come into my humble home. Take a rest, eat and drink.\"";
+ next;
+ menu
+ "Thanks, that's very kind of you!",thanks,
+ "Oh, shut up!",shutup;
+shutup:
+ mes "\"That attitude isn't going to get you very far, my dear.\"";
+ close;
+thanks:
+ mes "\"Behind this door, my apprentice will serve you.\"";
+ next;
+ menu
+ "Alright.",ok,
+ "Your apprentice? ... No thanks.",nothx;
+nothx:
+ mes "\"Goodbye, then!\"";
+ close;
+ok:
+ mes "\"Beware the flying notes though, some of them are really dangerous. I haven't been able to persuade them to get back into their book. And avoid the mirror, it's been acting strange lately.\"";
+ next;
+ mes "\"Oh, and please don't take my apprentice too seriously. He still has a lot to learn.\"";
+ close;
+}
+