genital 
Vars | |
| device_glows | Whether that device's lights glow, from its "_e" emissive state. |
|---|---|
| device_icon | Icon file of a worn device drawn in this genital's place, like a chastity cage. |
| device_state | That device's worn state, without the body's "_m" or "_f". Null while nothing is worn over it. |
| dirt_bare | Set while mess reads the genital's own images (dirt_part_images()): get_overlay() draws it without its mess. |
| dirt_source | What the genital drew as a part source (dirt_part_source_of()) under dirt_source_key, or null. |
| dirt_source_key | The genital's own render key when dirt_source was read, joined. |
| genital_stack_rank | Stacking rank among genitals in the same layer mode. LOWER = rendered on top. |
| hidden_by_device | Whether a device worn over a neighbouring genital covers this one too. |
| layer_mode | Layering mode, determines if it tries to render above clothing or not. |
| organ_slot | Organ slot, used to get reference to the actual organ this is attached to without angering the CI gods. |
| sprite_suffix | The suffix appended to the feature_key for the overlays. |
Procs | |
| bulge_front_images | The genital's own front images at layer, each to its LIMB_OVERLAY_* flags, for a bulge drawing it behind a cover,
whatever layer it is set to draw at. |
| dirt_draws_itself | Returns whether the genital draws its own sprites, so mess can go on them. |
| dirt_part_images | Returns the genital's images in the layers mess reads its kind from (dirt_part_layers()), as get_overlay() draws them, custom layering included, without its mess, or null when a device draws in its place. |
| dirt_share_carrier | Returns the carrier of the genital's own mess while it has some and draws as itself, or null. |
| dirt_share_key | Returns what the genital's own mess draws as, for keys, after DIRT_PRIVATE_KEY: its masks' key, "pending" while they're made, or null while it has none or doesn't draw as itself. Asking queues masks not made yet. Given its own render key, the part source is read again only when that changes: the key covers the genital's sprites, colours, layering and device, which are what the part source is read from. |
| dirt_share_source | Returns what the genital draws now as a part source (dirt_part_source_of()), or null. |
| dirt_shown | Returns whether the genital draws on a body now, from the checks can_draw_on_bodypart() makes of it: not on a husk, not closed off by a device, not hidden by its accessory (is_hidden(), which reads clothing and custom layering), and not covered by a look drawn in its place. They're read rather than asked through can_draw_on_bodypart(), which a garment's render reading the parts mustn't call: a penis's resolves its bulge look, which can draw that garment again. |
| is_custom_layered | Whether the owning organ is set to Custom visibility, i.e. manual layer control. |
Var Details
device_glows 
Whether that device's lights glow, from its "_e" emissive state.
device_icon 
Icon file of a worn device drawn in this genital's place, like a chastity cage.
device_state 
That device's worn state, without the body's "_m" or "_f". Null while nothing is worn over it.
dirt_bare 
Set while mess reads the genital's own images (dirt_part_images()): get_overlay() draws it without its mess.
dirt_source 
What the genital drew as a part source (dirt_part_source_of()) under dirt_source_key, or null.
dirt_source_key 
The genital's own render key when dirt_source was read, joined.
genital_stack_rank 
Stacking rank among genitals in the same layer mode. LOWER = rendered on top.
hidden_by_device 
Whether a device worn over a neighbouring genital covers this one too.
layer_mode 
Layering mode, determines if it tries to render above clothing or not.
organ_slot 
Organ slot, used to get reference to the actual organ this is attached to without angering the CI gods.
sprite_suffix 
The suffix appended to the feature_key for the overlays.
Proc Details
bulge_front_images
The genital's own front images at layer, each to its LIMB_OVERLAY_* flags, for a bulge drawing it behind a cover,
whatever layer it is set to draw at.
dirt_draws_itself
Returns whether the genital draws its own sprites, so mess can go on them.
dirt_part_images
Returns the genital's images in the layers mess reads its kind from (dirt_part_layers()), as get_overlay() draws them, custom layering included, without its mess, or null when a device draws in its place.
Arguments:
- limb: The limb it's drawn on.
- kind: Its DIRT_PART_* define.
dirt_share_carrier
Returns the carrier of the genital's own mess while it has some and draws as itself, or null.
Arguments:
- limb: The limb it's drawn on.
dirt_share_key
Returns what the genital's own mess draws as, for keys, after DIRT_PRIVATE_KEY: its masks' key, "pending" while they're made, or null while it has none or doesn't draw as itself. Asking queues masks not made yet. Given its own render key, the part source is read again only when that changes: the key covers the genital's sprites, colours, layering and device, which are what the part source is read from.
Arguments:
- limb: The limb it's drawn on.
- own_key: The genital's own render key, without its mess, joined, or null to read the part source now.
dirt_share_source
Returns what the genital draws now as a part source (dirt_part_source_of()), or null.
Arguments:
- limb: The limb it's drawn on.
dirt_shown
Returns whether the genital draws on a body now, from the checks can_draw_on_bodypart() makes of it: not on a husk, not closed off by a device, not hidden by its accessory (is_hidden(), which reads clothing and custom layering), and not covered by a look drawn in its place. They're read rather than asked through can_draw_on_bodypart(), which a garment's render reading the parts mustn't call: a penis's resolves its bulge look, which can draw that garment again.
Arguments:
- limb: The limb it's drawn on.
- owner: Its owner.
is_custom_layered
Whether the owning organ is set to Custom visibility, i.e. manual layer control.