Before: Every tick each HUD item would recalculate and redo images for every mob in view. For items like the secHUD where we're transversing implants and the various records this gets very expensive.
After: Mobs use their hud_list variable to store varius huditem images, when conditions change for those specific huditem images it updates the specific ones on demand. As a backup every 30 ticks or so the mob will update all of their hud_list.
Also: moved proc/RoundHealth() from 2 seperate locations into __HELPERS/mobs.dm
Conflicts:
code/modules/mob/living/living.dm
Conflicts:
code/__HELPERS/mobs.dm
code/datums/mind.dm
code/game/objects/items/weapons/implants/implanter.dm
code/modules/mob/dead/observer/observer.dm
code/modules/mob/living/carbon/human/human.dm
code/modules/mob/living/carbon/human/life.dm
code/modules/mob/living/living.dm
code/modules/mob/living/living_defines.dm
code/modules/mob/living/silicon/ai/ai.dm
code/modules/mob/living/silicon/silicon.dm
code/modules/virus2/helpers.dm
code/setup.dm
icons/mob/hud.dmi
Trying to color them while dark green and brown-grey ended up in odd colorations. Quality of life change.
Conflicts:
code/modules/mob/new_player/sprite_accessories.dm
icons/mob/human_face.dmi
icons/mob/human_races/r_def_tajaran.dmi
icons/mob/human_races/r_tajaran.dmi
New proc: /datum/species/create_organs
Called in set_species when no organs exist or it's forced.
Also shuffled set_species around a bit, adding a var to human/new to
specify a species to start as.
Should fix the adminspawn vox organ runtime.
Signed-off-by: Mloc-Argent <colmohici@gmail.com>
Conflicts:
code/game/machinery/cloning.dm
code/modules/mob/living/carbon/human/human.dm
code/modules/mob/new_player/new_player.dm
code/modules/organs/organ.dm
Turf (de)construction playsound()s were using src.loc, instead of src
Signed-off-by: Mloc-Argent <colmohici@gmail.com>
Conflicts:
code/game/turfs/simulated.dm
code/game/turfs/simulated/floor.dm
Segmented the transit tube code into its own folder and code files, for each part of the tube.
Conflicts:
baystation12.dme
code/game/objects/structures/transit_tubes.dm
Lobby players won't hear stuffs
Universal hearing with animals won't be a thing.
Players won't hear stuff if they are sleeping, though somethings might slip through...
Conflicts:
code/modules/mob/living/carbon/human/say.dm
code/modules/mob/living/simple_animal/simple_animal.dm
code/modules/mob/new_player/new_player.dm