Bug fixes, init signals for mobs, density updates. (#21108)

1. Look up now follows your mob (no more auto-removal when you move,
only when you go below a solid tile). Maybe add a hotkey?
2. Made the codebase work with the latest version of spacemandmm lint.
3. Advanced kits don't work on robotic limbs.
4. Density shifting should now always use set_density. Ported
TRAIT_UNDENSE from CM to better control the density of living mobs.
Fixes weird shifting behaviour with wall leaning -- what was happening
is that mob density was getting reset to TRUE because the mob wasn't
lying down.
5. TGUI say light prefs actually save.

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
Matt Atlas
2025-08-06 10:18:14 +00:00
committed by GitHub
co-authored by Matt Atlas
parent a045fc1709
commit d7706ece53
32 changed files with 154 additions and 43 deletions
@@ -71,6 +71,7 @@
"tgui_inputs",
"tgui_buttons_large",
"tgui_inputs_swapped",
"tgui_say_light_mode",
"ui_scale",
"ckey" = 1
)
@@ -90,6 +91,7 @@
"tgui_inputs" = pref.tgui_inputs,
"tgui_buttons_large" = pref.tgui_buttons_large,
"tgui_inputs_swapped" = pref.tgui_inputs_swapped,
"tgui_say_light_mode" = pref.tgui_say_light_mode,
"ui_scale" = pref.ui_scale
)
@@ -103,6 +105,7 @@
pref.tgui_inputs = sanitize_bool(pref.tgui_inputs, TRUE)
pref.tgui_buttons_large = sanitize_bool(pref.tgui_buttons_large, FALSE)
pref.tgui_inputs_swapped = sanitize_bool(pref.tgui_inputs_swapped, FALSE)
pref.tgui_say_light_mode = sanitize_bool(pref.tgui_say_light_mode, FALSE)
pref.ooccolor = sanitize_hexcolor(pref.ooccolor, initial(pref.ooccolor))
/datum/category_item/player_setup_item/player_global/ui/content(mob/user)