summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-05-08 17:55:43 -0300
committerJesusaves <cpntb1@ymail.com>2022-05-08 17:55:43 -0300
commit5d08e13ca37feae95a3beddf8dc29041323ee115 (patch)
tree25db5a29a98f79bfb43950a8ce2458640b284d79 /npc
parentd1f83e2fee1913e6472a0b8f5f82a4d6afb0c788 (diff)
downloadserverdata-5d08e13ca37feae95a3beddf8dc29041323ee115.tar.gz
serverdata-5d08e13ca37feae95a3beddf8dc29041323ee115.tar.bz2
serverdata-5d08e13ca37feae95a3beddf8dc29041323ee115.tar.xz
serverdata-5d08e13ca37feae95a3beddf8dc29041323ee115.zip
Add monsters to 032-2 and unlock the Teleporter
Diffstat (limited to 'npc')
-rw-r--r--npc/017-3/doctor.txt7
-rw-r--r--npc/032-2/_import.txt1
-rw-r--r--npc/032-2/_mobs.txt10
-rw-r--r--npc/items/lofteleporter.txt4
4 files changed, 20 insertions, 2 deletions
diff --git a/npc/017-3/doctor.txt b/npc/017-3/doctor.txt
index f49940b52..c605e3d11 100644
--- a/npc/017-3/doctor.txt
+++ b/npc/017-3/doctor.txt
@@ -13,6 +13,7 @@
if (BaseLevel < 30) goto L_Weak;
if (.@q == 13) goto L_Poison;
if (.@q == 14) goto L_TimeFlask;
+ if (.@q == 15) mesc l("You don't look so well, have you already used the %s to defeat the Soul Eater?", getitemlink(TimeFlask)), 1;
if (.@q == 1) goto L_Check;
if (.@q == 2 && BaseLevel >= 40) goto L_Miler;
if (.@q >= 2) goto L_Tea;
@@ -210,6 +211,11 @@ L_TimeFlask:
mesq l("You better find a way to travel back in time soon!");
close;
}
+ if (BaseLevel < 60) {
+ mesn;
+ mesq l("It'll be too dangerous if you're not at least level %d. But I'm sure you can grind the required level in no time; Don't let your body down! Exercise!", 60);
+ close;
+ }
mesn;
mesq l("This %s will do. I mean, it won't be a comfortable trip, but you are in an emergency situation.", getitemlink(TimeFlask));
/* OVERRIDE */
@@ -246,6 +252,7 @@ L_TimeFlask:
mes "";
mesn;
mesq l("Good luck, %s. You'll need it.", strcharinfo(0));
+ setq LoFQuest_EPISODE, 15;
close;
OnInit:
diff --git a/npc/032-2/_import.txt b/npc/032-2/_import.txt
index 789ca6cb3..6d9809f32 100644
--- a/npc/032-2/_import.txt
+++ b/npc/032-2/_import.txt
@@ -1,3 +1,4 @@
// Map 032-2: Tree Maze
// This file is generated automatically. All manually added changes will be removed when running the Converter.
+"npc/032-2/_mobs.txt",
"npc/032-2/_warps.txt",
diff --git a/npc/032-2/_mobs.txt b/npc/032-2/_mobs.txt
new file mode 100644
index 000000000..517dfe12d
--- /dev/null
+++ b/npc/032-2/_mobs.txt
@@ -0,0 +1,10 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 032-2: Tree Maze mobs
+032-2,0,0,0,0 monster Red Scorpion 1072,60,35000,120000
+032-2,0,0,0,0 monster Black Scorpion 1074,50,35000,120000
+032-2,0,0,0,0 monster Mountain Snake 1123,50,35000,120000
+032-2,0,0,0,0 monster Fire Skull 1193,20,35000,120000
+032-2,0,0,0,0 monster Green Slime Mother 1236,15,120000,120000
+032-2,0,0,0,0 monster Archant 1026,15,120000,120000
+032-2,0,0,0,0 monster Terranite 1167,5,120000,120000
+032-2,0,0,0,0 monster Wicked Mushroom 1176,15,120000,120000
diff --git a/npc/items/lofteleporter.txt b/npc/items/lofteleporter.txt
index 533d793a9..ce0fa8105 100644
--- a/npc/items/lofteleporter.txt
+++ b/npc/items/lofteleporter.txt
@@ -57,7 +57,7 @@ OnUse:
rif(TELEPORTERS & TP_HALIN, l("Halinarzo (@@m)", 120-.@x)),
rif(TELEPORTERS & TP_LILIT, l("Lilit (@@m)", 150-.@x)),
rif(GSET_SOULMENHIR_MANUAL, l("Save Point (@@m)", 30-.@x)),
- rif(false, l("200 years ago, The Great Fire (%dm)", 360-(.@x*2)));
+ rif(getq(LoFQuest_EPISODE) >= 15, l("200 years ago, The Great Fire (%dm)", 360-(.@x*2)));
if (@menu == 1)
close;
@@ -107,7 +107,7 @@ OnUse:
@timer_navio_running=0;
break;
case 8:
- atcommand("@block "+strcharinfo(0));
+ //atcommand("@block "+strcharinfo(0));
setq2 LoFQuest_EPISODE, 0;
warp "032-1", 23, 25;
TELEPORTER_TIME=loftel_time(360, .@x*2);