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

modular_aphelion/modules/graffiti/code/editor.dm

GRAFFITI_PICKED_COLORSMost colours the editor keeps among those picked: picking one more drops the oldest.
GRAFFITI_COMPOSITE_SPACINGShortest time between two surface composites for one painter.
GRAFFITI_COMPOSITE_BUDGETSurface composites one painter gets per round, paint job steps included, before freehand composites slow to GRAFFITI_COMPOSITE_SLOW_SPACING.
GRAFFITI_COMPOSITE_SLOW_SPACINGShortest time between two surface composites once a painter's budget is spent.
GRAFFITI_PLACE_RETRYHow long a freehand session waits before asking a tile that refused its paint again, its composites only showing the refusal meanwhile. A refusal costs about 0.02 ms (measured) since the per-ckey index.
GRAFFITI_SESSION_LIMITLongest freehand session on one surface.
GRAFFITI_WORK_COMPOSITEDeferred work for SScustom_sprite_work: recomposite a freehand session's surface. The custom sprite editors' own work flags take the bits below it.
/datum/custom_sprite_editor/graffitiThe graffiti editor: the custom sprite editor's shell on a graffiti piece, whose canvas, tools and history it reuses.
/proc/graffiti_editor_forOpens a graffiti editor for a player, ending any editor they already have. A surface session shakes the can.
/proc/graffiti_library_write_dueWhether a player may write their graffiti library now, starting a second's wait if so. Each write rewrites and checks the whole file, so the account's saves, imports and exports share the wait, which is kept beside its style transfer cooldowns, and each write lengthens it by its cost (graffiti_library_paced()).
/proc/graffiti_library_pacedPaces an account's next graffiti library write by the one just made: a player's waits GRAFFITI_LIBRARY_WRITE_PACE times as long as it took, and at least a second, and a change the server makes is held back as long.
/proc/graffiti_library_write_waitReturns how long until an account's graffiti library may be written again.

Define Details

GRAFFITI_COMPOSITE_BUDGET

Surface composites one painter gets per round, paint job steps included, before freehand composites slow to GRAFFITI_COMPOSITE_SLOW_SPACING.

GRAFFITI_COMPOSITE_SLOW_SPACING

Shortest time between two surface composites once a painter's budget is spent.

GRAFFITI_COMPOSITE_SPACING

Shortest time between two surface composites for one painter.

GRAFFITI_PICKED_COLORS

Most colours the editor keeps among those picked: picking one more drops the oldest.

GRAFFITI_PLACE_RETRY

How long a freehand session waits before asking a tile that refused its paint again, its composites only showing the refusal meanwhile. A refusal costs about 0.02 ms (measured) since the per-ckey index.

GRAFFITI_SESSION_LIMIT

Longest freehand session on one surface.

GRAFFITI_WORK_COMPOSITE

Deferred work for SScustom_sprite_work: recomposite a freehand session's surface. The custom sprite editors' own work flags take the bits below it.