<setglobal> TagThe <setglobal> tag is used to permanently set a global flag in the game state, visible and applicable to all players. It should be used extremely sparingly, as it affects every player in the game world — not just the one who triggers the tag.
GLOBAL_STATE achievement check.Global flags persist across all players and should not be used for personal or narrative decisions unless it is a world-changing event intended to be shared. Misuse may result in unexpected behaviour for other players.
Use only for:
Avoid using for:
<setglobal FLAGNAME>
Where FLAGNAME is any alphanumeric identifier for the flag.
<setglobal crater_opened>
This sets the crater_opened flag globally. All future players can check for this flag using <if crater_opened> to alter world behaviour accordingly.
<if> tags for conditional behaviour.This tag:
game_global_flags table using SQL.>.