/tg/ Station 13 - Modules - Types — Define Details

modular_aphelion/modules/bulge/code/look.dm

BULGE_SUIT_HIDESThe bulge look of a covered penis (bulge.dm): the garment that covers it, how that garment bulges (its family and its vars, garment_families.dm and families.dm), and what the look draws. A look is resolved only when something it reads has changed; every decision is a scalar check on the garment's vars, its family's data and the wearer. A suit hides the bulge: it covers the groin and is not reviewed to let it show.
BULGE_SUIT_PASSESA suit leaves the groin clear: the bulge shows on what is worn under it.
BULGE_SUIT_COVERSA suit is itself the cover: its family's bulge is drawn over it (the outer denim overalls).
BULGE_COLOUR_TREATMENTThe colour treatment a worn garment is drawn through, as color_atom_overlay() applies it: its colour filter, else its colour matrix (a list colour), else null. No print follows it; the adaptive cloth takes it (bulge_cloth_images()).
BULGE_IN_FRONTWhether a garment drawn at mob layer garment_layer is in front of a penis drawn at penis_layer (null: the normal layering, under any garment). The smaller layer draws in front.
/proc/bulge_palette_textA GAGS palette as one string, as its producer joins a list; null for anything that is no palette.
/proc/bulge_cover_familyThe family a cover garment bulges with, or null.
/proc/bulge_cover_printedWhether a cover garment's own print carries onto its bulge.
/proc/bulge_cover_slotThe overlays_standing slot a cover garment is drawn in, or null.
/proc/bulge_cover_layerThe layer a cover garment is drawn at: an underclothes accessory's own, else its drawn appearance's.
/proc/bulge_over_signatureWhat a worn cover draws over its own sprite (overlays, from bulge_over_overlays()), as one string: each overlay after the first on the float plane. Null for none. An icon built at run time (mess baked on the cover) has no name of its own, so it goes in by reference, after DIRT_PRIVATE_KEY: each one is new, so the look's key, the chest's, keeps its images on the wearer rather than in tg's shared limb_icon_cache (limb_icons_for()).
/proc/bulge_drawn_rootThe first visible appearance of a drawn slot (a slot holds one, or a list with emissive roots beside them).
/proc/bulge_drawn_leafThe drawn sprite of a worn appearance: the appearance itself, or the first child of the KEEP_TOGETHER root build_worn_icon() nests separate overlays under. Null when it draws none.
/proc/bulge_cut_forThe cut a cover of family is drawn with under a hard penis of this identity: a revealing skirt's flap (a /datum/bulge_print_template) or a loincloth's derived cut (a /datum/bulge_sheet_state); null when it is drawn whole.
/proc/bulge_held_sizeWhat the underwear under a look's cover (bulge_restraint()) leaves of the look. Underwear always takes precedence: it holds the penis in, unless its own look would show some of it at this size and arousal, the anatomy its exposed mask leaves bare (briefs from size 5, long johns' tip hard from size 5) or a loincloth's drape when hard. bulge_resolve() and bulge_wanted_cut() both decide by it, so a cover is drawn cut only for a look that shows the penis through it.

Define Details

BULGE_COLOUR_TREATMENT

The colour treatment a worn garment is drawn through, as color_atom_overlay() applies it: its colour filter, else its colour matrix (a list colour), else null. No print follows it; the adaptive cloth takes it (bulge_cloth_images()).

BULGE_IN_FRONT

Whether a garment drawn at mob layer garment_layer is in front of a penis drawn at penis_layer (null: the normal layering, under any garment). The smaller layer draws in front.

BULGE_SUIT_COVERS

A suit is itself the cover: its family's bulge is drawn over it (the outer denim overalls).

BULGE_SUIT_HIDES

The bulge look of a covered penis (bulge.dm): the garment that covers it, how that garment bulges (its family and its vars, garment_families.dm and families.dm), and what the look draws. A look is resolved only when something it reads has changed; every decision is a scalar check on the garment's vars, its family's data and the wearer. A suit hides the bulge: it covers the groin and is not reviewed to let it show.

BULGE_SUIT_PASSES

A suit leaves the groin clear: the bulge shows on what is worn under it.