DisplayRule
Purpose
Shows a message to the player with a close button. No game logic or state changes.
Capabilities/Options
- Basic display: Shows rule text via i18n string
- With grants: Can apply immediate effects while displaying message
- Helper text: Optional
helperTextIdfor additional context
Examples
Basic Display
{
"id": "rule_welcome",
"type": "DisplayRule"
}
Display with Grants
{
"id": "rule_drink_penalty",
"type": "DisplayRule",
"grants": [[{ "type": "self" }, { "effects": { "skippedTurns": ["+", 1] } }]]
}
Display with Helper Text
{
"id": "rule_complex_instruction",
"type": "DisplayRule",
"helperTextId": "rule_complex_instruction_help"
}