/tg/ Station 13 - Modules - Types

code/modules/unit_tests/~nova/digitigrade_legs.dm

/datum/unit_test/digitigrade_legs_preview_switchThe character preview draws every character on one body, so whatever limbs the last character left on it, a refresh must draw what a new body given the same preferences draws. Each step switches species, legs and chassis as loading another character does, and refreshes the preview through its own update_body(): wipe_state(), then render_new_preview_appearance(). A guard for the leg swap the legs preference skips when the body already wears the limbs it would give.