mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Cult's anchor bloodstone's location is now announced in the command alert (#25316)
* yeah * get_area_name not get_area_by_name okay * delay * Update bloodcult_buildings.dm * y
This commit is contained in:
committed by
jknpj
parent
931270b77c
commit
1f6e2a5f5e
@@ -39,6 +39,7 @@ var/veil_thickness = CULT_PROLOGUE
|
||||
//CULT_EPILOGUE The cult succeeded. The station is no longer reachable from space or through teleportation, and is now part of hell. Nar-Sie hunts the survivors.
|
||||
//CULT_MENDED The cult failed (bloodstones all destroyed or rift closed). cult magic permanently disabled, living cultists progressively die by themselves.
|
||||
|
||||
var/global/global_anchor_bloodstone // Keeps track of what stone becomes the anchor stone
|
||||
|
||||
///////////////////////////////FACTION CODE - START/////////////////////////////////
|
||||
|
||||
@@ -204,8 +205,10 @@ var/veil_thickness = CULT_PROLOGUE
|
||||
var/datum/objective/bloodcult_bloodbath/O = locate() in objective_holder.objectives
|
||||
if (O)
|
||||
veil_thickness = CULT_ACT_IV
|
||||
command_alert(/datum/command_alert/bloodstones_anchor)
|
||||
new_obj = new /datum/objective/bloodcult_tearinreality
|
||||
spawn(15 SECONDS) //A delay before the anchor stone is announced
|
||||
if(global_anchor_bloodstone) //Check if it exploded in the mean time
|
||||
command_alert(/datum/command_alert/bloodstones_anchor)
|
||||
if (CULT_EPILOGUE)
|
||||
var/datum/objective/bloodcult_tearinreality/O = locate() in objective_holder.objectives
|
||||
if (O)
|
||||
|
||||
@@ -1422,6 +1422,8 @@ var/list/bloodstone_list = list()
|
||||
var/datum/faction/bloodcult/cult = find_active_faction_by_type(/datum/faction/bloodcult)
|
||||
if (cult)
|
||||
cult.fail()
|
||||
if(anchor)
|
||||
global_anchor_bloodstone -= src
|
||||
..()
|
||||
|
||||
/obj/structure/cult/bloodstone/attack_construct(var/mob/user)
|
||||
|
||||
@@ -175,6 +175,8 @@
|
||||
anchor.timeleft = 60
|
||||
anchor.timetotal = anchor.timeleft
|
||||
|
||||
global_anchor_bloodstone = anchor
|
||||
|
||||
//Adding the anchor to the bloodstones holomap, so cultists can quickly go there to perform the final summoning
|
||||
var/icon/updated_map = icon(extraMiniMaps[HOLOMAP_EXTRA_CULTMAP])
|
||||
var/datum/holomap_marker/holomarker = new()
|
||||
|
||||
@@ -485,7 +485,7 @@ The access requirements on the Asteroid Shuttles' consoles have now been revoked
|
||||
force_report = 1
|
||||
|
||||
/datum/command_alert/bloodstones_anchor/announce()
|
||||
message = "Occult energies from [station_name()] are reaching a critical point. A breach through space has materialized on one of the bloodstones. Destroy it at all costs, do not let any cultist near it."
|
||||
message = "Occult energies from [station_name()] are reaching a critical point. A breach through space has materialized on one of the bloodstones. It appears to be in [get_area_name(global_anchor_bloodstone, 1)]. Destroy it at all costs, do not let any cultist near it."
|
||||
..()
|
||||
|
||||
/datum/command_alert/bloodstones_broken
|
||||
|
||||
Reference in New Issue
Block a user