/tg/ Station 13 - Modules - Types

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

/datum/unit_test/portal_test/bulge_rendererThe bulge renderer (bulge.dm, look.dm, cut_cover.dm, redraw.dm) through the game's own paths: arousal from soft and back on every kind of cover, cover changes, recolours and dye, legs, length and height, anatomy and testicles behind a cover, the refusals, two wearers of one garment, and deletion.
/datum/unit_test/portal_test/bulge_renderer/activationArousal from soft and back, through the arousal menu's writer, on a uniform, underwear, a suit that is itself the cover, a suit the bulge shows through, and a revealing skirt, which is cut when hard.
/datum/unit_test/portal_test/bulge_renderer/cover_changesPutting a cover on, taking it off, swapping it, a suit that hides the bulge, and underwear under nothing else.
/datum/unit_test/portal_test/bulge_renderer/underwear_restrainsUnderwear under an outer cover holds the penis in, unless it lets it out itself: a hard skirt over briefs still tents but shows none of the penis and is drawn whole, a chastity sprite leaves no bulge at all, and a jockstrap under the leotard keeps its bulge to the jockstrap's size. Each is swapped under a cover left as it is, which the look follows.
/datum/unit_test/portal_test/bulge_renderer/recoloursA GAGS recolour of an adaptive garment (a new palette, no new icon) and of a printed one (the print follows), a dyed garment, and an admin's refresh of the garment's GAGS config from disk.
/datum/unit_test/portal_test/bulge_renderer/body_changesLegs swapped to digitigrade and back, a length change, height, a body update that changes nothing, a look that draws anatomy keyed by the penis's own key as it was when the look was resolved, and a dyed penis.
/datum/unit_test/portal_test/bulge_renderer/anatomyA hard loincloth shows the penis, and the testicles, behind its cut; each way of taking them away is followed.
/datum/unit_test/portal_test/bulge_renderer/refusalsWhat draws no bulge: a chastity device, a husk, a taur, a sheathed penis, and a penis that never shows.
/datum/unit_test/portal_test/bulge_renderer/sharingTwo wearers of the same garment in other states keep their own looks; deleting a worn garment and a wearer with a look leaves nothing behind.