CatalogueFormat.txt

txt file icon
Fact Value
Original File CatalogueFormat.txt
Creator
  • Ben Campbell
Wiki Link Search "CatalogueFormat" on creatures.wiki
Tags
File Size: 3 KB

Description(Generated)

Text File Composite

::----- CatalogueFormat.txt -----::
Catalogue File Format
---------------------

Catalogue files (catfiles) are plain text files with a special format.
Fields in a catfile are separated by whitespace (spaces, tabs,
line breaks).

When a number is found in a catfile, a variable containing the current
string ID is set. When a string is found, it is assigned this ID.
The ID variable is then automatically incremented, ready for the next
string.

There is an example at the end of this document.

Strings
-------

All strings are enclosed by double quotes - "this is a string".
Special codes can be embedded within the string using backslash codes.
The supported backslash codes are:

\n   linefeed
\"   a literal double quote
\\   literal backslash

For example, "Dr. Nick:\n\"Hi everybody!\"" would appear as:

Dr. Nick:
"Hi Everybody"

Currently, there is no way to split long strings up over multiple
lines.

Comments
--------

Comments begin with '#' or '*' and run until the end of the line.

Tags
----
 <...truncated>