mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
Legion is behind the door
This commit is contained in:
@@ -791,13 +791,3 @@
|
||||
|
||||
/mob/living/simple_animal/hostile/spawner/lavaland/legion
|
||||
mob_type = /mob/living/simple_animal/hostile/asteroid/hivelord/legion
|
||||
|
||||
/mob/living/simple_animal/hostile/spawner/lavaland/New()
|
||||
..()
|
||||
var/legion = FALSE
|
||||
for(var/mob/living/simple_animal/hostile/megafauna/legion/L in mob_list)
|
||||
legion = TRUE
|
||||
break
|
||||
if(!legion)
|
||||
new /mob/living/simple_animal/hostile/megafauna/legion(src.loc)
|
||||
qdel(src)
|
||||
@@ -9,6 +9,21 @@
|
||||
bound_height = 96
|
||||
burn_state = LAVA_PROOF
|
||||
luminosity = 1
|
||||
var/boss = FALSE
|
||||
|
||||
/obj/structure/lavaland_door/attack_hand(mob/user)
|
||||
if(boss)
|
||||
return
|
||||
for(var/mob/living/simple_animal/hostile/megafauna/legion/L in mob_list)
|
||||
return
|
||||
var/safety = alert(user, "Are you sure you want to do this? You and everyone else on lavaland will likely die.", "Knock on the door?", "Proceed", "Abort")
|
||||
if(safety == "Abort" || !in_range(src, user) || !src || boss || user.incapacitated())
|
||||
return
|
||||
boss = TRUE
|
||||
visible_message("<span class='danger'>Legion emerges from the Necropolis!</span>")
|
||||
message_admins("[key_name_admin(user)] has summoned Legion.")
|
||||
log_game("[key_name(user)] summoned Legion.")
|
||||
new /mob/living/simple_animal/hostile/megafauna/legion(get_step(src.loc, SOUTH))
|
||||
|
||||
/obj/structure/lavaland_door/singularity_pull()
|
||||
return 0
|
||||
@@ -36,8 +51,6 @@
|
||||
/obj/machinery/lavaland_controller/Destroy()
|
||||
return QDEL_HINT_LETMELIVE
|
||||
|
||||
|
||||
|
||||
//lavaland_surface_seed_vault.dmm
|
||||
//Seed Vault
|
||||
|
||||
|
||||
Reference in New Issue
Block a user