Skip to reading
The Variable Designer

8. Organise, copy and remove variables

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 illustrations
On this page

Good names save time once a game has dozens of puzzles. Keep the ID stable, give it a useful display name and place related records in a database folder. Workshop, Progress and Puzzles/Clockwork are ordinary organisational choices.

Make a separate copy#

1. Select Clock Wound in the record selector.

2. Click Clone Selected, or Duplicate at the bottom of the record form.

3. Inspect the new ID and name. A copy receives its own unique ID, such as clock_wound_copy.

4. Rename and configure the copy for its actual purpose, then apply and save.

Figure 10. A copied variable is a separate record. Changing it does not change clock_wound.

If you intended the new puzzle to share the original state, keep using the original ID instead. Copying the record creates a second value; it does not make an alias for the first one.

Delete with the references in mind#

Select the unwanted record, click Delete and read the confirmation. Deletion can be undone through the editor’s Undo history. Before keeping the deletion, remove or replace actions, GUI tokens and script references that still use that ID.

Renaming or deleting a record does not guarantee that every hand-written script string or text token is repaired. Run Validate, then test the affected interactions. A display-name change is usually simpler than an ID change.

Page 13 of 37Permalink
Go to page