mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
Areas created with the "land claim" are no longer hazardous to free golems (#77357)
## About The Pull Request New areas created by standard blueprints are not safe for golems, which is why I'm touching blueprints and create_area code and making the blueprints found in the free golem ship an actual subtype rather than a map-edited instance. ## Why It's Good For The Game This will fix #77354. ## Changelog 🆑 fix: Areas created with the "land claim" blueprints are no longer hazardous to free golems. /🆑
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
|
||||
/// Makes free golems slow and sad on the space station
|
||||
/obj/effect/mob_spawn/ghost_role/human/golem/proc/try_keep_home(mob/new_spawn)
|
||||
var/static/list/allowed_areas = typecacheof(list(/area/icemoon, /area/lavaland, /area/ruin)) + typecacheof(/area/misc/survivalpod)
|
||||
var/static/list/allowed_areas = typecacheof(list(/area/icemoon, /area/lavaland, /area/ruin, /area/misc/survivalpod, /area/golem))
|
||||
ADD_TRAIT(new_spawn, TRAIT_FORBID_MINING_SHUTTLE_CONSOLE_OUTSIDE_STATION, INNATE_TRAIT)
|
||||
new_spawn.AddComponent(/datum/component/hazard_area, area_whitelist = allowed_areas)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user