summaryrefslogtreecommitdiff
path: root/world/map/npc/051-3
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/051-3')
-rw-r--r--world/map/npc/051-3/_import.txt12
-rw-r--r--world/map/npc/051-3/_mobs.txt19
-rw-r--r--world/map/npc/051-3/_nodes.txt4
-rw-r--r--world/map/npc/051-3/_warps.txt3
-rw-r--r--world/map/npc/051-3/ambush.txt182
-rw-r--r--world/map/npc/051-3/jailslimes.txt31
-rw-r--r--world/map/npc/051-3/janitor.txt11
-rw-r--r--world/map/npc/051-3/locks.txt69
-rw-r--r--world/map/npc/051-3/mapflags.txt2
-rw-r--r--world/map/npc/051-3/reinforcements.txt85
10 files changed, 0 insertions, 418 deletions
diff --git a/world/map/npc/051-3/_import.txt b/world/map/npc/051-3/_import.txt
deleted file mode 100644
index f4cae902..00000000
--- a/world/map/npc/051-3/_import.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-// Map 051-3: Illia Bandit Cave
-// This file is generated automatically. All manually added changes will be removed when running the Converter.
-map: 051-3
-npc: npc/051-3/_mobs.txt
-npc: npc/051-3/_nodes.txt
-npc: npc/051-3/_warps.txt
-npc: npc/051-3/ambush.txt
-npc: npc/051-3/jailslimes.txt
-npc: npc/051-3/janitor.txt
-npc: npc/051-3/locks.txt
-npc: npc/051-3/mapflags.txt
-npc: npc/051-3/reinforcements.txt
diff --git a/world/map/npc/051-3/_mobs.txt b/world/map/npc/051-3/_mobs.txt
deleted file mode 100644
index 3b10016f..00000000
--- a/world/map/npc/051-3/_mobs.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-// This file is generated automatically. All manually added changes will be removed when running the Converter.
-// Illia Bandit Cave mobs
-
-051-3,31,52,21,13|monster|RedSlime|1008,8,100000ms,30000ms
-051-3,31,52,19,14|monster|CaveMaggot|1056,3,100000ms,30000ms
-051-3,56,102,3,2|monster|Spider|1012,1,100000ms,250000ms
-051-3,61,102,2,2|monster|Spider|1012,1,100000ms,250000ms
-051-3,65,102,2,2|monster|Spider|1012,1,100000ms,250000ms
-051-3,71,109,4,2|monster|BlackScorpion|1009,1,100000ms,250000ms
-051-3,59,56,12,36|monster|Bandit|1064,47,100000ms,10000ms
-051-3,59,44,13,13|monster|BanditLord|1065,4,100000ms,20000ms
-051-3,60,69,18,9|monster|BanditLord|1065,4,100000ms,20000ms
-051-3,63,94,0,0|monster|SleepingBandit|1099,1,100000ms,60000ms
-051-3,53,93,0,0|monster|SleepingBandit|1099,1,100000ms,60000ms
-051-3,48,71,0,0|monster|SleepingBandit|1099,1,100000ms,60000ms
-051-3,38,30,17,12|monster|Bandit|1064,12,100000ms,10000ms
-051-3,39,33,11,8|monster|BanditLord|1065,2,100000ms,20000ms
-051-3,80,101,10,12|monster|CopperSlime|1098,7,100000ms,60000ms
-051-3,60,94,18,5|monster|CopperSlime|1098,7,100000ms,60000ms
diff --git a/world/map/npc/051-3/_nodes.txt b/world/map/npc/051-3/_nodes.txt
deleted file mode 100644
index 75194dbf..00000000
--- a/world/map/npc/051-3/_nodes.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-// This file is generated automatically. All manually added changes will be removed when running the Converter.
-// Illia Bandit Cave nodes
-
-// (no nodes)
diff --git a/world/map/npc/051-3/_warps.txt b/world/map/npc/051-3/_warps.txt
deleted file mode 100644
index 37e8dd14..00000000
--- a/world/map/npc/051-3/_warps.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-// This file is generated automatically. All manually added changes will be removed when running the Converter.
-// Illia Bandit Cave warps
-
diff --git a/world/map/npc/051-3/ambush.txt b/world/map/npc/051-3/ambush.txt
deleted file mode 100644
index 7d659710..00000000
--- a/world/map/npc/051-3/ambush.txt
+++ /dev/null
@@ -1,182 +0,0 @@
-//-----------------------------------------------------------------------------
-// Bandit cave
-// $@illia_progress = 2
-//
-// Level progress:
-// 0: Did not start the task yet
-// 1: Players are ambushed
-// 2: Players escaped their jails
-// 3: Reinforcements come when they approach the exit of the cave
-// 4: Key of the door found, to leave the cave
-//-----------------------------------------------------------------------------
-
-051-3,40,52,0|script|#WayBlockedTrigger|32767,2,2
-{
- message strcharinfo(0), "There is no way I can pass here. Let's find another way.";
- end;
-}
-
-051-3,31,70,0|script|#AmbushReadyTrigger|32767,2,2
-{
- set @step, 2;
- if ($@illia_progress < @step) goto L_ShouldNotBeHere;
- if (strcharinfo(0) == $@ILLIA_HERO$ && $@illia_level_2_progress == 0) goto L_PrepareAmbush;
- end;
-
-L_PrepareAmbush:
- disablenpc "Sneaky Bandit";
- disablenpc "Another Sneaky Bandit";
- end;
-
-L_ShouldNotBeHere:
- heal -Hp, 0;
- end;
-
-}
-
-051-3,31,93,0|script|#BanditAmbushTrigger|32767,3,3
-{
- set @step, 2;
- if ($@illia_progress < @step) goto L_ShouldNotBeHere;
- if ($@illia_level_2_progress == 0 && strcharinfo(0) == $@ILLIA_HERO$) goto L_MakeAmbush;
- end;
-
-L_MakeAmbush:
- set $@illia_level_2_progress, 1;
- donpcevent "#BndtTl::OnCommandAmbush";
- end;
-
-L_ShouldNotBeHere:
- heal -Hp, 0;
- message strcharinfo(0), "Your throat got cut by a sneaky bandit!";
- end;
-}
-
-051-3,1,1,0|script|#BndtTl|32767
-{
- end;
-
-OnCommandAmbush:
- initnpctimer;
- end;
-
-OnTimer1000:
- enablenpc "Sneaky Bandit";
- donpcevent "Sneaky Bandit::OnCommandTalk";
- enablenpc "Another Sneaky Bandit";
- donpcevent "Another Sneaky Bandit::OnCommandTalk";
- end;
-
-OnTimer9000:
- areawarp "051-3", 22, 45, 42, 97, "051-3", 101, 13;
- end;
-
-OnTimer11000:
- areatimer 0, "051-3", 22, 12, 102, 97, 500, "#BndtTl::OnOuch";
- areatimer 0, "051-3", 22, 12, 102, 97, 3000, "#BndtTl::OnA";
- stopnpctimer;
- setnpctimer 0;
- end;
-
-OnOuch:
- message strcharinfo(0), "Ouch my head...";
- end;
-
-OnA:
- if (strcharinfo(0) == $@ILLIA_HERO$)
- goto L_CaptureHero;
- if (strcharinfo(0) == $@ILLIA_HELPER1$)
- goto L_CaptureHelper1;
- if (strcharinfo(0) == $@ILLIA_HELPER2$)
- goto L_CaptureHelper2;
- if (strcharinfo(0) == $@ILLIA_HELPER3$)
- goto L_CaptureHelper3;
- // kill that player otherwise, since not part of the quest.
- heal -Hp, 0;
- end;
-
-L_CaptureHero:
- // Simulate the capture of the player.
- // Unequip all equipments
- nude;
- // put the health at 40%.
- heal MaxHp, 0;
- heal ((MaxHp/100) * -60), 0;
- warp "051-3", 69, 109;
- message strcharinfo(0), "Meh... Where am I?";
- end;
-
-L_CaptureHelper1:
- // Simulate the capture of the player.
- // Unequip all equipments
- nude;
- // put the health at 40%.
- heal MaxHp, 0;
- heal ((MaxHp/100) * -60), 0;
- warp "051-3", 64, 102;
- message strcharinfo(0), "Meh... Where am I?";
- end;
-
-L_CaptureHelper2:
- // Simulate the capture of the player.
- // Unequip all equipments
- nude;
- // put the health at 40%.
- heal MaxHp, 0;
- heal ((MaxHp/100) * -60), 0;
- warp "051-3", 62, 102;
- message strcharinfo(0), "Meh... Where am I?";
- end;
-
-L_CaptureHelper3:
- // Simulate the capture of the player.
- // Unequip all equipments
- nude;
- // put the health at 40%.
- heal MaxHp, 0;
- heal ((MaxHp/100) * -60), 0;
- warp "051-3", 58, 102;
- message strcharinfo(0), "Meh... Where am I?";
- end;
-
-}
-
-051-3,29,94,0|script|Sneaky Bandit|32767
-{
- end;
-
-OnCommandTalk:
- initnpctimer;
- end;
-
-OnTimer100:
- npctalk strnpcinfo(0), "Did you think you could sneak in our den without a problem?";
- end;
-
-OnTimer3600:
- npctalk strnpcinfo(0), "Drop your weapons, and come with us!";
- stopnpctimer;
- setnpctimer 0;
- end;
-
-}
-
-051-3,33,95,0|script|Another Sneaky Bandit|32767
-{
- end;
-
-OnCommandTalk:
- initnpctimer;
- end;
-
-OnTimer1500:
- npctalk strnpcinfo(0), "W00t! More slaves!";
- end;
-
-OnTimer5500:
- npctalk strnpcinfo(0), "Ahaha, that was easy! Ok, knock them out!";
- stopnpctimer;
- setnpctimer 0;
- end;
-
-}
diff --git a/world/map/npc/051-3/jailslimes.txt b/world/map/npc/051-3/jailslimes.txt
deleted file mode 100644
index 8544fb1a..00000000
--- a/world/map/npc/051-3/jailslimes.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-// Separate spawns for the copper slimes in the 4 jails
-051-3,57,104,1,1|monster|CopperSlime|1098,1,60000ms,30000ms,IlliaCMobs051-3::On1098
-051-3,62,104,1,1|monster|CopperSlime|1098,1,60000ms,30000ms,IlliaCMobs051-3::On1098
-051-3,63,104,1,1|monster|CopperSlime|1098,1,60000ms,30000ms,IlliaCMobs051-3::On1098
-051-3,70,111,1,1|monster|CopperSlime|1098,1,60000ms,30000ms,IlliaCMobs051-3::On1098
-
-051-3,0,0,0|script|IlliaCMobs051-3|32767
-{
- end;
-
-On1098:
- if (rand(100) < 80 && $@illia_progress == 2 && ($@illia_level_2_progress == 1 || $@illia_level_2_progress == 2))
- goto L_LockPicks;
- goto L_End;
-
-L_LockPicks:
- if (countitem ("LockPicks") == 0)
- goto L_GiveLockPicks;
- goto L_End;
-
-L_GiveLockPicks:
- message strcharinfo(0), "Hey nice, someone left behind these rusty lock picks.";
- getitem "LockPicks", 1;
- goto L_End;
-
-L_End:
- set @mobID, 1098;
- callfunc "MobPoints";
- end;
-
-}
diff --git a/world/map/npc/051-3/janitor.txt b/world/map/npc/051-3/janitor.txt
deleted file mode 100644
index edef5856..00000000
--- a/world/map/npc/051-3/janitor.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-// Bandit cave janitor
-051-3,1,1,0|script|#IlliaJanitor2|32767
-{
-end;
-
-OnCommandClean:
- // Kill all remaining bandits spawned during the "reinforcements" event
- killmonster "051-1", "Door::OnB";
- end;
-
-}
diff --git a/world/map/npc/051-3/locks.txt b/world/map/npc/051-3/locks.txt
deleted file mode 100644
index 4fdde75d..00000000
--- a/world/map/npc/051-3/locks.txt
+++ /dev/null
@@ -1,69 +0,0 @@
-051-3,69,107,0|script|Jail Lock 1|400
-{
- if (isin("051-3", 69, 108, 73, 111)) goto L_Do_Lock_Picking;
- end;
-
-L_Do_Lock_Picking:
- callfunc "LockPicking";
- if (@lock_picking_success > 0)
- goto L_OpenDoor;
- close;
-
-L_OpenDoor:
- set @lock_picking_success, 0;
- warp "051-3", 69, 104;
- message strcharinfo(0), "Ok, let's get out of here now.";
- set $@illia_level_2_progress, 2;
- close;
-}
-
-051-3,64,100,0|script|Jail Lock 2|400
-{
- if (isin("051-3", 64, 101, 66, 104)) goto L_Do_Lock_Picking;
- end;
-
-L_Do_Lock_Picking:
- callfunc "LockPicking";
- if (@lock_picking_success > 0)
- goto L_OpenDoor;
- close;
-
-L_OpenDoor:
- set @lock_picking_success, 0;
- warp "051-3", 64, 97;
- close;
-}
-
-051-3,62,100,0|script|Jail Lock 3|400
-{
- if (isin("051-3", 61, 101, 62, 104)) goto L_Do_Lock_Picking;
- end;
-
-L_Do_Lock_Picking:
- callfunc "LockPicking";
- if (@lock_picking_success > 0)
- goto L_OpenDoor;
- close;
-
-L_OpenDoor:
- set @lock_picking_success, 0;
- warp "051-3", 62, 97;
- close;
-}
-
-051-3,58,100,0|script|Jail Lock 4|400
-{
- if (isin("051-3", 57, 101, 58, 104)) goto L_Do_Lock_Picking;
- end;
-
-L_Do_Lock_Picking:
- callfunc "LockPicking";
- if (@lock_picking_success > 0)
- goto L_OpenDoor;
- close;
-
-L_OpenDoor:
- set @lock_picking_success, 0;
- warp "051-3", 58, 97;
- close;
-}
diff --git a/world/map/npc/051-3/mapflags.txt b/world/map/npc/051-3/mapflags.txt
deleted file mode 100644
index 3615db4b..00000000
--- a/world/map/npc/051-3/mapflags.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-051-3|mapflag|nosave|007-2,36,23
-051-3|mapflag|resave|007-2,36,23
diff --git a/world/map/npc/051-3/reinforcements.txt b/world/map/npc/051-3/reinforcements.txt
deleted file mode 100644
index 5870671c..00000000
--- a/world/map/npc/051-3/reinforcements.txt
+++ /dev/null
@@ -1,85 +0,0 @@
-051-3,47,30,0|script|#BndtRnfrcmtsTrigger|32767,2,3
-{
- set @step, 2;
- if ($@illia_progress < @step) goto L_ShouldNotBeHere;
- if ($@illia_level_2_progress == 2) goto L_CallReinforcements;
- end;
-
-L_CallReinforcements:
- donpcevent "Door::OnRnfrcmts";
- end;
-
-L_ShouldNotBeHere:
- heal -Hp, 0;
- end;
-}
-
-051-3,37,24,0|script|Door|400
-{
- set @step, 2;
- if ($@illia_progress < @step) goto L_ShouldNotBeHere;
- mes "Try open the door?";
- menu
- "Yes", L_TryOpen,
- "Do nothing", L_Close;
-
-L_ShouldNotBeHere:
- heal -Hp, 0;
- end;
-
-L_TryOpen:
- if ($@illia_level_2_progress < 4)
- goto L_KeyNotFound;
- goto L_Warp;
-
-L_KeyNotFound:
- mes "You do not see a way to open this door.";
- close;
-
-L_Warp:
- mes "You place the key in the door and open the lock.";
- warp "051-1", 118, 55;
- close;
-
-OnRnfrcmts:
- set $@illia_level_2_progress, 3;
- // Spawn 20 bandits
- areamonster "051-3", 29, 25, 48, 39, "", 1064, 18, "Door::OnB";
- // Spawn 4 bandit lords
- areamonster "051-3", 29, 25, 48, 39, "", 1065, 3, "Door::OnB";
- initnpctimer;
- mapannounce "051-3", "Bandit Lords : Do not let them escape!!" , 0;
- areatimer 0, "051-3", 25, 20, 80, 85, 10, "Door::OnDRnfrcmts";
- end;
-
-OnB:
- end;
-
-OnDRnfrcmts:
- message strcharinfo(0), "Oh no, reinforcements! We must kill them all!";
- end;
-
-OnTimer2000:
- setnpctimer 0;
- if ($@illia_level_2_progress != 3 || $@illia_progress != 2)
- end;
- if (mobcount("051-3", "Door::OnB") < 0)
- goto L_OpenDoor;
- end;
-
-L_OpenDoor:
- set $@illia_level_2_progress, 4;
- set $@illia_progress, 3;
- callfunc "UpdateIlliaProgress";
- set $@illia_max_time, $@illia_max_time + 300;
- areatimer 0, "051-3", 25, 20, 80, 85, 10, "Door::OnKeyFound";
- stopnpctimer;
- setnpctimer 0;
- end;
-
-OnKeyFound:
- message strcharinfo(0), "One of the defeated bandit lords had a door key attached to his belt.";
- end;
-L_Close:
- close;
-}