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:
Ghom
2023-08-04 16:05:16 -06:00
committed by GitHub
parent 1fed91837c
commit 327fe56563
5 changed files with 20 additions and 8 deletions
@@ -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)