summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-03-11 23:47:27 -0300
committerJesusaves <cpntb1@ymail.com>2021-03-11 23:47:27 -0300
commitbf47074f65689d21e68de4679f4665e7adf35ba0 (patch)
tree45249ac90b356cacf9747bc3c9e34cbf086a1687
parentc1dc0f8b3064039301582db031f481f9815c6326 (diff)
downloadserverdata-bf47074f65689d21e68de4679f4665e7adf35ba0.tar.gz
serverdata-bf47074f65689d21e68de4679f4665e7adf35ba0.tar.bz2
serverdata-bf47074f65689d21e68de4679f4665e7adf35ba0.tar.xz
serverdata-bf47074f65689d21e68de4679f4665e7adf35ba0.zip
Sketch Fires Of Steam final boss fight mechanics :>
-rw-r--r--npc/029-9/_import.txt1
-rw-r--r--npc/029-9/boss.txt48
2 files changed, 49 insertions, 0 deletions
diff --git a/npc/029-9/_import.txt b/npc/029-9/_import.txt
index 56bea8092..a2a33c3cc 100644
--- a/npc/029-9/_import.txt
+++ b/npc/029-9/_import.txt
@@ -1,3 +1,4 @@
// Map 029-9: Woodland mining camp
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/029-9/_warps.txt",
+"npc/029-9/boss.txt",
diff --git a/npc/029-9/boss.txt b/npc/029-9/boss.txt
new file mode 100644
index 000000000..ad98c7c6d
--- /dev/null
+++ b/npc/029-9/boss.txt
@@ -0,0 +1,48 @@
+// TMW2 scripts.
+// Author:
+// Jesusalva
+// Description:
+// Fires of Steam: The Death of Andrei Sakar
+
+//////////////////////////////////////////
+// Boss Room
+
+029-9,96,22,0 script Book#FoS NPC_NO_SPRITE,{
+ if (!is_staff()) end;
+ if ($@FIRESOFSTEAM_BOSS) end;
+ select
+ l("Ignore this book"),
+ l("Begin classic mode"),
+ l("Begin endless mode");
+ mes "";
+ $@FIRESOFSTEAM_BOSS=@menu;
+ mapwarp("029-9", "029-9", 96, 41);
+ maptimer2("029-9", 200, "Book#FoS::OnMFStun");
+ initnpctimer;
+ sleep(200);
+ // PC no longer attached
+ // TODO: Spawn Isbamuth
+ // TODO: Dialog - You are too late! I did it!! Muahahaha!
+ // The power of the Moubootaur will be mine... And you no longer can stop me!
+ // ...
+ end;
+
+OnMFStun:
+ sc_start(SC_STUN, 60000, 1, 10000, SCFLAG_NOAVOID|SCFLAG_FIXEDTICK);
+ end;
+
+// TODO: Heartbeat. I think there's no real need to lock the door?
+OnTimer5000:
+ initnpctimer;
+ end;
+
+OnInit:
+ .distance = 5;
+ .sex = G_OTHER;
+ end;
+}
+
+/* *****************************************
+0 = Off; 1 = Moubootaur leaves; 2 = Moubootaur stays
+***************************************** */
+