Actions Reference — Cheat Sheet
A compact table of every actions command. Details, examples, and nuances are in
Actions.
| Category | Command | Arguments | What it does |
|---|---|---|---|
| Inventory | add | id:quantity or a flag | Give an item / add a flag |
| Inventory | remove | id:quantity or a flag | Take away an item / remove a flag |
| Inventory | money | number | Change money |
| Inventory | xp | number | Change experience |
| Inventory | reset | relation_N / items | Reset a relation or the whole inventory |
| Relations | + | relation_N:amount | Improve a faction's relation to the player |
| Relations | - | relation_N:amount | Worsen a faction's relation to the player |
| UI | openNotification / showNotification | title, text | Show a notification |
| UI | note | Title:Text | Add a note to the PDA |
| Navigation | openStage | [id] / [chapter, id] | Go to a stage |
| Navigation | openSeller | trader id | Open trading |
| Navigation | syncNow | — | Immediate sync with the server |
| Navigation | exitStory | — | Exit the story |
| Navigation | finishStory | — | Finish the story |
| Sound | playMusic / loopMusic | link | Play a track (once / on loop) |
| Sound | stopMusic | — | Stop the music |
| Sound | playSound / pauseSound | link / — | A sound effect |
| Sound | pauseAllSound / resumeAllSound | — | Pause/resume all sounds |
| Scripts | script / lua | Lua code | Run a script synchronously |
| Scripts | asyncScript / asyncLua | Lua code | Run a script asynchronously |
| Other | showAd | video / simple | Show an ad |
See also the point types reference and the faction reference.