/tg/ Station 13 - Modules - Types — Var Details - Proc Details

lewd_portal_relay

Vars

body_target_nameThe render target the body draws to (body_render_target()). An appearance doesn't keep its render_target text alive, so the relay does, or the text could be freed and its slot reused while the relay still draws it.
iconEverything we show is an overlay copied off the owner, so we never want the parent's icon.
ownerMob represented by this relay. Borrowed; never deleted by the relay.
portal_modeThe copied mode of the portal which created this relay.
refreshing_visualsPrevents overlay signals caused by an active render from recursing.

Procs

append_appearance_copiesClones source appearances before filtering, skipping nonexistent icon states. An image with no sprite of its own (a holder of others) is always kept.
apply_upper_body_maskCrops an appearance down to the half of the body that fits through the portal.
body_render_targetReturns the render target this relay's body draws to, its own: two relays in view never clip to each other's.
can_reveal_toRequires a complete active session and both participants' canonical portal preferences.
clip_to_bodyClips an appearance to the body this relay draws, keeping any filters it has (a height's). The mask lies in the appearance's own space, which its pixel offsets then move (a part's mess, offset for the height): it's moved back.
lower_body_onlyDraws the occupant's hips and butt: the chest's images, and what's worn over them clipped to the body they draw.
set_ownerSetter for the borrowed owner reference and all invalidation signals.
shows_lower_bodyWhether this relay shows its owner's lower body, rather than only their penis.
torso_onlyClones torso appearances before filtering so cached limb appearances are never mutated.
update_visualsRebuilds relay overlays from live owner state. Failure always leaves a blank relay.

Var Details

body_target_name

The render target the body draws to (body_render_target()). An appearance doesn't keep its render_target text alive, so the relay does, or the text could be freed and its slot reused while the relay still draws it.

icon

Everything we show is an overlay copied off the owner, so we never want the parent's icon.

owner

Mob represented by this relay. Borrowed; never deleted by the relay.

portal_mode

The copied mode of the portal which created this relay.

refreshing_visuals

Prevents overlay signals caused by an active render from recursing.

Proc Details

append_appearance_copies

Clones source appearances before filtering, skipping nonexistent icon states. An image with no sprite of its own (a holder of others) is always kept.

apply_upper_body_mask

Crops an appearance down to the half of the body that fits through the portal.

body_render_target

Returns the render target this relay's body draws to, its own: two relays in view never clip to each other's.

can_reveal_to

Requires a complete active session and both participants' canonical portal preferences.

clip_to_body

Clips an appearance to the body this relay draws, keeping any filters it has (a height's). The mask lies in the appearance's own space, which its pixel offsets then move (a part's mess, offset for the height): it's moved back.

lower_body_only

Draws the occupant's hips and butt: the chest's images, and what's worn over them clipped to the body they draw.

A wall relay shows the hips and butt only, so it draws no legs and no shoes. A hidden copy of the chest's own sprites renders to body_render_target(), and the uniform, the underclothes and the chest's images with no sprite of their own (mess containers) are clipped to it, so nothing drawn over the body reaches past it. A skirt or dress isn't drawn (wall_relay_skips_uniform()): the body shows under it. A wall-stuck body draws no bulge (portal_hides_bulge()).

set_owner

Setter for the borrowed owner reference and all invalidation signals.

shows_lower_body

Whether this relay shows its owner's lower body, rather than only their penis.

torso_only

Clones torso appearances before filtering so cached limb appearances are never mutated.

update_visuals

Rebuilds relay overlays from live owner state. Failure always leaves a blank relay.