Reference
Node types
A node on the map is a door. The node type decides what is behind it.
What it is
A node is a spot on the world map. Each node holds one location: the place with a scene that the player visits. The node type decides how the game chooses that location when the node is set up.
There are three node types.
| Node type | What the game does | What you must give it |
|---|---|---|
| Specific Location | Uses the one location you picked, at its first level | The location |
| Random | Picks any active location in your game, at its first level | Nothing |
| Random of Type | Picks at random from the locations that match a word | A location type, a word such as "shop" or "dungeon" |
Setting it up
- Open the node you want to change in the world admin.
- Set Node Type to Specific Location, Random or Random of Type.
- For Specific Location, choose the place under Select Location.
- For Random of Type, type a word in Location Type.
- Click Create Node for a new node, or Save Changes for an existing one.
In Vespera: the Silent Forge's node Play it
The node called The Silent Forge is a Specific Location node. It shows the location of the same name, so every new game gets the forge in that spot on the map. All six nodes on Vespera's main map are set the same way.
A Random node stays a described example here. Vespera has none, so there is nothing to show.
Good to know
- Every node makes its location in the same way. The location starts with a visit count of 1 if it is the start node and 0 otherwise.
- Random choices are made once. The game picks when it sets up the node. It does not pick again when the player comes back.
- Random of Type is loose. It matches the word anywhere in a location's settings, so a short word can match more than you meant.
Under the hood
- The random choices use ordinary random numbers when the place is set up. They are not tied to the game's id, so two games can get different places.
- The random of a kind choice looks for the word in the location's raw settings text, not in a field of its own. A word that appears anywhere in that text counts as a match.
- If no location matches, or the chosen location is missing, setting up the game fails with an error.
- Comments in the builder mention two more node types, for map links and for geographic regions. They are not offered and not part of the game.