"Dice Rolling": Harlowe (v2.0)

Summary

"Dice Rolling" demostrates how to create the same effects of rolling various physical dice through using the (random:) macro and adding or subtracting numbers.

Live Example

Download: Live Example

Twee Code

:: StoryTitle
Harlowe: Dice Rolling

:: Start
Rolling a 1d4: (random: 1,4)
Rolling a 1d6: (random: 1,6)
Rolling a 1d8: (random: 1,8)
Rolling a 1d10: (random: 1, 10)
Rolling a 1d12: (random: 1, 12)
Rolling a 1d20: (random: 1, 20)
Rolling a 1d100: (random: 1, 100) 
Rolling a 1d4 + 4: (text: (random: 1, 4) + 4)
Rolling a 1d6 - 2: (text: (random: 1, 6) - 2)
Rolling a 2d6 + 10: (text: (random: 1, 6) + (random: 1, 6) + 10)

Download: Twee Code

results matching ""

    No results matching ""