SPLURT Station 13 - Modules - TypesVar Details - Proc Details

scar

scars are cosmetic datums that are assigned to bodyparts once they recover from wounds. Each wound type and severity have their own descriptions for what the scars look like, and then each body part has a list of "specific locations" like your elbow or wrist or wherever the scar can appear, to make it more interesting than "right arm"

Arguments:

Vars

applicable_zonesWhat zones this scar can be applied to
coverableWhether this scar can actually be covered up by clothing
fakeScars from the longtimer quirk are "fake" and won't be saved with persistent scarring, since it makes you spawn with a lot by default
visibilityHow many tiles away someone can see this scar, goes up with severity. Clothes covering this limb will decrease visibility by 1 each, except for the head/face which is a binary "is mask obscuring face" check

Procs

formatUsed to format a scar to safe in preferences for persistent scars
format_amputatedUsed to format a scar to safe in preferences for persistent scars
generategenerate() is used to actually fill out the info for a scar, according to the limb and wound it is provided.
get_examine_descriptionWhat will show up in examine_more() if this scar is visible
is_visibleWhether a scar can currently be seen by the viewer
lazy_attachUsed when we finalize a scar from a healing cut
loadUsed to "load" a persistent scar

Var Details

applicable_zones

What zones this scar can be applied to

coverable

Whether this scar can actually be covered up by clothing

fake

Scars from the longtimer quirk are "fake" and won't be saved with persistent scarring, since it makes you spawn with a lot by default

visibility

How many tiles away someone can see this scar, goes up with severity. Clothes covering this limb will decrease visibility by 1 each, except for the head/face which is a binary "is mask obscuring face" check

Proc Details

format

Used to format a scar to safe in preferences for persistent scars

format_amputated

Used to format a scar to safe in preferences for persistent scars

generate

generate() is used to actually fill out the info for a scar, according to the limb and wound it is provided.

After creating a scar, call this on it while targeting the scarred bodypart with a given wound to apply the scar.

Arguments:

get_examine_description

What will show up in examine_more() if this scar is visible

is_visible

Whether a scar can currently be seen by the viewer

lazy_attach

Used when we finalize a scar from a healing cut

load

Used to "load" a persistent scar