summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--maps/re/026-1.mcachebin342 -> 348 bytes
-rw-r--r--npc/025-3/_mobs.txt2
-rw-r--r--npc/026-1/_config.txt17
-rw-r--r--npc/026-1/ctrl.c14
4 files changed, 28 insertions, 5 deletions
diff --git a/maps/re/026-1.mcache b/maps/re/026-1.mcache
index 92db2fed2..225e18b92 100644
--- a/maps/re/026-1.mcache
+++ b/maps/re/026-1.mcache
Binary files differ
diff --git a/npc/025-3/_mobs.txt b/npc/025-3/_mobs.txt
index 3e2dd8c36..a7e8cf9d3 100644
--- a/npc/025-3/_mobs.txt
+++ b/npc/025-3/_mobs.txt
@@ -1,6 +1,6 @@
// This file is generated automatically. All manually added changes will be removed when running the Converter.
// Map 025-3: The Impregnable Fortress (Outside) mobs
-025-3,99,157,75,17 monster Moubi 1038,16,90000,30000
+025-3,99,157,75,17 monster Moubi 1038,16,120000,30000
025-3,105,117,10,21 monster Angry Bat 1194,24,500,500,Impregnable#0F::OnMoubiKill
025-3,98,141,71,16 monster Bloody Mouboo 1119,6,500,500
025-3,99,117,75,18 monster Crafty 1018,1,500,500,Impregnable#0F::OnMoubiKill
diff --git a/npc/026-1/_config.txt b/npc/026-1/_config.txt
index 937f8ea49..bad3748a4 100644
--- a/npc/026-1/_config.txt
+++ b/npc/026-1/_config.txt
@@ -38,21 +38,30 @@ OnInit:
.distance=2;
}
-026-1,30,28,0 script #026-1_30_28 NPC_SWITCH_ONLINE,{
+026-1,62,28,0 script #026-1_62_28 NPC_SWITCH_ONLINE,{
if (getnpcclass() == NPC_SWITCH_OFFLINE)
end;
doevent "#026-1_25_32::OnDisable";
- setnpcdisplay "#026-1_30_28", NPC_SWITCH_OFFLINE;
+ setnpcdisplay "#026-1_62_28", NPC_SWITCH_OFFLINE;
end;
OnInit:
.distance=2;
}
-026-1,62,28,0 script #026-1_62_28 NPC_SWITCH_ONLINE,{
+026-1,30,28,0 script #026-1_30_28 NPC_CHEST,{
+ TreasureBox();
+ specialeffect(.dir == 0 ? 24 : 25, AREA, getnpcid()); // closed ? opening : closing
+ close;
+OnInit:
+ .distance=2;
+ end;
+}
+
+026-1,26,28,0 script #026-1_26_28 NPC_SWITCH_ONLINE,{
if (getnpcclass() == NPC_SWITCH_OFFLINE)
end;
doevent "#026-1_58_76::OnDisable";
- setnpcdisplay "#026-1_62_28", NPC_SWITCH_OFFLINE;
+ setnpcdisplay "#026-1_26_28", NPC_SWITCH_OFFLINE;
end;
OnInit:
.distance=2;
diff --git a/npc/026-1/ctrl.c b/npc/026-1/ctrl.c
index b02293665..6137441f7 100644
--- a/npc/026-1/ctrl.c
+++ b/npc/026-1/ctrl.c
@@ -30,5 +30,19 @@ L_Warp:
dispbottom l("Coming Soon, in Moubootaur Legends!");
end;
+// Disarm & reset everything
+OnMinute15:
+OnMinute30:
+OnMinute45:
+OnMinute00:
+ delcells "026-1_58_76"; setcells "026-1", 58, 76, 62, 76, 1, "026-1_58_76";
+ delcells "026-1_25_32"; setcells "026-1", 25, 32, 25, 32, 1, "026-1_25_32";
+ delcells "026-1_30_32"; setcells "026-1", 30, 32, 30, 32, 1, "026-1_30_32";
+ setnpcdisplay "#026-1_24_28", NPC_SWITCH_ONLINE;
+ setnpcdisplay "#026-1_26_28", NPC_SWITCH_ONLINE;
+ setnpcdisplay "#026-1_62_28", NPC_SWITCH_ONLINE;
+ end;
}
+// Other misc controllers
+