Block free golems from using shuttle consoles, other than to go home (#65991)

* Block golems from using shuttle consoles

* Update code/modules/mob_spawn/ghost_roles/golem_roles.dm

Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
This commit is contained in:
Mothblocks
2022-04-09 13:03:45 -07:00
committed by GitHub
co-authored by Kylerace
parent bd26cc7ba4
commit 18849c0c25
3 changed files with 16 additions and 6 deletions
+6 -1
View File
@@ -84,7 +84,12 @@
to_chat(user, span_warning("You get a feeling that leaving the station might be a REALLY dumb idea..."))
dumb_rev_heads += user.mind
return
. = ..()
if (HAS_TRAIT(user, TRAIT_FORBID_MINING_SHUTTLE_CONSOLE_OUTSIDE_STATION) && !is_station_level(user.z))
to_chat(user, span_warning("You get the feeling you shouldn't mess with this."))
return
return ..()
/obj/machinery/computer/shuttle/mining/common
name = "lavaland shuttle console"