mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-04 22:11:27 +00:00
>update_mutantrace() is no more, it is now part of update_body() >Moved a lot of stuff into update_base_icon_state(), this will allow making mutantraces modular. Almost all icon operations are now removed from human overlays (obviously some are still required for recolouring hair and eyes). Any remaining dynamically generated overlay icons are applied individually. This will allow byond to cache them better. This will also eliminate the bug where humans are initially invisible/unclickable when you first encounter them (due to network latency where the icons are being downloaded). >UpdateDamageIcons() renamed to update_damage_overlays(), so it has the same sort of name as the other procs >update_icons=true or false arguments removed from human overaly-update procs, no longer required. (i.e. the update_body() update_inv_whatever etc procs do not call update_icons() - see documentation for details) >mutantrace icon_states moved into human.dmi >skeletons are now a mutantrace, not a mutation. >update_icons system should now be even more efficient (thanks partly to aranclanos) >documentation rewritten >copypasted code moved into helper procs - super tidy code :3 Other: >Removed compile error where the core code was reliant on compiling away mission code. >:[ >s_tone renamed to skin_tone Modified code/modules/mob/living/carbon/human/update_icons.dm Modified code/__DEFINES.dm Modified code/datums/datumvars.dm Modified code/datums/limbs.dm Modified code/game/dna.dm Modified code/game/gamemodes/changeling/changeling_powers.dm Modified code/game/gamemodes/cult/cult_items.dm Modified code/game/gamemodes/cult/runes.dm Modified code/game/machinery/doors/airlock.dm Modified code/game/machinery/portable_turret.dm Modified code/game/machinery/teleporter.dm Modified code/game/mecha/combat/combat.dm Modified code/game/objects/items.dm Modified code/game/objects/items/stacks/medical.dm Modified code/game/objects/items/stacks/sheets/glass.dm Modified code/game/objects/items/weapons/storage/bible.dm Modified code/modules/assembly/mousetrap.dm Modified code/modules/hydroponics/hydroitemcode.dm Modified code/modules/mob/living/carbon/carbon.dm Modified code/modules/mob/living/carbon/human/death.dm Modified code/modules/mob/living/carbon/human/human.dm Modified code/modules/mob/living/carbon/human/human_damage.dm Modified code/modules/mob/living/carbon/human/human_defines.dm Modified code/modules/mob/living/living.dm Modified code/modules/mob/living/simple_animal/friendly/slime.dm Modified code/modules/mob/mob_grab.dm Modified code/modules/power/lighting.dm Modified code/modules/reagents/Chemistry-Reagents.dm Modified code/unused/_debug.dm Modified icons/effects/genetics.dmi Modified icons/mob/human.dmi Modified maps/RandomZLevels/wildwest.dm Modified tgstation.dme Signed-off-by: carnie <elly1989@rocketmail.com>