Dice Functions for Ink
Dice. Everyone's favourite physical randomness generator. I love dice and how they can make mechanics easy to grok but still be very versatile. I made these functions for use in my Ink projects but they can be plugged into anyone's Ink project easily using the INCLUDE command to link the file.
The functions build up from basic building blocks to more complicated systems with out dictating how you have to use them.
They go from rolling 1 six-sided dice to rolling X number of Y-sided dice against a target number of Z. And throw in M modifiers. There are functions for single successes in a pool of dice, or a total success. Or even counting the number of individual successes in a pool - for example you roll 10 d6 attack dice, how many come up 6?
The demo above is also a tutorial and is made with Atrament Web UI.
In addition this set up can show dice faces. You'll need Atrament to use those functions and for clarity they are in a separate file. Atrament is a versatile web wrapper for ink games. Find it at github.com/technix/atrament-web-ui
Status | Released |
Category | Assets |
Author | Jon Keevy |
Tags | Dice, dice-roller, functions, ink, Text based |
Download
Click download now to get access to the following files:
Comments
Log in with itch.io to leave a comment.
The functions are plug-and-play, so the problem lies with my explanations. I'll work on an update with clearer instructions.