Difference between revisions of "Verbs and commands"
From ADRIFT 5 Manual Wiki
(Simplified by moving extra detail to Standard Library page) |
m |
||
Line 3: | Line 3: | ||
The words between % symbols in the left colomb are called [[Tasks#References|references]], and are replaced by the name of an actual object in the game. | The words between % symbols in the left colomb are called [[Tasks#References|references]], and are replaced by the name of an actual object in the game. | ||
− | :%object% is the name of any static or dynamic object, eg. 'pen' or 'large red ball'. If it is in plural form | + | :%object% is the name of any static or dynamic object, eg. 'pen' or 'large red ball'. If it is in the plural form %objects%, then you can also use "All" to perform this command on all relevant objects. |
:%character% is either the proper name or descriptor of a character, eg. 'john doe' or 'tall man'. | :%character% is either the proper name or descriptor of a character, eg. 'john doe' or 'tall man'. | ||
:%direction% can only be a compass direction, up, down, in or out. | :%direction% can only be a compass direction, up, down, in or out. | ||
:%number% can be any number. | :%number% can be any number. | ||
:%text% can be anything. | :%text% can be anything. | ||
− | |||
− | |||
[[File:IconWarning.png]] UNDER CONSTRUCTION - THIS SECTION IS INCOMPLETE. | [[File:IconWarning.png]] UNDER CONSTRUCTION - THIS SECTION IS INCOMPLETE. |
Revision as of 04:41, 21 December 2011
The ADRIFT 5 standard library provides a large number of pre-defined commands to perform many of the common actions that are required in an adventure game. This is a summary of the standard commands. For more detailed information, command abreviations and alternate wording, go to The Standard Library page.
The words between % symbols in the left colomb are called references, and are replaced by the name of an actual object in the game.
- %object% is the name of any static or dynamic object, eg. 'pen' or 'large red ball'. If it is in the plural form %objects%, then you can also use "All" to perform this command on all relevant objects.
- %character% is either the proper name or descriptor of a character, eg. 'john doe' or 'tall man'.
- %direction% can only be a compass direction, up, down, in or out.
- %number% can be any number.
- %text% can be anything.
UNDER CONSTRUCTION - THIS SECTION IS INCOMPLETE.
Inventory Commands
Command | Action |
---|---|
drop %objects% | object in inventory is put on the ground |
get %objects% | pick up a dynamic object from current location |
get %objects% from %object% | Take an object that is inside or on top of another object |
give %objects% to %character% give %character% %objects% |
object in inventory goes to another characters inventory |
Inventory | Lists what the player is currently wearing & holding |
offer %objects% to %character% offer %character% %objects% |
object in inventory goes to another characters inventory |
pick up %objects% pick %objects% up |
pick up a dynamic object from current location |
pick up %objects% from %object% pick %objects% up from %object% |
Take an object that is inside or on top of another object |
put down %objects% put %objects% down |
object in inventory is put on the ground |
put %objects% in %object% | object in inventory is put into a container |
put %objects% on %object% | object in inventory is put onto a surface |
remove %objects% from %object% | Take an object that is inside or on top of another object |
take %objects% | pick up a dynamic object from current location |
take %objects% from %object% | Take an object that is inside or on top of another object |