plot

Returns the state of a quest or story: the flags of the plot named in plot. Plot names are the game’s plot files (and a mod’s own), e.g. “bed000pt_main” or “gen00pt_party”; resources with type plo and journal list them.

The answer includes the plot’s name as the journal shows it, its flags, each with flag (number), name, whether it is set, and the journal text of a set flag that has one, and set, the names of all set flags. Pass flag to get just that one.

Flags numbered 256 and up are normally computed by the plot’s script, which this tool does not run; their values are what the game returns without it. Read only.

Read-only: it changes nothing in the game.

Arguments

Name Type Required What
plot string yes The plot’s name, e.g. bed000pt_main.
flag any   One flag to read, by number or name. Default: all flags.

Call it as plot over MCP, or POST /api/tool/plot with the arguments as JSON.