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 12:18:14 +02:00
committed by GitHub
parent a045fc1709
commit d7706ece53
32 changed files with 154 additions and 43 deletions
@@ -150,7 +150,7 @@
return FALSE
set_current(C)
user.machine = ui_host()
user.set_machine(ui_host())
user.reset_view(current_camera)
check_eye(user)