mail_pattern
Vars | |
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 |
Procs | |
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 |
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