User Tools

Site Tools


Sidebar

Passage markup

basics

coding

extra

list

section

whitespace

Macros

basics

colour

data structure

date and time

game state

live

maths

number

revision

saving

showing and hiding

string

styling

url

deprecated

Types of data

Special keywords

Special passage tags

harlowe:sidebar

This is an old revision of the document!


Macros

basics

* (set:)Instant * (put:)Instant * (move:)Instant * (print:)Command * (display:)Command * (if:)Changer * (unless:)Changer * (else-if:)Changer * (else:)Changer * (for:)Changer

  • (also known as: (loop:))

* (either:)Any * (enchant:)Command

colour

* (hsl:)Colour * (hsla:)Colour * (rgb:)Colour * (rgba:)Colour

data structure

* (a:)Array

  • (also known as: (array:))

* (dm:)Datamap

  • (also known as: (datamap:))

* (ds:)Dataset

  • (also known as: (dataset:))

* (all-pass:)Boolean * (altered:)Array * (count:)Number * (dataentries:)Array * (datanames:)Array * (datavalues:)Array * (find:)Array * (folded:)Any * (interlaced:)Array * (none-pass:)Boolean * (range:)Array * (repeated:)Array * (rotated:)Array * (shuffled:)Array * (some-pass:)Boolean * (sorted:)Array

date and time

* (current-date:)String * (current-time:)String * (monthday:)Number * (weekday:)String

game state

* (history:)Array * (passage:)Datamap

* (link:)Changer

  • (also known as: (link-replace:))

* (link-reveal:)Changer * (link-repeat:)Changer * (link-goto:)Command * (click:)Changer * (link-undo:)Command * (click-replace:)Changer * (click-append:)Changer * (click-prepend:)Changer * (mouseover:)Changer * (mouseover-replace:)Changer * (mouseover-append:)Changer * (mouseover-prepend:)Changer * (mouseout:)Changer * (mouseout-replace:)Changer * (mouseout-append:)Changer * (mouseout-prepend:)Changer * (go-to:)Command * (undo:)Command

live

* (live:)Changer * (stop:)Command

maths

* (abs:)Number * (cos:)Number * (exp:)Number * (log:)Number * (log10:)Number * (log2:)Number * (max:)Number * (min:)Number * (pow:)Number * (sign:)Number * (sin:)Number * (sqrt:)Number * (tan:)Number

number

* (ceil:)Number * (floor:)Number * (num:)Number

  • (also known as: (number:))

* (random:)Number * (round:)Number

* (alert:)Command * (confirm:)Boolean * (prompt:)String

revision

* (append:)Changer * (prepend:)Changer * (replace:)Changer

saving

* (load-game:)Command * (save-game:)Boolean * (saved-games:)Datamap

showing and hiding

* (hidden:)Changer * (show:)Command

string

* (lowercase:)String * (lowerfirst:)String * (text:)String

  • (also known as: (string:))

* (uppercase:)String * (upperfirst:)String * (words:)Array

styling

* (align:)Changer * (background:)Changer * (css:)Changer * (font:)Changer * (hook:)Changer * (hover-style:)Changer * (text-colour:)Changer

  • (also known as: (colour:))

* (text-rotate:)Changer * (text-style:)Changer * (transition-time:)Changer

  • (also known as: (t8n-time:))

* (transition:)Changer

  • (also known as: (t8n:))

url

* (goto-url:)Command * (open-url:)Command * (page-url:)String * (reload:)Command

deprecated

* (substring:)String * (subarray:)Array

harlowe/sidebar.1497846398.txt.gz · Last modified: 2017/10/09 20:37 (external edit)