LocationFileData

Extension: ".ldata"

LocationFileData defines a location file the game uses to build LocationData.

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.

Image Definitions
Image Definitions

"t" for Tag "Type > String=Type > String"

Defines tags for use in image search and image generation. The second letter of the definition defines the tag type: suggested (t=, ts=), required (tr=) or avoid (ta=). Used in Image Search.
A required tag "type=x" is usually added to FileData automatically. "x" in this case is the FileData type, for example: "type=character", "type=interaction". This can be manually overridden by adding a "type=x" tag in the file.
If not defined: The only tag is "type=x". Image Search will result in a mostly random images.
Example: "tr=type=character"

"g" for Groups "Type > String"

Defines a group for this location. This is used to connect places and location.
If not defined: This location can't have sub-locations or places.
Example: "g=school"

"s" for Sub-Location "Type > String"

Defines a group this location will be a sub-location of.
If not defined: This location can't be a sub-location
Example: "s=school"

"q" for Quantity "Type > Integer"

Defines the amount of instances this location will have at the start of the game.
If not defined: This will be 1.
Example: "q=2"

"j" for Job "Type > String:Type > Integer-Type > Integer"

Defines a job and a range of numbers. A random amount, inside the range, of characters are created.
If not defined: No characters are created, specifically for this location.
Example: "j=student:10-25"

"o" for Open "Type > String"

Defines a lua script. It determines if the place can be visited by the player.
If not defined: The place can always be visited by the player.
Example: "o=isTime(8.0, 16.0)"

"h" for Hidden "Type > String"

Defines a lua script. It determines if the place can be seen by the player.
If not defined: The place can always be seen by the player.
Example: "o=isTime(8.0, 16.0)"