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.
- inventory
Lists what the player is currently wearing & holding.
Every character has an inventory of objects that they are carrying or wearing, but the player can only inspect their own inventory.
This command is used so frequently that it can be adreviated to "i".
- get %objects%
- pick up %objects%
- pick %objects% up
- take %objects%
Pick up a dynamic object from the players current location.
- Drop %objects%
- put down %objects%
- put %objects% down
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%
- give %character% %objects%
object in inventory goes to another characters inventory
- offer %objects% to %character%
- offer %character% %objects%
object in inventory goes to another characters inventory
- pick up %objects% from %object%
- pick %objects% up from %object%
Take an object that is inside or on top of another object
- 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% from %object%
Take an object that is inside or on top of another object