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. |
Sitting and Laying down
The player can sit down on chairs or lay on beds.
They can also lay down or sit on the floor or ground.
An object must have the property "Characters can sit on this object" for the player to be able to sit on it.
An object must have the property "Characters can lie on this object" to lay on it.
Objects with the property "Characters can stand on this object" can also be stood upon.
> get on %object% |
The player sits on the indicated object. |
> sit up |
The player sits down on the floor or ground. |
> get on %object% |
The player lays on the indicated object. |
> lie down |
The player lays down on the floor or ground. |
Pushing and Pulling
> push %objects% |
Push. |
Conversation
> get %objects% |
Pick up a dynamic object from the players current location. |
Open and Close
> get %objects% |
Pick up a dynamic object from the players current location. |
Look and Examine
> get %objects% |
Pick up a dynamic object from the players current location. |
Clothing
> get %objects% |
Pick up a dynamic object from the players current location. |
Food and Drink
> get %objects% |
Pick up a dynamic object from the players current location. |
Player Movement
> get %objects% |
Pick up a dynamic object from the players current location. |
Attack!
> get %objects% |
Pick up a dynamic object from the players current location. |