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

modular_aphelion/modules/custom_sprites/code/salon.dm

SALON_DRAFTINGSession state: the artist is drawing, or the session has returned to the draft.
SALON_AWAITING_APPROVALSession state: the recipient's mirror shows the proposal.
SALON_APPLYINGSession state: the approved work's finishing touches are under way.
SALON_COMPLETEDSession state: the work went on; the session is ending.
SALON_PROMPT_TIMEOUTHow long a recipient has to answer a request to start work.
SALON_REQUEST_COOLDOWNHow long before the same artist may ask the same recipient again.
SALON_APPLY_DURATIONHow long the finishing touches take once the recipient approves.
SALON_TRIMMING_FIRST_DELAYHair starts hitting the floor shortly after the artist gets going.
SALON_TRIMMING_GROW_MINThe shortest time the pile takes to grow by one more step while work continues.
SALON_TRIMMING_GROW_MAXThe longest time the pile takes to grow by one more step while work continues.
SALON_TRIMMING_WORKING_MAXMid-cut the pile only ever reaches this size. The rest lands on completion.
/proc/custom_sprite_salon_draft_keyWhere an artist keeps their draft for one drawing target on one person.
/proc/custom_sprite_salon_sessionThe artist's retained draft for one drawing target on one person, or null.
/proc/custom_sprite_salon_sessions_forEvery draft this artist has, newest last.
/proc/custom_sprite_salon_sessions_for_toolThe drafts this tool can resume.
/proc/custom_sprite_salon_labelWhat salon work on a target is called. A zone names where a tattoo is; without one it's the whole body's.
/proc/custom_sprite_live_packageThe recipient's live style for one target. Hair includes the whitelisted base hair look.
/proc/custom_sprite_region_signatureA cheap fingerprint of one marking zone's live look: its paint's hash and its native markings.
/proc/custom_sprite_salon_keysStyle keys a salon target covers: the hair target itself, or every marking zone.
/proc/custom_sprite_live_packagesThe recipient's live look for every drawing a salon target covers, by style key.
/proc/custom_sprite_packages_hashOne content hash for a set of packages, so a change to any of them shows.
/proc/custom_sprite_salon_changesRegion labels a set of packages changes, in body order. Hair packages name none.
/proc/custom_style_marking_entriesOrdered, portable records for native markings: a limb's or a collection zone's entries, or a zone's saved nested shape.
/proc/custom_style_marking_dataConvert validated records back into the native marking renderer's ordered map.
/proc/custom_style_apply_base_markingsChange only this limb/hand's native markings and its DNA snapshot. The caller redraws the body.
/proc/custom_style_apply_hair_contextApplies a whitelisted hair look to a live or preview body.
/proc/custom_sprite_apply_round_styleChanges a live body's round appearance for one drawing target.
/proc/custom_sprite_apply_round_stylesChanges a live body's round appearance for several drawings, redrawing it once.
/proc/custom_sprite_salon_dummyBuilds a private preview body from a live body's current appearance.
/proc/custom_sprite_salon_start_problemReturns why an artist can't start work on a recipient, or null when they can.
/proc/custom_sprite_salon_target_problemWhy a drawing target can't be worked on. Markings without a zone mean the whole body. Addresses the recipient when they're doing the work.
/proc/custom_sprite_zone_coveredReturns whether worn clothing covers a marking zone.
/proc/custom_sprite_self_mirrorWhether someone can see the parts of themselves they can't look at directly.
/proc/custom_sprite_salon_claim_requestClaims the recipient's single incoming prompt and the pair's request cooldown.
/proc/custom_sprite_salon_requestAsks a recipient to start custom work, then opens the artist's editor. Sleeps on prompts.
/proc/custom_sprite_salon_request_restoreAsks a recipient to restore the looks they had before their last salon change. Sleeps.
/proc/custom_sprite_salon_restore_problemWhy an artist can't start restoring previous looks, or null. keys limits which looks count.
/proc/custom_sprite_salon_start_restoreShows the recipient previous looks to restore, in the mirror. keys limits them to the chosen ones.
/proc/custom_sprite_salon_previousStyle key -> a copy of the look each of a target's drawings had before its last salon change, for those that have one. keys limits it.
/proc/custom_sprite_salon_restore_choicesWhat Restore previous offers for several previous looks: the whole body, then each region by name. Label -> style keys.
/proc/custom_sprite_salon_export_liveSends a player their own live look for a salon target: one file for hair, a whole-body file for a tattoo.
/datum/custom_sprite_salonOne artist's custom work for one recipient and drawing target.
/proc/custom_sprite_salon_resumeResumes a retained draft from a tool's self-use action. Sleeps only when asking which one.
/proc/custom_sprite_salon_choose_draftAsks which retained draft to reopen. Sleeps on the prompt.
/proc/custom_sprite_salon_open_draftReopens a retained draft for its artist, rebinding the artist's body and tool.
/datum/custom_sprite_editor/salonThe salon's hair context: an artist-owned draft of another player's live hair or facial hair.
/datum/custom_sprite_editor/markings/salonThe salon's tattoo context: the whole-body canvas on another player's live look.

Define Details

SALON_APPLYING

Session state: the approved work's finishing touches are under way.

SALON_APPLY_DURATION

How long the finishing touches take once the recipient approves.

SALON_AWAITING_APPROVAL

Session state: the recipient's mirror shows the proposal.

SALON_COMPLETED

Session state: the work went on; the session is ending.

SALON_DRAFTING

Session state: the artist is drawing, or the session has returned to the draft.

SALON_PROMPT_TIMEOUT

How long a recipient has to answer a request to start work.

SALON_REQUEST_COOLDOWN

How long before the same artist may ask the same recipient again.

SALON_TRIMMING_FIRST_DELAY

Hair starts hitting the floor shortly after the artist gets going.

SALON_TRIMMING_GROW_MAX

The longest time the pile takes to grow by one more step while work continues.

SALON_TRIMMING_GROW_MIN

The shortest time the pile takes to grow by one more step while work continues.

SALON_TRIMMING_WORKING_MAX

Mid-cut the pile only ever reaches this size. The rest lands on completion.