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

modular_aphelion/modules/custom_sprites/code/transfer.dm

CUSTOM_STYLE_FORMATThe format every style file carries; an envelope with any other is refused.
CUSTOM_STYLE_VERSIONThe style file version this server writes and accepts.
CUSTOM_STYLE_IMPORT_COOLDOWNHow long an account waits between imports. Failed and cancelled attempts count.
CUSTOM_STYLE_EXPORT_COOLDOWNHow long an account waits between exports.
CUSTOM_STYLE_EXPORT_DIRECTORYWhere an export is written just long enough to send it, under a server-generated name.
/proc/custom_style_unknown_keyReturns the first unsupported key, or null when every key is allowed.
/proc/custom_style_validate_drawingStrictly validates one drawing. Unlike custom_sprite_validate(), nothing is salvaged.
/proc/custom_style_emissive_problemWhy a drawing's or appendage's emission settings are refused, finishing "The drawing's ...", or null when they're fine or absent.
/proc/custom_style_validate_hairStrictly validates the whitelisted base hair look carried by hair styles.
/proc/custom_style_validate_markingsStrictly validates the ordered native markings for one supported limb. A name a marking merge retired validates as the marking that draws it now (GLOB.body_marking_renames), as a save's migration renames it. Stored data (trusted) leaves out, and logs, a marking its limb no longer offers, where an upload is refused.
/proc/custom_style_validate_packageValidates a package's structure: one drawing target, plus its optional native context.
/proc/custom_style_packageA canonical package that owns copies of its drawing, hair look and markings.
/proc/custom_style_copy_markingsCopy record arrays without deep_copy_list() turning their list values into associative keys.
/proc/custom_style_copy_packageCanonical packages own every drawing, native context and marking record they carry.
/proc/custom_style_package_hashContent identity for proposals, rotations and unchanged checks.
/proc/custom_style_matchesCompare a legacy drawing-only package with the base markings it would preserve.
/proc/custom_style_parseParses an uploaded style file into a package.
/proc/custom_style_validate_bodyStrictly validates a whole-body style: one region package per zone it contains.
/proc/custom_style_export_textThe export format always includes all four views and their emission settings.
/proc/custom_style_export_drawingA drawing in export form: all four views and their emission settings, or null for empty art.
/proc/custom_style_body_export_textWhole-body export: every region's drawing and base markings in one file.
/proc/custom_style_paint_outsideReturns the first view with paint outside the destination's allowed pixels.
/proc/custom_style_has_emissionWhether any view of a drawing glows.
/proc/custom_style_transfer_beginClaims the account's single transfer slot and starts the relevant cooldown.
/proc/custom_style_transfer_endReleases the account's transfer slot.
/proc/custom_style_file_labelThe download name for a package: custom-hair-style, custom-facial-hair-style, custom-tattoo- or custom-markings.
/proc/custom_style_sendSends one package to a client as a downloaded file.
/proc/custom_style_send_bodySends a whole-body style to a client as a downloaded file.
/proc/custom_style_send_textSends export text to a client as a downloaded file.
/proc/custom_style_receiveAsks a player for a style file and parses it. This sleeps while the file dialog is open.

Define Details

CUSTOM_STYLE_EXPORT_COOLDOWN

How long an account waits between exports.

CUSTOM_STYLE_EXPORT_DIRECTORY

Where an export is written just long enough to send it, under a server-generated name.

CUSTOM_STYLE_FORMAT

The format every style file carries; an envelope with any other is refused.

CUSTOM_STYLE_IMPORT_COOLDOWN

How long an account waits between imports. Failed and cancelled attempts count.

CUSTOM_STYLE_VERSION

The style file version this server writes and accepts.