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

custom_sprite_mirror

The recipient's mirror.

In approval mode it shows the live look beside an exact proposed revision. Closing, declining or letting it expire never implies acceptance. Permanent acceptance saves only after successful application. Exporting the reviewed proposal doesn't apply it or change preferences.

Vars

after_urlsDirection -> image of the exact proposed appearance.
artist_nameDisplay name captured for the recipient's prompt.
before_urlsDirection -> image of the recipient before the proposal.
changesRegion labels the proposal or result changes, for a tattoo.
expires_atWorld time when an unanswered proposal expires.
message_errorWhether the latest save or export message reports a failure.
packagesResult mode: style key -> each applied package.
picture_heightCanvas height the pictures are drawn at: taller when either look has tall hair.
picture_nameWhat this mirror's pictures are kept under; see custom_sprite_draw_recipes().
picture_widthCanvas width the pictures are drawn at.
recipient_ckeyAccount bound to this mirror's approval and save actions.
recipient_refWeak reference to the body being styled.
refresh_timerPending redraw after the recipient's look changed while they decide.
restorationWhether the proposal restores the previous round style.
save_messageExplanation accompanying the permanent save result.
save_stateResult status shown after a permanent save attempt.
sessionSalon session awaiting approval; null in the completed result window.
slotRecipient's spawned character slot eligible for a permanent save.
targetDrawing kind shown in this mirror.
tokenExact proposal revision that Accept is allowed to approve.
visible_directionThe view the recipient's window shows.

Procs

expireThe countdown ran out: tells the recipient and declines.
recipientThe recipient's body, or null once it's gone or another player controls it.
refreshRecaptures both looks, redraws them and sends the pictures to the open window.
render_proposalCaptures the recipient as they look now and the same body wearing the proposal, and draws every view of both.
save_styleSaves the applied styles to the recipient's spawned character slot, in one write.
schedule_refreshRedraws both pictures shortly after the recipient's look changes, once for a burst of changes.

Var Details

after_urls

Direction -> image of the exact proposed appearance.

artist_name

Display name captured for the recipient's prompt.

before_urls

Direction -> image of the recipient before the proposal.

changes

Region labels the proposal or result changes, for a tattoo.

expires_at

World time when an unanswered proposal expires.

message_error

Whether the latest save or export message reports a failure.

packages

Result mode: style key -> each applied package.

picture_height

Canvas height the pictures are drawn at: taller when either look has tall hair.

picture_name

What this mirror's pictures are kept under; see custom_sprite_draw_recipes().

picture_width

Canvas width the pictures are drawn at.

recipient_ckey

Account bound to this mirror's approval and save actions.

recipient_ref

Weak reference to the body being styled.

refresh_timer

Pending redraw after the recipient's look changed while they decide.

restoration

Whether the proposal restores the previous round style.

save_message

Explanation accompanying the permanent save result.

save_state

Result status shown after a permanent save attempt.

session

Salon session awaiting approval; null in the completed result window.

slot

Recipient's spawned character slot eligible for a permanent save.

target

Drawing kind shown in this mirror.

token

Exact proposal revision that Accept is allowed to approve.

visible_direction

The view the recipient's window shows.

Proc Details

expire

The countdown ran out: tells the recipient and declines.

recipient

The recipient's body, or null once it's gone or another player controls it.

refresh

Recaptures both looks, redraws them and sends the pictures to the open window.

render_proposal

Captures the recipient as they look now and the same body wearing the proposal, and draws every view of both.

save_style

Saves the applied styles to the recipient's spawned character slot, in one write.

The slot must still be selected and still be this character. Unsaved hair or marking edits in character setup are rejected rather than overwritten. Failure leaves the round appearance applied.

schedule_refresh

Redraws both pictures shortly after the recipient's look changes, once for a burst of changes.