summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/032-5/episode.txt22
1 files changed, 20 insertions, 2 deletions
diff --git a/npc/032-5/episode.txt b/npc/032-5/episode.txt
index c7636fee7..89ec02a67 100644
--- a/npc/032-5/episode.txt
+++ b/npc/032-5/episode.txt
@@ -77,8 +77,8 @@ OnTimer30000:
unitkill(.platy);
unitkill(.razor);
sleep(25);
- .platy=monster("032-5", 39, 55, 1, strmobinfo(1, RedQueen), RedQueen);
- .razor=monster("032-5", 37, 57, 1, "The Black Razor", RedFollower);
+ .platy=monster("032-5", 39, 55, strmobinfo(1, RedQueen), RedQueen, 1, "#EpShow::OnPlaty");
+ .razor=monster("032-5", 37, 57, "The Black Razor", RedFollower, 1, "#EpShow::OnRazor");
// The Black Razor needs tweaks
setunitdata(.razor, UDT_MAXHP, 24000);
@@ -89,9 +89,27 @@ OnTimer30000:
setunitdata(.razor, UDT_SPEED, 480);
// The Red Queen doesn't, but we need spawns and victory conditions
+ areamonster("032-5", 21, 35, 58, 77, strmobinfo(1, RedFollower), RedFollower, 12, "#EpShow::OnMini");
+ areamonster("032-5", 21, 35, 58, 77, strmobinfo(1, RedFollowerF), RedFollowerF, 12, "#EpShow::OnMini");
stopnpctimer;
.ctrl = false;
end;
+OnMini:
+ if (.razor)
+ unittalk(.razor, "My fallen comrade, you'll be avenged!");
+ end;
+
+OnRazor:
+ if (.platy)
+ unittalk(.platy, "Razor, no!");
+ .razor = 0;
+ end;
+
+OnPlaty:
+ if (.razor)
+ unittalk(.razor, "My queen!");
+ .platy = 0;
+ end;
}