Random spawn mobs now have random cultures, hair, and skin tone. (#18120)

* Random spawn mobs now have random cultures, hair, and skin tone.

* fixes + trioxin

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
Matt Atlas
2024-01-05 17:48:13 +00:00
committed by GitHub
co-authored by Matt Atlas
parent a424aedae1
commit 65d32eabd6
13 changed files with 145 additions and 42 deletions
+7 -1
View File
@@ -5,6 +5,9 @@
icon_state = "portal"
density = TRUE
unacidable = TRUE //Can't destroy energy portals.
mouse_opacity = MOUSE_OPACITY_ICON
anchored = TRUE
var/does_teleport = TRUE // Some portals might just be visual
var/has_lifespan = TRUE // Whether we want to directly control the lifespan or not
var/failchance = 5
@@ -12,7 +15,6 @@
var/obj/target
var/creator
var/precision = 1
anchored = TRUE
/obj/effect/portal/Initialize(mapload, turf/set_target, set_creator, lifespan = 300, precise = 1)
. = ..()
@@ -281,6 +283,10 @@
light_color = color
update_light()
/// Mainly for admin events.
/obj/effect/portal/permanent
has_lifespan = FALSE
#undef COLOR_STAGE_FIVE
#undef COLOR_STAGE_FOUR
#undef COLOR_STAGE_THREE