mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-28 15:39:57 +01:00
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:
@@ -91,7 +91,7 @@ Targeted spells have two useful flags: INCLUDEUSER and SELECTABLE. These are exp
|
||||
possible_targets += target
|
||||
|
||||
if(spell_flags & SELECTABLE)
|
||||
for(var/i = 1; i <= max_targets, i++)
|
||||
for(var/i = 1; i <= max_targets; i++)
|
||||
if(!length(possible_targets))
|
||||
to_chat(user, SPAN_WARNING("There are no targets in range!"))
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user