Ink

Custom game functions can be created using the Ink, a narrative scripting language by inkle.