Skip to reading
The Variable Designer

The fields and the two kinds of save

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page
Source table from The fields and the two kinds of save, page 6
Field or buttonHow to use it
Variable IDThe stable key used by actions, scripts and text tokens. Use a short ID such as clock_wound.
NameA readable editor label, such as Clock Wound. The Translate control beside it concerns that name; it does not translate the variable’s stored story text for you.
Value TypeChoose String, Boolean, Array or Number. The matching initial-value control appears below.
Leave Blank At StartStarts the value as null: no value has been supplied yet. It hides the initial-value control.
Initial … ValueThe starting text, checkbox, list or number for the chosen type.
Database FolderOrganises the record in the Database. A slash can create a subfolder, for example Puzzles/Workshop.
Apply ChangesAccepts what you entered into the current record.
Save ProjectSaves the project definitions, including the accepted starting values.
DeleteRequests deletion of the selected record. Read the confirmation before accepting.

Keep IDs predictable#

Use lower-case letters and underscores: clock_wound, workshop_attempts and current_objective. The designer trims surrounding spaces, converts the ID to lower case and replaces spaces with underscores when applying this form. Start with a letter; avoid punctuation.

IDs are exact keys. score, Score and total_score should not be treated as interchangeable in hand-written code. Select the existing record from a reference dropdown where one is offered.

Choose the type before entering the starting value. Switching the type changes the visible editor; it is not a dependable conversion of the value you already entered. Check the new field and enter the value you intend.

Page 6 of 37Permalink
Go to page