REDNODE / DOCS

Quest test

Example apps / quest-test / v0.1.0

Node modIn the download

Read, watch and set quest facts, read and track journal entries, and move V back to a kept spot: the calls for testing a quest in the running game.

Simulated game starting
Mod log

    The preview's quests system holds a few made-up facts and one journal entry. In the game they are the player's own.

    How it works

    An unset fact reads 0. Setting a fact changes the player's save, so test on a save you can lose.

    quests.watch hears each change as the game makes it, with no polling: REDnode registers a small script listener with the quests system for each name, and registers it again after every save load.

    A journal path names a quest, phase or objective; journal.entry answers null for a path the journal does not have.

    What it uses

    quests.facts quests.watch quests.setFact journal.entry journal.tracked game.player.teleport

    Try this

    Use it

    Copy the files into red4ext/plugins/REDnode/apps/quest-test/ in the game folder, or start your own package from them: change id and name in the manifest first. The whole folder is on GitHub.