Vǫrðr Forge Steam page

Rûn Language

Rûn Glossary

after block
A program block, after <event>(...) { }, that runs once an engine event has happened. It changes nothing. See Rûn Rule Blocks.
argument
A value handed to a function or method in a call: the 5 in Player.Give("apple", 5).
before block
A program block, before <event>(...) { }, that runs before the engine acts, and may change the values marked changeable or refuse. See Rûn Rule Blocks.
block script
A script in assets/events written with braces and Begin Event, made for scenes. See Block Scripts.
checker
The proofreader that names each mistake in a script with its line: the Text Editor's gutter, the asset manager's Check panel, and check <event> at the console. See Rûn Errors and the Checker.
condition
An expression whose truth decides an if, while, require or a controller.
console
The Rûn Console, where one line runs at once. See Rûn Tools.
controller
A placed object with no picture that runs an event at map start, on a condition, or on a timer. See Events and Triggers.
declaration
A program line that makes a variable with a type: number hp = 30. In assets/run, a struct or enum the project declares.
engine object
One of the objects a program can call without making it: Player, World, Camera, Sky and the rest. See Rûn Engine Objects.
event
A named script the world calls, or one of the engine's own happenings (damage, pickup, levelup) that rule blocks answer.
event script
A script in assets/events made of sections and verbs. Also called a line script. See Line Scripts.
expression
Anything with a value: a number, a name, a call, or these joined by operators.
field
A value an object carries, read with a dot: Player.hp.
flag
A named yes-or-no the world remembers, kept in the save: flag set <name>, World.FlagSet(name).
frame
One step of the game, many times a second. A program's on update runs once a frame.
function
A named part of a program you call with arguments; it may return a value. See Rûn Functions.
hook
Another word for a rule block; also a program function the engine calls by script.Function.
live program
A program with an on update(number dt) block: read once a play, its variables kept between frames and events.
method
A function that belongs to an object, called with a dot: Camera.Shake(1).
nothing
The value of a function that returns none. It prints as none and counts as false.
program
A script in assets/scripts, with braces, variables, functions and engine objects. See Rûn Programs.
reading
A word in an event script condition that reads the world: hp, gold, count(<item>), flag(<name>).
rule block
A before or after block.
section
A named part of a script that the world calls: [use] in an event script, on use { } in a program.
statement
One instruction in a program: a declaration, an assignment, a call, an if, a loop or a return.
text
A piece of writing as a value: "Old Sign" in a program, the rest of the line in an event script.
toggle
A value that is on or off: true, false, and the result of every comparison.
variable
A name that holds a value. See Rûn Variables and Scope.
verb
The first word of an event script line, which says what the line does: say, give, set. Every verb is on the Rûn Verb Index.