![]() | ![]() | |||
| ||||
![]() | ![]() |
Saying
ValuesValues
Making conditions trueControl phrases
If and unlessActions, activities and rules
Trying actionsModel world
Ending the storyUnderstanding
Asking yes/no questionsDefined in the source
Chapter 2 - From the Definitions i6t FileSaying
Values
say "[number]"
Names with articles
say "[an object]"
say "[An object]"
Say if and otherwise
say "[otherwise/else if a condition]"
say "[otherwise/else unless a condition]"
say "[else]"
Say one of
say "[as decreasingly likely outcomes]"
say "[only]"
Paragraph control
say "[conditional paragraph break]"
say "[command clarification break]"
say "[run paragraph on with special look spacing]"
if a paragraph break is pending:
Special characters
Fonts and visual effects
say "[variable letter spacing]"
display the boxed quotation (text)
Some built-in texts
say "[the/-- list of extension credits]"
say "[the/-- complete list of extension credits]"
say "[the/-- player's surroundings]"
Saying lists of things
say "[the contents of object]"
say "[a list of description of objects]"
say "[A list of description of objects]"
say "[list of description of objects]"
say "[the list of description of objects]"
say "[The list of description of objects]"
say "[is-are a list of description of objects]"
say "[is-are list of description of objects]"
say "[is-are the list of description of objects]"
say "[a list of description of objects including contents]"
Group in and omit from lists
group (description of objects) together
group (description of objects) together giving articles
group (description of objects) together as (text)
Lists of values
say "[list of values in brace notation]"
say "[list of objects with definite articles]"
say "[list of objects with indefinite articles]"
Values
Making conditions true
Giving values temporary names
let (a new name) be (name of kind)
let (a new name) be (description of relations of values to values)
let (a new name) be given by (equation name)
let (a temporary named value) be (value)
let (a temporary named value) be given by (equation name)
Changing stored values
change (a stored value) to (value)
change (object) to (enumerated value)
increase (a stored value) by (value)
decrease (a stored value) by (value)
Arithmetic
(arithmetic value) + (arithmetic value) ... value
(arithmetic value) plus (arithmetic value) ... value
(arithmetic value) - (arithmetic value) ... value
(arithmetic value) minus (arithmetic value) ... value
(arithmetic value) * (arithmetic value) ... value
(arithmetic value) times (arithmetic value) ... value
(arithmetic value) multiplied by (arithmetic value) ... value
(arithmetic value) / (arithmetic value) ... value
(arithmetic value) divided by (arithmetic value) ... value
remainder after dividing (arithmetic value) by (arithmetic value) ... value
(arithmetic value) to the nearest (arithmetic value) ... value
square root of (arithmetic value) ... value
cube root of (arithmetic value) ... value
total (arithmetic values valued property) of (description of values) ... value
Enumerations
number of (description of values) ... number
(name of kind) after (enumerated value) ... value
(name of kind) before (enumerated value) ... value
first value of (name of kind) ... value
last value of (name of kind) ... value
Truth states
whether or not (a condition) ... truth state
Randomness
a/-- random (description of values) ... value
a random (name of kind) between (arithmetic value) and (arithmetic value) ... value
a random (name of kind) from (arithmetic value) to (arithmetic value) ... value
a random (name of kind) between (enumerated value) and (enumerated value) ... value
a random (name of kind) from (enumerated value) to (enumerated value) ... value
if a random chance of (number) in (number) succeeds:
seed the random-number generator with (number)
Tables
choose a/the/-- row (number) in/from (table name)
choose a/the/-- row with (table column) of (value) in/from (table name)
choose a/the/-- blank row in/from (table name)
choose a/the/-- random row in/from (table name)
number of rows in/from (table name) ... number
number of blank rows in/from (table name) ... number
number of filled rows in/from (table name) ... number
if there is no (a table entry):
blank out the whole (table column) in/from (table name)
blank out the whole of (table name)
Sorting tables
sort (table name) in random order
sort (table name) in (table column) order
sort (table name) in reverse (table column) order
Indexed text
number of characters in (indexed text) ... number
number of words in (indexed text) ... number
number of punctuated words in (indexed text) ... number
number of unpunctuated words in (indexed text) ... number
number of lines in (indexed text) ... number
number of paragraphs in (indexed text) ... number
character number (number) in (indexed text) ... indexed text
word number (number) in (indexed text) ... indexed text
punctuated word number (number) in (indexed text) ... indexed text
unpunctuated word number (number) in (indexed text) ... indexed text
line number (number) in (indexed text) ... indexed text
paragraph number (number) in (indexed text) ... indexed text
Matching text
if (indexed text) exactly matches the text (indexed text):
if (indexed text) matches the text (indexed text):
number of times (indexed text) matches the text (indexed text) ... number
if (indexed text) exactly matches the regular expression (indexed text):
if (indexed text) matches the regular expression (indexed text):
text matching regular expression ... indexed text
text matching subexpression (number) ... indexed text
number of times (indexed text) matches the regular expression (indexed text) ... number
Replacing text
replace the text (indexed text) in (indexed text) with (indexed text)
replace the regular expression (indexed text) in (indexed text) with (indexed text)
replace the word (indexed text) in (indexed text) with (indexed text)
replace the punctuated word (indexed text) in (indexed text) with (indexed text)
replace character number (number) in (indexed text) with (indexed text)
replace word number (number) in (indexed text) with (indexed text)
replace punctuated word number (number) in (indexed text) with (indexed text)
replace unpunctuated word number (number) in (indexed text) with (indexed text)
replace line number (number) in (indexed text) with (indexed text)
replace paragraph number (number) in (indexed text) with (indexed text)
Casing of text
(indexed text) in lower case ... indexed text
(indexed text) in upper case ... indexed text
(indexed text) in title case ... indexed text
(indexed text) in sentence case ... indexed text
if (indexed text) is in lower case:
if (indexed text) is in upper case:
Lists
add (value) to (list of values)
add (value) at entry (number) in (list of values)
add (list of values) to (list of values)
add (list of values) at entry (number) in (list of values)
remove (value) from (list of values)
remove (list of values) from (list of values)
remove entry (number) from (list of values)
remove entries (number) to (number) from (list of values)
if (value) is listed in (list of values):
if (value) is not listed in (list of values):
list of (description of values) ... value
multiple object list ... list of objects
alter the multiple object list to (list of objects)
Length of lists
number of entries in/of (list of values) ... number
truncate (list of values) to (number) entries/entry
truncate (list of values) to the first (number) entries/entry
truncate (list of values) to the last (number) entries/entry
extend (list of values) to (number) entries/entry
change (list of values) to have (number) entries/entry
Reversing and rotating lists
rotate (list of values) backwards
Sorting lists
sort (list of values) in reverse order
sort (list of values) in random order
sort (list of objects) in (property) order
sort (list of objects) in reverse (property) order
Use options
Relations
show relation (relation of values to values)
next step via (relation of values to values) from (object) to (object) ... object
number of steps via (relation of values to values) from (object) to (object) ... number
list of (name of kind) that/which/whom (relation of values to values) relates ... value
list of (name of kind) to which/whom (relation of values to values) relates ... value
list of (name of kind) that/which/whom (relation of values to values) relates to ... value
list of (name of kind) that/which/who relate to (value) by (relation of values to values) ... value
list of (name of kind) to which/whom (value) relates by (relation of values to values) ... value
list of (name of kind) that/which/whom (value) relates to by (relation of values to values) ... value
if (name of kind) relates to (value) by (relation of values to values):
if (value) relates to (name of kind) by (relation of values to values):
(name of kind) that/which/who relates to (value) by (relation of values to values) ... value
(name of kind) to which/whom (value) relates by (relation of values to values) ... value
(name of kind) that/which/whom (value) relates to by (relation of values to values) ... value
Functional programming
if (value) matches (description of values):
(phrase nothing -> value) applied ... value
(phrase value -> value) applied to (value) ... value
(phrase (value, value) -> value) applied to (value) and (value) ... value
(phrase (value, value, value) -> value) applied to (value) and (value) and (value) ... value
apply (phrase nothing -> nothing)
apply (phrase value -> nothing) to (value)
apply (phrase (value, value) -> nothing) to (value) and (value)
apply (phrase (value, value, value) -> nothing) to (value) and (value) and (value)
(phrase value -> value) applied to (list of values) ... value
(phrase (value, value) -> value) reduction of (list of values) ... value
filter to (description of values) of (list of values) ... value
default value of (name of kind) ... value
Files (for Glulx external files language element only)
read (external file) into (table name)
write (external file) from (table name)
if ready to read (external file):
mark (external file) as ready to read
mark (external file) as not ready to read
write (text) to (external file)
append (text) to (external file)
Figures (for figures language element only)
Glulx resource ID of (figure name) ... number
Sound effects (for sounds language element only)
Glulx resource ID of (sound name) ... number
Control phrases
If and unless
if (a condition):
if (a condition) then (a phrase)
unless (a condition) , (a phrase)
unless (a condition):
otherwise unless (a condition)
otherwise (a phrase)
else if (a condition)
else unless (a condition)
else (a phrase)
While
while (a condition) repeatedly (a phrase)
while (a condition) , (a phrase)
Repeat
repeat with (a new name) running from (arithmetic value) to (arithmetic value):
repeat with (a new name) running from (enumerated value) to (enumerated value):
repeat with (a new name) running through (description of values):
repeat with (a new name) running through (list of values):
repeat through (table name) in reverse order:
repeat through (table name) in (table column) order:
repeat through (table name) in reverse (table column) order:
Changing the flow of loops
Deciding outcomes
decide yes
decide no
Stop or go
Actions, activities and rules
Trying actions
try silently (an action)
Action requirements
if action requires a touchable noun:
if action requires a touchable second noun:
if action requires a carried noun:
if action requires a carried second noun:
Stop or continue
Stored actions
current action ... stored action
action of (an action) ... stored action
try silently (stored action)
if (stored action) involves (object):
action name part of (stored action) ... action name
noun part of (stored action) ... object
second noun part of (stored action) ... object
actor part of (stored action) ... object
Carrying out activities
carry out the (activity) activity
carry out the (activity on values) activity with (value)
Advanced activities
begin the (activity on values) activity with (value)
if handling (activity on values) activity:
if handling (activity on values) activity with (value):
end the (activity on values) activity with (value)
abandon the (activity) activity
abandon the (activity on values) activity with (value)
Following rules
follow (values based rule producing values) for (value)
consider (values based rule producing values) for (value)
(name of kind) produced by (rule producing values) ... value
(name of kind) produced by (values based rule producing values) for (value) ... value
abide by (values based rule producing values) for (value)
anonymously abide by (values based rule producing values) for (value)
Success and failure
rule succeeds with result (value)
outcome of the rulebook ... rulebook outcome
Procedural manipulation
Model world
Ending the story
end the story finally saying (text)
if story has not ended finally:
Times of day
minutes part of (time) ... number
hours part of (time) ... number
Durations
Timed events
(rule) in (number) turn/turns from now
Scenes
Timing of scenes
time since (scene) began ... time
time when (scene) began ... time
time since (scene) ended ... time
time when (scene) ended ... time
Player's identity and location
change the/-- player to (object)
Moving and removing things
move (object) backdrop to all (description of objects)
The map
room (direction) from/of (room) ... room
door (direction) from/of (room) ... door
other side of (door) from (room) ... object
direction of (door) from (room) ... object
room-or-door (direction) from/of (room) ... object
change (direction) exit of (room) to (room)
change (direction) exit of (room) to nothing/nowhere
front side of (object) ... room
back side of (object) ... room
Route-finding
best route from (object) to (object) ... object
number of moves from (object) to (object) ... number
best route from (object) to (object) through (description of objects) ... object
number of moves from (object) to (object) through (description of objects) ... number
The object tree
next thing held after (object) ... object
first thing held by (object) ... object
Score
Understanding
Asking yes/no questions
The player's command
if (snippet) does not match (topic):
if (snippet) includes (topic):
if (snippet) does not include (topic):
Changing the player's command
change the text of the player's command to (indexed text)
Scope and pronouns
place the/-- contents of (object) in scope
set pronouns from possessions of the player
Defined in the source
Chapter 2 - From the Definitions i6t File
end of line token ... grammar token
like 'MY\THESE\HIS' etc ... descriptor property
like 'THE' ... descriptor property
like 'A\AN\SOME' ... descriptor property
'LIT\LIGHTED' ... descriptor property
'UNLIT' ... descriptor property
cannot say invalid snippets run-time problem ... run-time problem
cannot splice invalid snippets run-time problem ... run-time problem
cannot include invalid snippets run-time problem ... run-time problem
bad topic run-time problem ... run-time problem
failure result ... parser result
UNDO's unsupported ... undo reason
because we're parsing the predicate nouns ... scope reason
because we're parsing the addressee ... scope reason
being a preposition ... word usage
usages/usage of (understood word) ... word usage
all possible grammatical cases ... word usage
Chapter 3 - From the Output i6t File
multiple-object list ... 1-based indexes based rulebook producing objects
if we suspect what the second noun will be:
if we do not suspect what the second noun will be:
Chapter 4 - From the Light i6t File
if light can get out of (object):
if light can get into (object):
scope ceiling of (object) ... object
Chapter 5 - From the Language i6t File
synonymous with 'THEN' ... understood word
'ALL' simply to enter the loop ... understood word
'AND\THEN\BUT' ... understood word
if (understood word) is an abbreviation then say its expanded form otherwise:
if (understood word) is invalid then say so otherwise:
if (understood word) cannot be a name or adjective:
Chapter 6 - From the Standard Rules
did the player mean this ... number
issue (number) message for (action name)
issue (number) response (text)
issue (number) response with (object)
issue (text) as (command parser error)
Chapter 7 - From the RTP i6t File
issue (number) run-time message (text)
issue (run-time problem) as (text)
issue (run-time problem) for (snippet) as (text)
Chapter 8 - From the Individual VM's i6t File
(pattern union) as an understood word ... understood word
(understood word) as a number ... number
copy (text) into (1-based indexes based rulebook producing zscii letters)
append (understood word) to (1-based indexes based rulebook producing zscii letters)
Parse (1-based indexes based rulebook producing zscii letters) into (1-based indexes based rulebook producing structs)
result of saving the game state ... undo reason
result of carrying out undoing a game turn ... undo reason
Chapter 9 - From other i6t Files
say "[the/-- current grammar line]"
Chapter - Grammar Line Variables
a bunch of objects ... pattern union
null pattern ... pattern union
noun domain's bunch of objects ... pattern union
noun domain's no match ... pattern union
misunderstood command ... pattern union
if (pattern union) is currently an object:
if (pattern union) is currently an understood word:
(pattern union) as an object ... object
(object) as a successful match ... pattern union
player's understood command ... 0-based indexes based rulebook producing pattern unions
player's saved understood command ... 0-based indexes based rulebook producing pattern unions
previous turn's input ... 1-based indexes based rulebook producing zscii letters
grammar line tokens ... 0-based indexes based rulebook producing grammar tokens
grammar line types ... 0-based indexes based rulebook producing token types
grammar line data ... 0-based indexes based rulebook producing grammar tokens
Chapter - declarations moved forward
an other descriptor ... descriptor kind
a possessive descriptor ... descriptor kind
a THAT descriptor ... descriptor kind
a plural descriptor ... descriptor kind
a lit descriptor ... descriptor kind
an unlit descriptor ... descriptor kind
Chapter - Grammar Token Variables
all items are wanted ... number
Chapter - Match List Variables
match list ... 0-based indexes based rulebook producing objects
match list's groups ... 0-based indexes based rulebook producing numbers
match score list ... 0-based indexes based rulebook producing numbers
Chapter - Words
move (number) word of (1-based indexes based rulebook producing structs) to (number) position
(number) word's address ... 1-based indexes based rulebook producing zscii letters
length of (number) word ... number
next word if any ... understood word
next word from (number) position of (1-based indexes based rulebook producing structs) ... understood word
if (understood word) is listed in (1-based indexes based rulebook producing structs):
Section - A Small Snippet Extension
position part of (snippet) ... number
length in words part of (snippet) ... number
ending position of (snippet) ... number
(snippet) lengthened by (number) ... snippet
(snippet) shortened by (number) ... snippet
single word at/-- (number) ... snippet
insertion point at/-- (number) ... snippet
left edge of (snippet) ... number
right edge of (snippet) ... number
replace (snippet) with (number) in letters from (number)
Section - Snippets
if (snippet) includes (topic):
if (snippet) does not include (topic):
if (snippet) does not match (topic):
Chapter - Unpacking Grammar Lines
size of the grammar line's header ... number
size of a single token in the grammar line ... number
token type at (0-based indexes based rulebook producing grammar tokens) ... token type
grammar token at (0-based indexes based rulebook producing grammar tokens) ... grammar token
if (0-based indexes based rulebook producing grammar tokens) is not at the end of the grammar line:
token properties at (0-based indexes based rulebook producing grammar tokens) ... grammar token
verb's next understand-as line after (0-based indexes based rulebook producing grammar tokens) ... 0-based indexes based rulebook producing grammar tokens
Chapter - Keyboard Primitive
read a command into (1-based indexes based rulebook producing zscii letters) and parse it into (1-based indexes based rulebook producing structs)
Chapter - Reading the Command
number of words TYPED IN AT THE KEYBOARD into (1-based indexes based rulebook producing zscii letters) and (1-based indexes based rulebook producing structs) ... number
Chapter - Parse Token
parsing of (grammar token) as (token type) if any ... parser result
parsing of (grammar token) as (token type) at (number) and (grammar token) ... parser result
Chapter - Parse Token Letter A
actual parsing of (grammar token) as (token type) at (number) and (grammar token) ... parser result
Chapter - Descriptors
Chapter - Parsing Descriptors
parse any descriptors ... command parser error
skip over any descriptor words
Chapter - Preposition Chain
if (understood word) is one of the slashed synonyms that start at position (number):
repeat running (a temporary named value) through the slashed synonyms:
first slashed synonym ... number
last slashed synonym ... number
(grammar token) as an understood word ... understood word
Chapter - Creature
Section - Descriptor Debugging - not for release
Section - Noun Domain
noun domain (object) and (object) under (grammar token) ... pattern union
incomplete noun under (grammar token) ... pattern union
Chapter - Adjudicate
result of adjudicating under (grammar token) ... pattern union
Chapter - ReviseMulti
result of removing elements from the multiple-object list in light of (object) ... command parser error
Chapter - Match List
add (object) to the match list assuming (number) qualifies it
if noun filter disallows (object):
Chapter - ScoreMatchL
how much token agreement's worth ... number
how much being unconcealed's worth ... number
how much the best location's worth ... number
how much the second-best location's worth ... number
how much not being a direction's worth ... number
how much not being scenery's worth ... number
how much not being the actor's worth ... number
how much gender-animation agreement's worth ... number
rank the remaining according to their properties and descriptor words used and their location regarding (grammar token)
Chapter - BestGuess
Chapter - SingleBestGuess
Chapter - Identical
if (object) is not indistinguishable from (object):
if (object) is indistinguishable from (object):
Chapter - Print Command
clarify the parser's choice of (number) element
say "[recap of command from number]"
Chapter - CantSee
if it's more specific decide on (command parser error)
a more specific error if possible ... command parser error
Chapter - Multiple Object List
add (object) to the multiple-object list
remove (object) from the multiple-object list
remove all except (either/or property) objects/things from the multiple-object list
Chapter - Scope
Chapter - Scope Level 0
if (object) is within the scope of (object):
apply (objects based rule) to everything within scope of (object)
Chapter - SearchScope
search the scope of (object) and (object) under (grammar token)
Chapter - ScopeWithin
place the/-- contents of (object) in scope
place the/-- contents of (object) in/into scope excluding (object) under (grammar token)
Chapter - DoScopeActionAndRecurse
recursively do scope action on (object)
recursively do scope action on (object) excluding (object) under (grammar token)
Chapter - DoScopeAction
Chapter - Parsing Object Names
if (object) is the antecedent for (understood word):
Chapter - TryGivenObject
how many words (object) can match ... number
(number) after (truth state) and plurality of (object) ... number
Chapter - Refers
if word at (number) can refer to (object):
if (understood word) is understood as (object) per its (understood words valued property):
Chapter - NounWord
Nth pronoun ... understood word
possibility that it's a noun ... understood word
Chapter - TryNumber
number typed in by the player at (number) ... number
Chapter - Gender
gender-animation of (object) ... number
Chapter - Noticing Plurals
if any plural words exist starting at (number) for (number):
Chapter - Pronoun Handling
change (understood word) to (object)
what (understood word) stands for ... object
gender-animation usages for (object) ... word usage
Chapter - Yes/No Questions
Chapter - Number Words
(understood word) as digits ... number
Chapter - Choose Objects
maximum possible does-the-player-mean score ... number
alternate match list ... 0-based indexes based rulebook producing objects
swap the match list with the alternate match list
how much does the player mean (object) ... number
parser's returned action ... action name
parser's returned noun ... object
parser's returned second noun ... object
disambiguating score for (object) combined with (object) ... number
Chapter 1 - Understood Words
a word unknown by the game ... understood word
no more words left to parse ... understood word
ME the player ... understood word
Chapter 2 - ZSCII Letters
(zscii letter) as a numeric digit ... number
Chapter 3 - New Command Parser Errors
no errors here ... command parser error
Chapter 4 - Bit Twiddling
if (enumerated value) includes/include (enumerated value):
if (enumerated value) includes/include any of (enumerated value):
if (enumerated value) does not include (enumerated value):
(enumerated value) + (enumerated value) ... value
(enumerated value) excluding (enumerated value) ... value
include (enumerated value) in (enumerated value)
exclude (enumerated value) from (enumerated value)
exclude all except (enumerated value) from (enumerated value)
exclude all possibilities from (enumerated value)
Chapter 5 - Truth States as 'We' Commands
if we still/should/-- (truth state):
if we cannot/shouldn't/haven't (truth state):
we will/should/just/now/still/may (truth state) again/--
we no longer have/-- (truth state)
we needn't/shouldn't (truth state)
we will/should/may (truth state) if (a condition)
Chapter 7 - Pointer Arithmetic
(1-based indexes based rulebook producing zscii letters) advanced to (number) ... 1-based indexes based rulebook producing zscii letters
advance (0-based indexes based rulebook producing grammar tokens) by (number)
Chapter 8 - Bug Fixes
if (a temporary named value) holds the property (either/or property):
Chapter 10 - Alternatives (for use without Alternatives by Eric Eve)
if (value) is either (value) or (value):
if (value) is either (value) or (value) or (value):
if (value) is either (value) or (value) or (value) or (value):
if (value) is either (value) or (value) or (value) or (value) or (value):
if (value) is neither (value) nor (value):
if (value) is neither (value) nor (value) nor (value):
if (value) is neither (value) nor (value) nor (value) nor (value):
if (value) is neither (value) nor (value) nor (value) nor (value) nor (value):
Section 1 - Object Tree and Properties
if (object) is directly in (object):
if (object) doesn't have (object):
if (object) is a supporter or container:
if (object) provides the property (either/or property) directly:
if (object) does not provide the property (either/or property) directly:
hidden (property) of (object) ... value
animate ... either/or property
talkable ... either/or property
name list ... understood words valued property
parse name rule ... rules valued property
scope extender ... rules valued property
linguistically male ... either/or property
default gender for animate things ... either/or property
default gender for inanimate things ... either/or property
repeat with (a new name) running through the possessed nodes of (object):
repeat with (a new name) running through the incorporated nodes of (object):
Section 2 - Control
if (word value) is not currently blank:
if (word value) is currently blank:
virtual machine's wordsize ... number
maximum number of things understood at once ... number
Section 3 - Rules and Routines
nothing rule ... rule producing truth states
if (rule producing truth states) returns true:
consider (objects based rule) for (object) directly
consider (rules valued property) of (object) directly
(topic) applied to (snippet) ... parser result
(topic) applied to (number) ... parser result
(rules valued property) of (object) considered directly ... number
if (word value) is currently a rule:
if (pointer value) is currently a rule:
(understood words valued property) rule considered for (understood word) and (object) ... understood words valued property
Section 1 - Debugging Built in to Parser i6t
if TRACE (number) , (a phrase)
if the choose objects debugging option is active , (a phrase)
(value) as a debugging number ... number
Section 2 - Debugging this - not for release
say "[1-based indexes based rulebook producing zscii letters]"
Chapter 13 - Use-Options for Languages Other Than English
if (use option) is active , decide per non-English rules if the word at (number) refers to (object)
Chapter 14 - Typecasts
if (understood words valued property) are a/an/-- invalid list/--:
if (understood words valued property) as a truth state:
if (property) are currently a rule:
(rule producing truth states) as an adjective ... either/or property
at (number) position ... number
(number) as a grammar token ... grammar token
(grammar token) as a number ... number
(object) as a number ... number
Chapter - Arrays in Inform 7
chosen array ... 1-based indexes based rulebook producing zscii letters
(name of kind) element ... value
player's input buffer ... 1-based indexes based rulebook producing zscii letters
secondary input buffer ... 1-based indexes based rulebook producing zscii letters
AGAIN input buffer ... 1-based indexes based rulebook producing zscii letters
maximum buffer size ... number
player's parsed command ... 1-based indexes based rulebook producing structs
second parsed command ... 1-based indexes based rulebook producing structs
word element ... understood word
multiple-object list ... 1-based indexes based rulebook producing objects
language's number list ... 1-based indexes based rulebook producing structs
spelled-out number element ... understood word
number as digits element ... number
as a spelled-out number ... struct
language's pronoun list ... 1-based indexes based rulebook producing structs
pronoun element ... understood word
gender-animation element ... word usage
change the (number) antecedent element to (object)
as one of the pronouns ... struct
as one of the antecedents ... struct
language's descriptor list ... 1-based indexes based rulebook producing structs
descriptor element ... understood word
category element ... descriptor property
possessive descriptor element ... understood word
as one of the descriptors ... struct
'MY\THIS\THESE' ... understood word
'THAT\THOSE' ... understood word
Chapter - Get and Set a particular element for arrays of word values
(number) element of (1-based indexes based rulebook producing word values) ... value
(number) element of (0-based indexes based rulebook producing word values) ... value
change (number) element of (1-based indexes based rulebook producing word values) to (word value)
change (number) element of (0-based indexes based rulebook producing word values) to (word value)
change (0-based indexes based rulebook producing word values) element to (word value)
(1-based indexes based rulebook producing word values) element ... value
(0-based indexes based rulebook producing word values) element ... value
Chapter - Get and Set a particular element for arrays of letters
change (number) letter of (1-based indexes based rulebook producing zscii letters) to (zscii letter)
(number) letter of (1-based indexes based rulebook producing zscii letters) ... zscii letter
(1-based indexes based rulebook producing zscii letters) letter ... zscii letter
say "[1-based indexes based rulebook producing zscii letters between/from number and/to number]"
Section 1 - Get and Set the array size for 1-based arrays only
number of elements in/of (1-based indexes based rulebook producing word values) ... number
change (1-based indexes based rulebook producing word values) to have (number) elements
Section 2 - Searches, Loops, and Ifs
repeat through (0-based indexes based rulebook producing values) of size (number):
repeat through (0-based indexes based rulebook producing values) of size (number) starting at (number):
repeat through (1-based indexes based rulebook producing values):
repeat through all (number) columns of (1-based indexes based rulebook producing structs):
if (value) is listed in (0-based indexes based rulebook producing values) of size (number) , (a phrase)
if (value) is listed in (0-based indexes based rulebook producing values) of size (number):
if (value) is listed in (1-based indexes based rulebook producing values) , (a phrase)
if (word value) is listed (struct) in/from (1-based indexes based rulebook producing structs):
if (value) is listed in (1-based indexes based rulebook producing values):
if (value) is listed in (1-based indexes based rulebook producing values) between (number) and (number):
fill (1-based indexes based rulebook producing zscii letters) with (zscii letter) starting at (number) for (number) elements
shift (1-based indexes based rulebook producing zscii letters) left by (number) starting at (number)
shift (1-based indexes based rulebook producing word values) left between/from (number) and/to (number) using (a new name)
shift (0-based indexes based rulebook producing word values) left between/from (number) and/to (number) using (a new name)
insert (number) elements into (1-based indexes based rulebook producing zscii letters) at (number)
copy (number) elements FROM (1-based indexes based rulebook producing zscii letters) at (number) TO (1-based indexes based rulebook producing zscii letters) at (number)
copy (number) letters from (1-based indexes based rulebook producing zscii letters) to (1-based indexes based rulebook producing zscii letters)
copy (1-based indexes based rulebook producing zscii letters) into (1-based indexes based rulebook producing zscii letters)
(0-based indexes based rulebook producing objects) as a letter array ... 1-based indexes based rulebook producing zscii letters
copy (number) chosen objects from (0-based indexes based rulebook producing objects) to (0-based indexes based rulebook producing objects)
append a/an/-- (zscii letter) to (1-based indexes based rulebook producing zscii letters)
append (number) letters from (1-based indexes based rulebook producing zscii letters) to (1-based indexes based rulebook producing zscii letters)
append (value) to (0-based indexes based rulebook producing values) of size (a number that varies)
Section - For use by WDYM element grouping
if we should say the group as A\AN\SOME:
we should say (number) as A\AN\SOME
repeat through the first item of each group:
if an/a/-- (a new name) indistinguishable element is listed in (0-based indexes based rulebook producing objects):
Chapter - Array-based Properties
hidden (property) array of (object) ... object
size of (word values valued property) of (object) ... number
repeat through (property) of (object):
if (understood word) is listed in (understood words valued property) of (object) , (a phrase)
Book - (for Z-machine only)
if (0-based indexes based rulebook producing word values) is currently a rule:
(number) -th/-- word --/element of (1-based indexes based rulebook producing structs) ... understood word
(number) -th/-- word's length --/element of (1-based indexes based rulebook producing structs) ... number
(number) -th/-- word's position --/element of (1-based indexes based rulebook producing structs) ... number
(number) -th/-- word's real position --/element of (1-based indexes based rulebook producing structs) ... number
change (number) word of (1-based indexes based rulebook producing structs) to (understood word)
change (number) word's length of (1-based indexes based rulebook producing structs) to (number)
change (number) word's position of (1-based indexes based rulebook producing structs) to (number)
number of words in/of (1-based indexes based rulebook producing structs) ... number
number of letters in/of (1-based indexes based rulebook producing zscii letters) ... number
unpack (an action name that varies) and whether (a truth state that varies) from (0-based indexes based rulebook producing grammar tokens)
Miscellaneous
desired part of (struct) ... number
maximum part of (struct) ... number
struct with desired part (number) maximum part (number) ... struct
Lexicon of words used in descriptions
For instance, the description 'an unlocked door' is made up from the adjective 'unlocked' and the noun 'door', both of which can be found below. Property adjectives, like 'open', can be used when creating things - 'In the Ballroom is an open container' is allowed because 'open' is a property - but those with complicated definitions, like 'empty', can only be tested during play, e.g. with rules like 'Instead of taking an empty container, ...'.
'<adjective>' ... noun, value of token type
'<description of values>' ... noun, value of token type
'<grammar token>' ... noun, value of token type
'<understand token>' ... noun, value of token type
'<understood word>' ... noun, value of token type
'any <description of objects>' ... noun, value of token type
'number' ... noun, value of grammar token
'other things' ... noun, value of grammar token
'someone' ... noun, value of grammar token
'something preferably held' ... noun, value of grammar token
'text' ... noun, value of grammar token
'things inside' ... noun, value of grammar token
'things preferably held' ... noun, value of grammar token
'things' ... noun, value of grammar token
'understood word' ... noun, value of grammar token
0-based-array ... noun, value of 0-based index
1-based-array ... noun, value of 1-based index
a ... indefinite article
able to be seen by, to be ... verb
able to be touched by, to be ... verb
active ... adjective: (of use option) it has been requested in the source text
adjacent ... adjective: (of room) A room is adjacent if it is adjacent to the location
all ... determiner used in conditions: 'if all of the doors are open'
all but ... determiner used to count things: 'all but three containers'
all except ... determiner - see all but
almost all ... determiner used in conditions: true if 80 percent or more possibilities work
almost no ... determiner used in conditions: true if fewer than 20 percent of possibilities work
an ... indefinite article - see a
animal ... noun, a kind of person
aren't holding that error ... noun, value of command parser error
at least ... determiner used to count things: 'at least five doors'
at most ... determiner - see at least
backdrop ... noun, a kind of thing
backdrops in regions only run-time problem ... noun, value of run-time problem
because we're looping over scope ... noun, value of scope reason
because we're testing scope ... noun, value of scope reason
being a verb ... noun, value of word usage
being out of world ... noun, value of word usage
being plural ... noun, value of word usage
can only do that to something animate error ... noun, value of command parser error
can only use multiple objects error ... noun, value of command parser error
can't begin w/commas error ... noun, value of command parser error
can't see addressee error ... noun, value of command parser error
can't see any such thing error ... noun, value of command parser error
can't see it at the moment error ... noun, value of command parser error
can't talk to inanimate objects error ... noun, value of command parser error
can't understand sentence subjects error ... noun, value of command parser error
can't use addressee w/AGAIN error ... noun, value of command parser error
can't use multiple objects error ... noun, value of command parser error
carried ... adjective: (of thing) a thing is carried if the player is carrying it
closed ... adjective: (of object) either/or property of door, opposite of open
concealed ... adjective: (of thing) Something is concealed rather than unconcealed if the holder of it conceals it
container ... noun, a kind of thing
dark ... adjective: (of object) either/or property of room, opposite of lighted
described ... adjective: (of object) either/or property of thing, opposite of undescribed
device ... noun, a kind of thing
didn't understand error ... noun, value of command parser error
didn't understand that number error ... noun, value of command parser error
didn't understand the way that finished error ... noun, value of command parser error
direction ... noun, a kind of object
does this allow multiple objects ... noun, value of scope reason
door ... noun, a kind of thing
each ... determiner - see all
edible ... adjective: (of object) either/or property of thing, opposite of inedible
empty ... adjective:
1. (of text) a text is empty rather than non-empty if it is "";
2. (of indexed text) it contains no characters;
3. (of table name) a table name is empty rather than non-empty if the number of filled rows in it is 0;
4. (of rulebook) it contains no rules, so that following it does nothing and makes no decision;
5. (of activity) its before, for and after rulebooks are all empty;
6. (of list of k) it contains no entries;
7. (of relation) it does not relate any values, that is, R (x, y) is false for all x and y
enterable ... adjective: (of object) either/or property of container or supporter
Entire Game ... noun, value of scene
equivalence ... adjective: (of relation) it is an equivalence relation, that is, it relates in groups
even ... adjective: (of number) a number is even rather than odd if the remainder after dividing it by 2 is 0
every ... determiner - see all, and can also be used in generalisations such as 'A nose is part of every person.'
exactly ... determiner whereas 'if two doors are open' implicitly means 'if at least two doors are open', 'if exactly two...' makes the count precise
excepted something not included error ... noun, value of command parser error
female ... adjective: (of object) either/or property of person, opposite of male
fewer than ... determiner pedantic way to say less than when counting
Figure of cover ... noun, value of figure name
fixed in place ... adjective: (of object) either/or property of thing, opposite of portable
full ... adjective: (of table name) a table name is full rather than non-full if the number of blank rows in it is 0
going on ... adjective: (of activity) one of its three rulebooks is currently being run
handled ... adjective: (of object) either/or property of thing
happening ... adjective: (of scene) is currently taking place
held ... adjective: (of thing) a thing is held if the player is holding it
I beg your pardon error ... noun, value of command parser error
identifying identical things ... noun, value of parser action
identifying plurals ... noun, value of parser action
improper-named ... adjective: (of object) either/or property of object, opposite of proper-named
inactive ... adjective: (of use option) opposite of active
incorporated by, to be ... verb
inedible ... adjective: (of object) either/or property of thing, opposite of edible
invalid scope reason ... noun, value of scope reason
invalid understood word ... noun, value of understood word
invalid word usage ... noun, value of word usage
invalid ZSCII letter ... noun, value of ZSCII letter
invalid-descriptor-property ... noun, value of descriptor property
invisible ... adjective: (of thing) opposite of visible
less than ... determiner - see more than
lighted ... adjective: (of object) either/or property of room, opposite of dark
lit ... adjective: (of object) either/or property of thing, opposite of unlit
locale-supportable ... adjective: (of thing) a thing (called the item) is locale-supportable if the item is not scenery and the item is not mentioned and the item is not undescribed
lockable ... adjective: (of object) either/or property of door or container
locked ... adjective: (of object) either/or property of door or container, opposite of unlocked
male ... adjective: (of object) either/or property of person, opposite of female
man ... noun, a kind of person
mapped down of, to be ... verb
mapped east of, to be ... verb
mapped north of, to be ... verb
mapped northeast of, to be ... verb
mapped northwest of, to be ... verb
mapped outside, to be ... verb
mapped south of, to be ... verb
mapped southeast of, to be ... verb
mapped southwest of, to be ... verb
mapped west of, to be ... verb
marked for listing ... adjective: (of object) either/or property of thing or direction, opposite of unmarked for listing
mentioned ... adjective: (of object) either/or property of thing, opposite of unmentioned
misc descriptors ... noun, value of descriptor kind
more than ... determiner used to count things: 'more than three rooms'
most ... determiner used in conditions: true if a simple majority of possibilities work
multiple result ... noun, value of parser result
negative ... adjective: (of number) a number is negative if it is less than zero
neuter ... adjective: (of object) either/or property of person
no ... determiner opposite of 'all': 'if no door is open...'
no further saved state exists to return to ... noun, value of UNDO reason
non-empty ... adjective:
1. (of text) opposite of empty;
2. (of indexed text) opposite of empty;
3. (of table name) opposite of empty;
4. (of rulebook) opposite of empty;
5. (of activity) opposite of empty;
6. (of list of k) opposite of empty;
7. (of relation) opposite of empty
non-full ... adjective: (of table name) opposite of full
non-recurring ... adjective: (of scene) either/or property of scene, opposite of recurring
none ... determiner opposite of 'all of': 'if none of the doors is open...'
not a verb I recognise error ... noun, value of command parser error
not enough of those available error ... noun, value of command parser error
not something you need to refer to error ... noun, value of command parser error
not sure what it refers to error ... noun, value of command parser error
nothing to do error ... noun, value of command parser error
nothing to repeat error ... noun, value of command parser error
noun did not make sense in that context error ... noun, value of command parser error
numeric result ... noun, value of parser result
odd ... adjective: (of number) opposite of even
off-stage ... adjective: (of thing) opposite of on-stage
on-stage ... adjective: (of thing) it is indirectly in one of the rooms
one-to-one ... adjective: (of relation) it is a one-to-one relation, that is, any given X can relate to only one Y, and vice versa
one-to-various ... adjective: (of relation) it is a one-to-various relation, that is, any given Y has only one X such that X relates to Y
only understood as far as error ... noun, value of command parser error
opaque ... adjective: (of object) either/or property of container, opposite of transparent
open ... adjective: (of object) either/or property of door or container, opposite of closed
openable ... adjective: (of object) either/or property of door or container, opposite of unopenable
parsing normally ... noun, value of parser action
person ... noun, a kind of thing
player's holdall ... noun, a kind of container
please add eligible objects to scope ... noun, value of scope reason
please report the noun not making sense in this context ... noun, value of scope reason
plural-named ... adjective: (of object) either/or property of object, opposite of singular-named
portable ... adjective: (of object) either/or property of thing, opposite of fixed in place
positive ... adjective: (of number) a number is positive if it is greater than zero
privately-named ... adjective: (of object) either/or property of room, region, thing or direction, opposite of publically-named
proper-named ... adjective: (of object) either/or property of object, opposite of improper-named
publically-named ... adjective: (of object) either/or property of room, opposite of privately-named
pushable between rooms ... adjective: (of object) either/or property of thing
ready to UNDO ... noun, value of UNDO reason
recurring ... adjective: (of scene) either/or property of scene, opposite of non-recurring
referred to a determination of scope error ... noun, value of command parser error
region ... noun, a kind of object
room ... noun, a kind of object
said too little error ... noun, value of command parser error
scenery ... adjective: (of object) either/or property of thing
singular-named ... adjective: (of object) either/or property of object, opposite of plural-named
some ... indefinite article
supporter ... noun, a kind of thing
switched off ... adjective: (of object) either/or property of device, opposite of switched on
switched on ... adjective: (of object) either/or property of device, opposite of switched off
symmetric ... adjective: (of relation) it is a symmetric relation, that is, it's always true that X is related to Y if and only if Y is related to X
that special word ... noun, value of pattern union
the ... definite article
the same property as, to be ... verb
thing ... noun, a kind of object
touchable ... adjective: (of thing) Something is touchable rather than untouchable if the player can touch it
transparent ... adjective: (of object) either/or property of container, opposite of opaque
unable to be seen by, to be ... verb
unable to be touched by, to be ... verb
unable to touch, to be ... verb
unconcealed ... adjective: (of thing) opposite of concealed
under half ... determiner used in conditions: true if fewer than half of possibilities work
undescribed ... adjective: (of object) either/or property of thing, opposite of described
UNDO succeeded ... noun, value of UNDO reason
unlit ... adjective: (of object) either/or property of thing, opposite of lit
unlocked ... adjective: (of object) either/or property of door, opposite of locked
unmarked for listing ... adjective: (of object) either/or property of thing, opposite of marked for listing
unmentioned ... adjective: (of object) either/or property of thing, opposite of mentioned
unopenable ... adjective: (of object) either/or property of door, opposite of openable
untouchable ... adjective: (of thing) opposite of touchable
unvisited ... adjective: (of object) either/or property of room, opposite of visited
various-to-one ... adjective: (of relation) it is a various-to-one relation, that is, any given X relates to only one Y
various-to-various ... adjective: (of relation) it is a various-to-various relation, that is, there are no limitations on how many X can relate to a given Y, or vice versa
vehicle ... noun, a kind of container
visible ... adjective: (of thing) Something is visible rather than invisible if the player can see it
visited ... adjective: (of object) either/or property of room, opposite of unvisited
wearable ... adjective: (of object) either/or property of thing
which ... connective used to place a further condition on a description: 'A which is B', or 'A which carries B', for instance.
who ... connective - see which.
woman ... noun, a kind of person
worn ... adjective: (of thing) a thing is worn if the player is wearing it
name | category | relates this... | ...to this |
equality | equality | value | value |
provision | provision | value | property |
numerically-greater-than | numeric | arithmetic value | arithmetic value |
numerically-less-than | numeric | arithmetic value | arithmetic value |
numerically-greater-than-or-equal-to | numeric | arithmetic value | arithmetic value |
numerically-less-than-or-equal-to | numeric | arithmetic value | arithmetic value |
containment | spatial | container/room | thing |
support | spatial | supporter | thing |
incorporation | spatial | thing | thing |
carrying | spatial | person | thing |
holding | spatial | person | thing |
wearing | spatial | person | thing |
possession | spatial | person | thing |
visibility | spatial | thing | thing |
touchability | spatial | thing | thing |
concealment | spatial | thing | thing |
enclosure | spatial | thing | thing |
adjacency | spatial | room | room |
regional-containment | spatial | region | room/region |
mapping north | map | room/door | room/door |
mapping northeast | map | room/door | room/door |
mapping northwest | map | room/door | room/door |
mapping south | map | room/door | room/door |
mapping southeast | map | room/door | room/door |
mapping southwest | map | room/door | room/door |
mapping east | map | room/door | room/door |
mapping west | map | room/door | room/door |
mapping up | map | room/door | room/door |
mapping down | map | room/door | room/door |
mapping inside | map | room/door | room/door |
mapping outside | map | room/door | room/door |
leading-through | one-to-various | room | door |
lock-fitting | one-to-various | thing | thing |
To be a part of ... reversed incorporation
To be able to be seen by ... reversed visibility
To be able to be touched by ... reversed touchability
To be able to see ... visibility
To be able to touch ... touchability
To be adjacent to ... reversed adjacency
To be at least ... numerically-greater-than-or-equal-to
To be at most ... numerically-less-than-or-equal-to
present: A is B; A are B
past: A was B; A were B
present perfect: A has been B; A have been B
past perfect: A had been B
To be carried by ... reversed carrying
present: A do carry B; A does carry B; A carries B; A carry B
past: A did carry B; A carried B
present perfect: A has carried B; A have carried B
past perfect: A had carried B
present: A do conceal B; A does conceal B; A conceals B; A conceal B
past: A did conceal B; A concealed B
present perfect: A has concealed B; A have concealed B
past perfect: A had concealed B
To be concealed by ... reversed concealment
To be concealing ... concealment
present: A do contain B; A does contain B; A contains B; A contain B
past: A did contain B; A contained B
present perfect: A has contained B; A have contained B
past perfect: A had contained B
To be contained by ... reversed containment
To be contained in ... reversed containment
To be containing ... containment
present: A do enclose B; A does enclose B; A encloses B; A enclose B
past: A did enclose B; A enclosed B
present perfect: A has enclosed B; A have enclosed B
past perfect: A had enclosed B
To be enclosed by ... reversed enclosure
To be greater than ... numerically-greater-than
To be had by ... reversed possession
present: A do have B; A does have B; A has B; A have B
past: A did have B; A had B
present perfect: A has had B; A have had B
past perfect: A had had B
To be held by ... reversed holding
To be held in ... reversed containment
To be held inside ... reversed containment
present: A do hold B; A does hold B; A holds B; A hold B
past: A did hold B; A held B
present perfect: A has held B; A have held B
past perfect: A had held B
To be in ... reversed containment
To incorporate ... incorporation
present: A do incorporate B; A does incorporate B; A incorporates B; A incorporate B
past: A did incorporate B; A incorporated B
present perfect: A has incorporated B; A have incorporated B
past perfect: A had incorporated B
To be incorporated by ... reversed incorporation
To be incorporating ... incorporation
To be inside ... reversed containment
To be less than ... numerically-less-than
To be mapped above ... mapping up
To be mapped below ... mapping down
To be mapped down of ... mapping down
To be mapped east of ... mapping east
To be mapped inside ... mapping inside
To be mapped north of ... mapping north
To be mapped northeast of ... mapping northeast
To be mapped northwest of ... mapping northwest
To be mapped outside ... mapping outside
To be mapped south of ... mapping south
To be mapped southeast of ... mapping southeast
To be mapped southwest of ... mapping southwest
To be mapped up of ... mapping up
To be mapped west of ... mapping west
To be on top of ... reversed support
To be part of ... reversed incorporation
To be parts of ... reversed incorporation
present: A do provide B; A does provide B; A provides B; A provide B
past: A did provide B; A provided B
present perfect: A has provided B; A have provided B
past perfect: A had provided B
To be provided by ... reversed provision
To be regionally in ... reversed regional-containment
present: A do relate B; A does relate B; A relates B; A relate B
past: A did relate B; A related B
present perfect: A has related B; A have related B
past perfect: A had related B
To be related by ... reversed universal
To be able to see ... visibility
present: B can be seen by A; A can see B
past: B could be seen by A; A could see B
present perfect: A has ever seen B; A have ever seen B
past perfect: A had ever seen B
present: A do support B; A does support B; A supports B; A support B
past: A did support B; A supported B
present perfect: A has supported B; A have supported B
past perfect: A had supported B
To be supported by ... reversed support
To be supported on ... reversed support
To be the same property as ... same-specification-as
To be through ... leading-through
To be able to touch ... touchability
present: B can be touched by A; A can touch B
past: B could be touched by A; A could touch B
present perfect: A has ever touched B; A have ever touched B
past perfect: A had ever touched B
To be unable to be seen by ... reversed visibility
To be unable to be touched by ... reversed touchability
To be unable to see ... visibility
To be unable to touch ... touchability
present: A do unlock B; A does unlock B; A unlocks B; A unlock B
past: A did unlock B; A unlocked B
present perfect: A has unlocked B; A have unlocked B
past perfect: A had unlocked B
To be unlocked by ... reversed lock-fitting
present: A do wear B; A does wear B; A wears B; A wear B
past: A did wear B; A wore B
present perfect: A has worn B; A have worn B
past perfect: A had worn B