Stargazers are now station-restricted, and cogged APCs are now quiet (#31565)

* Clockwork power generator tweaks

* Includes a blob_allowed check
This commit is contained in:
Ashe Higgs
2017-10-12 19:32:08 -04:00
committed by CitadelStationBot
parent 06061f0870
commit f9436e53c4
4 changed files with 12 additions and 4 deletions
@@ -50,6 +50,10 @@
if(isspaceturf(T))
has_starlight = TRUE
break
if(has_starlight && anchored)
var/area/A = get_area(src)
if(A.outdoors || A.map_name == "Space" || !A.blob_allowed)
has_starlight = FALSE
if(old_status != has_starlight)
if(has_starlight)
visible_message("<span class='nzcrentr_small'>[src] hums and shines brilliantly!</span>")