Verbs and commands
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.
UNDER CONSTRUCTION - THIS PAGE IS INCOMPLETE.
Contents
References
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.
Picking up and putting down objects
Only objects which have their "Object Type" property set to "Dynamic" can be picked up. Other characters in the game can also carry objects, not just the player. Where %objects% is shown, rather than %object%, it is possible to list several dynamic objects to be picked up or dropped at once, or use the word "all" to take everything at the location or drop everything in your inventory.
> inventory |
Lists what the player is currently wearing & holding. |
> get %objects% |
Pick up a dynamic object from the players current location. |
> drop %objects% |
The named object, which must be in the players inventory, is put on the ground. |
> get %objects% from %object% |
Take an object that is inside or on top of another object. |
> give %objects% to %character% |
Object in players inventory goes to another characters inventory. |
> put %objects% in %object% |
object in players inventory is put into a container. |
> put %objects% on %object% |
object in players inventory is put onto an object with a surface. |