User Tools

Site Tools


codex

This is an old revision of the document!


Codex


A codex is a data type with its data stored as key/value pairs. The key is a unique string and acts as a lookup for its corresponding value within the codex, similar to a dictionary. If loading data from a JSON file and it contains an object with properties, the object will be stored as a codex (see Data Files).

Example:

codex["id": "ITEM_0001", "count": 5]

The codex variable will contain a lookup with keys named “id” and “count”, with corresponding values of the string “ITEM_0001” and a number value of 5.

codex.1655528766.txt.gz · Last modified: 2022/06/17 22:06 by justin