-
-
Notifications
You must be signed in to change notification settings - Fork 44
Home
Elytherion edited this page May 20, 2018
·
21 revisions
The property tables have 3 columns, each of them is explained in the following table.
column | type | description |
---|---|---|
name |
string | The table column header. |
occ or occurrence
|
all or data or l10n
|
Whether the entry occurs in only the data table or only the localization tables or all tables. |
type |
The type to use for the respective field. See what is meant by different types in the table below. | |
description |
string | What the column entries are used for and how they should be used. Referenced JSON interfaces can be found in TypeScript syntax below the respective table. |
If Markdown is used, use \n
characters for line breaks. Also use the styles of the text you copy (like italic or bold texts and lists)!
TODO: Add important or helpful notes for translators here
term | description |
---|---|
String ID |
The respective ID from the id column with a prefix. The specific prefix is mentioned in the id description in the table definition file. |
Numeric ID |
The plain ID integer from the id column. |
Selection-ID or SID
|
Selections (like Trade Secrets, Languages or Hair Colors) do not have an ID prefix. To clarify that this ID is referenced to, the SID term is used. Mostly this ID is numeric-only, in case of skill lists the string ID of the respective entries is used as the SID. |
ID |
If the term ID is used without a numeric or string and refers to a list item that has a string ID, the string ID is meant. If the term is used to refer to an item in an array, the index of the item (imagine a 1-based index) is used as the ID. |
{{ ... }}
|
This might occur in a description for a scheme. If something is written between double curly brackets, insert what mentioned inside those brackets (replace everything, including the outer curly brackets, with the required value). |
type | description |
---|---|
string |
Plain text. |
number |
A plain number. |
boolean |
TRUE or FALSE . |
Array<E, S> |
A list of values of type E . The values are separated by S . The list can be of any length. |
Array<E, S, L> |
A list of values of type E . The values are separated by S . The list is of length L . |
[ ... ]<S> |
This represents a list with a fixed length. The values are separated by S . A list with a string as first element and a number as second element will look like [string, number]<S> . So: The types in the type declaration are separated by , . A fixed list declaration can also include descriptions for the given types, e.g. [value: number, id: string]<S> . |
Examples:
- If a
string
list's separator is a,
, the corresponding type isArray<string, ,>
. - The types
[string, string]<&>
andArray<string, &, 2>
are equal.
Sometimes a symbol might follow a type:
symbol | description |
---|---|
? |
Field can be empty. Example: boolean? . |
Main Tables
- Advantages, Disadvantages, Special Abilties
- Attributes
- Blessings
- Books
- Cantrips
- Combat Techniques
- Cultures
- Equipment
- Experience Levels
- Liturgical Chants
- Profession Variants
- Professions
- Race Variants
- Races
- Skills
- Spells
- UI
Subtables
Additional Tables
Programming
Data Structures