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
@@ -231,6 +231,13 @@
quickbind = TRUE
quickbind_desc = "Creates a stargazer, which generates power when near starlight."
/datum/clockwork_scripture/create_object/stargazer/check_special_requirements()
var/area/A = get_area(invoker)
if(A.outdoors || A.map_name == "Space" || !A.blob_allowed)
to_chat(invoker, "<span class='danger'>Stargazers can't be built off-station.</span>")
return
return TRUE
//Integration Cog: Creates an integration cog that can be inserted into APCs to passively siphon power.
/datum/clockwork_scripture/create_object/integration_cog