TextFileData

Extension: ".textdata"

TextFileData defines text that can be inserted into other text.

After the end definition line, text is defined. For this reason only one TextFileData can be defined per file.

Common Definitions

"e" for End

Defines the end of a FileData.
If not defined: No FileData is defined.

"i" for Identifier "Type > String"

Defines an identifier used for identification of FileData and overriding of some FileData. Identifiers are converted to all lower case during load.
If not defined: Set to name.

"n" for Name "Type > String"

Defines a name used in some FileData.
If not defined: Set to identifier.

"p" for Priority "Type > Integer"

Defines a priority that is used for overriding FileData. Higher priority overrides lower priority.
If not defined: Is set to 0.

"v" for Value "Type > String=(Any Type)"

Defines a value for this file.
If not defined: No Value is set.

"x" for NSFW "Type > Separated Array of Type > String"

Defines the FileData as NSFW, and sets the NSFW categories.
If not defined: FileData is treated as SFW.

"#" for File Tag "Type > Separated Array of Type > String"

Defines file tags that can be used to later in lua scripts.

"@" for Insert Value

Defines a value that is inserted into a given data map.
Example: @=extra=can_take_photo=1

"~" for Skip

Defines this line as being skipped.

"%" for %PRO "Type > Boolean"

Defines if that the text should automatically transform pronouns to %PRO statements. Pronouns always have to be given by male AND female examples separated by a "/". Only separate words are considered for replacement.
See %PRO for more info.

For example:
"she/he" -> %PRO(c0:0:0)
"Himself/Herself" -> %PRO(c0:4:1)

This can also be used for %PROS. If a word ends in "/s", "/es" or "/ies" the whole word is replaced by a %PROS.
See %PROS for more info.

For example:
"look/s" -> %PROS(c0:looks:look)
"do/es" -> %PROS(c0:does:do)
"tr/ies" -> %PROS(c0:tries:try)

If not defined: This is false.
Example: "%=1"