Command line tool that provides useful commands in the context of the pen and paper game Cthulhu.
-
git clone https://github.com/tsabelmann/cthulhu_cmd
-
cd cthulhu_cmd -
poetry install
-
poetry run cthulhu
The Cthulhu command line tool, in form of a REPL, provides two commands: roll and probe. The roll command allows the throwing of dice and the subsequent summation and addition of optional values. The probe command allows the check of ones ability against one thrown D100 with or without additional bonus or malus dice.
A regular dice throw is specified by the amount of dice you want to throw and the dice eyes. The most common dice eyes are 100, 20, 12, 10, 8, 6, 4, and 3.
1d1002D1001w203W101d86D61W42w3
The letters w and W can be used as a shortcut because the german word for die or dice is Würfel.
Values to be added to the final sum consists of a sign, and a value part.
+2-3
roll 1d100roll 2d100 1d10 1d8 1d6 1d4 1d3roll 1d20 +3roll 1d20 +1+2+3probe 50 \\ neither bonus nor malus is appliedprobe 50 b 1probe 50 B 1probe 50 bonus 1probe 50 m 1probe 50 M 1probe 50 malus 1probe 50b1probe 50B1probe 50 b1probe 50B 1probe 50 BOnUs 1probe 50m1probe 50M1probe 50 m1probe 50M 1probe 50 MAlUs 1
The command line tool requires the installation of Poetry.