comment: |
Gameki is made up of a bunch of objects we call ‘elements’. An
element can be a piece of paper in your game like an item card or a
greensheet, a character in your game, or something else like a page
on your website, configuration options, meeting notes, or a
documentation page like this one. Each element has a unique, internal
element name that is used to refer to them internally, similar to
the page name in a wiki. For example, this element's element name is
‘<>’. Elements also have a bunch of properties, or
‘props’, each of which has a value. The prop you're currently
reading the ‘comment’ prop, used for notes visible only to GMs.
Other props are things like the public name, the body of a sheet, an
item's number, or a character's CR.
Elements are arranged in a hierarchy where each node has a single
parent. This is both for organization and to allow for prop
inheritance. Most props default to inheriting the parent's value.
This allows for you to, say, create a bunch of swords with the same
mechanical effect but different names and item numbers, or define
how badges look in the [[Character]] element and then have all
characters' badges use this definition. The root of the hierarchy
is the [[Object]] element, which has only a comment prop. This
element's parent is ‘<>’.
Props come in a number of different ‘flavors’ for the different
types of data they represent. This is a ‘text’ prop, for long
passages of text. Other common flavors are ‘string’, for short
pieces of text, ‘integer’, for numbers, and ‘blob’, for uploaded
images.
Continue on to [[EditingIntro]] to learn about editing prop values.