ssod

<dice> Tag Documentation

Overview

The <dice> tag is used in Seven Spells of Destruction to initiate a standard six-sided die roll (1D6) for the current player, storing the result in a temporary state variable for use later in the paragraph logic.

This tag does not produce visible output or alter game text, but it does affect conditional logic through references to the generated dice value (e.g., for <if> tests against the result).

Syntax

<dice>

Behaviour

Example

You come to a rickety bridge across a dark chasm. You must roll a die to determine your fate.

<dice>
<if dice gte 4> You cross safely. <br> <else> The bridge breaks and you fall! <br> <endif>

Notes