Space Station 13 - Modules - TypesVar Details - Proc Details

mail_pattern

Vars

bad_feelingIf this property is not null, mail shows to opener this message with choices: to open or not to open
blacklisted_jobsList of blacklisted jobs. Pattern will not be available if owner assigned role is one of them
blacklisted_quirksList of blacklisted quirk types. Pattern will not be available if owner has one of them
blacklisted_roundtypesList of blacklisted roundtypes (Extended, Dynamic Hard, etc). Pattern will not be available during them
blacklisted_speciesList of blacklisted species types. Pattern will not be available if owner has one of them
categoryCategory of letter
envelope_typeEnvelope / Package
initial_contentsCreated items during pattern applying. If items should be customised, override apply() proc
letter_descDescription for text letter in envelope
letter_htmlHTML for text letter in envelope
letter_iconIcon file for text letter in envelope
letter_icon_stateIcon state for text letter in envelope
letter_titleName for text letter in envelope
mindshield_prohibitedWill the mindshield implant in the recipient disable this pattern?
mindshield_requiredIs the mindshield implant required to get this pattern?
parentEnvelope, to which this pattern assigned
weightWeight (chance) of getting this lettertype
whitelisted_jobsList of whitelisted jobs. Pattern will be available only if owner assigned role is one of them
whitelisted_quirksList of whitelisted quirk types. Pattern will be available only if owner has one of them
whitelisted_roundtypesList of whitelisted roundtypes. (Extended, Dynamic Hard, etc). Pattern will be available only during them
whitelisted_speciesList of whitelisted species types. Pattern will be available only if owner has one of them

Procs

applyProc, that applies settings of this pattern to piece of mail, for example customising text, creating letter and contents
on_mail_openSpecial effects of pattern, when envelope is opened
regenerate_weightReturns weight of selected pattern in accordance to all filters and checks, applied to specific recipient
special_open_checkSpecial check of pattern, that called by mail/try_open() proc. If returns FALSE, piece of mail will not be open.
text_customisationCustomising text piece for specific recipient

Var Details

bad_feeling

If this property is not null, mail shows to opener this message with choices: to open or not to open

blacklisted_jobs

List of blacklisted jobs. Pattern will not be available if owner assigned role is one of them

blacklisted_quirks

List of blacklisted quirk types. Pattern will not be available if owner has one of them

blacklisted_roundtypes

List of blacklisted roundtypes (Extended, Dynamic Hard, etc). Pattern will not be available during them

blacklisted_species

List of blacklisted species types. Pattern will not be available if owner has one of them

category

Category of letter

envelope_type

Envelope / Package

initial_contents

Created items during pattern applying. If items should be customised, override apply() proc

letter_desc

Description for text letter in envelope

letter_html

HTML for text letter in envelope

letter_icon

Icon file for text letter in envelope

letter_icon_state

Icon state for text letter in envelope

letter_title

Name for text letter in envelope

mindshield_prohibited

Will the mindshield implant in the recipient disable this pattern?

mindshield_required

Is the mindshield implant required to get this pattern?

parent

Envelope, to which this pattern assigned

weight

Weight (chance) of getting this lettertype

whitelisted_jobs

List of whitelisted jobs. Pattern will be available only if owner assigned role is one of them

whitelisted_quirks

List of whitelisted quirk types. Pattern will be available only if owner has one of them

whitelisted_roundtypes

List of whitelisted roundtypes. (Extended, Dynamic Hard, etc). Pattern will be available only during them

whitelisted_species

List of whitelisted species types. Pattern will be available only if owner has one of them

Proc Details

apply

Proc, that applies settings of this pattern to piece of mail, for example customising text, creating letter and contents

on_mail_open

Special effects of pattern, when envelope is opened

regenerate_weight

Returns weight of selected pattern in accordance to all filters and checks, applied to specific recipient

special_open_check

Special check of pattern, that called by mail/try_open() proc. If returns FALSE, piece of mail will not be open.

text_customisation

Customising text piece for specific recipient