Missing features
This page lists notable features of Ink
which are currently missing in inkling
.
Some may be implemented, others will be more difficult.
Variable assignment
Assigning new values to variables in the script.
~ rank = "Capitaine"
~ coins = coins + 4
Including other files
Dividing the script into several files and including them in the preamble of the main script.
INCLUDE château.ink
INCLUDE gloomwood.ink
Multiline comments
Using /*
and */
markers to begin and end multiline comments.
Line one /* We can use multiline comments
to split them over several lines,
which may aid readability. */
Line two
Multiline conditionals
Using multiline blocks to create larger if-else or switch statements.
{condition:
if condition content
- else:
else this content
}
{
- condition1:
if condition 1 content
- condition2:
else if condition 2 content
- else:
else this content
}
Labels
Add labels to choices and gather points to refer and divert to them.
* (one) Choice
* (two) Choice
- (gather) Gather
Functions
Calling various types of functions from the script.
Built-in functions
Support for the pre-defined functions of Ink
.
~ result = RANDOM(1, 6)
~ result = POW(3, 2)
Definining functions
Defining functions in the script to print text, modify variables and return calculations.
// Modifying referenced values
=== function add(ref x, value) ===
~ x = x + value
// Modifying global variables
VAR coins = 0
=== function add_wealth(v) ===
~ coins = coins + v
// Writing text
=== function greet(person) ===
Greetings, {person}!
External functions
Begin able to call external Rust functions from the script.