mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-31 09:00:25 +01:00
Lemurian Sea (#22686)
changes: - refactor: "Refactors Gravity Generator UI from HTML to TGUI." - rscadd: "Adds sector-based modifier var 'overmap_hazards_multiplier' for generating total overmap hazard count." - soundadd: "Adds new Lemurian Sea 'welcome' announcements." - rscadd: "Added Lemurian Sea gravitic anomalies as overmap hazards and random events." - rscadd: "Adds ADPI/The Voices." - rscadd: "Adds ADPI Panel for modmins to send ADPI messages to a single character or all characters from their respective pools, or custom messages." - balance: "Vaurca Hivenet communication, the Hivenet Manifest, and Hivenet Echoes are now disabled while the ship is in Lemurian Sea sectors."
This commit is contained in:
@@ -24,18 +24,20 @@
|
||||
|
||||
owner = parent
|
||||
|
||||
// Check during component init if we're in a sector that blocks hivenet echoes, and if so, skip processing init.
|
||||
if(!SSatlas.current_sector.hivenet_echoes)
|
||||
if((SSatlas.current_sector.name in list(SECTOR_LEMURIAN_SEA, SECTOR_LEMURIAN_SEA_FAR)))
|
||||
to_chat(parent, SPAN_CULT("The Fog cuts you off from the greater Hivenet. Without its echoes, you feel deeply dreadful."))
|
||||
else
|
||||
to_chat(parent, SPAN_WARNING("The faint echoes of the greater Hivenet fade away. Without them, you feel low in company."))
|
||||
return
|
||||
|
||||
// Setup the first time the echoes will begin playing.
|
||||
next_broadcastEcho = world.time + rand(180, 300) SECONDS
|
||||
next_projectionEcho = world.time + rand(240, 480) SECONDS
|
||||
|
||||
// Check during component init if we're in a sector that blocks hivenet echoes, and if so, skip processing init.
|
||||
if(!SSatlas.current_sector.hivenet_echoes)
|
||||
if(is_lemurian_sea_sector())
|
||||
to_chat(parent, SPAN_CULT("The Fog cuts you off from the greater Hivenet. Without its echoes, you feel deeply dreadful."))
|
||||
else
|
||||
to_chat(parent, SPAN_WARNING("The faint echoes of the greater Hivenet fade away. Without them, you feel low in company."))
|
||||
if(is_lemurian_sea_sector())
|
||||
START_PROCESSING(SSprocessing, src)
|
||||
return
|
||||
|
||||
// Finally start the clock.
|
||||
START_PROCESSING(SSprocessing, src)
|
||||
|
||||
@@ -45,6 +47,13 @@
|
||||
return ..()
|
||||
|
||||
/datum/component/HiveEchoes/process(seconds_per_tick)
|
||||
if(is_lemurian_sea_sector())
|
||||
return
|
||||
|
||||
if(!SSatlas.current_sector.hivenet_echoes)
|
||||
STOP_PROCESSING(SSprocessing, src)
|
||||
return
|
||||
|
||||
if(owner.stat != CONSCIOUS)
|
||||
return
|
||||
|
||||
@@ -91,6 +100,11 @@
|
||||
if(!check_rights(R_ADMIN))
|
||||
return
|
||||
|
||||
if(is_lemurian_sea_sector())
|
||||
SSatlas.current_sector.hivenet_echoes = FALSE
|
||||
to_chat(usr, SPAN_WARNING("The Fog prevents Hivenet Echoes from being restored in the Lemurian Sea."))
|
||||
return
|
||||
|
||||
if(SSatlas.current_sector.hivenet_echoes)
|
||||
SSatlas.current_sector.hivenet_echoes = FALSE
|
||||
to_chat(usr, SPAN_INFO("Vaurcae have been cut off from echoes (fluff) of the greater Hivenet."))
|
||||
|
||||
Reference in New Issue
Block a user