This is somewhat entangled with src/dice.rs and quite entangled with dice/dice/cooldown-template-extractor. Editing these things might need to be done together.