Verbs and commands

From ADRIFT 5 Manual Wiki
Revision as of 06:13, 20 December 2011 by Saabie (Talk | contribs) (give and take)

Jump to: navigation, search

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, alternate wording and default responses, 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 plural then you can also use "All".
%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.

The other words between % symbols in the right colomb are Functions which print the names of the objects and characters being referenced.

IconWarning.png UNDER CONSTRUCTION - THIS TABLE IS INCOMPLETE.

Command Action Default Text
drop %objects% object in inventory is put on the ground Ok, %CharacterName% put[1] down %TheObjects[%objects%]%.
get %objects% pick up a dynamic object from current location Ok, %CharacterName% pick[2] up %TheObjects[%objects%]%.
get %objects% from %object% Take an object that is inside or on top of another object Ok, %CharacterName% take[3] %TheObjects[%objects%]% from %TheObject[%object2%]%.
give %objects% to %character%
give %character% %objects%
object in inventory goes to another characters inventory  %CharacterName% hand[4] %CharacterName[%character%, target]% %TheObject[%objects%]%.
Inventory Lists what the player is currently wearing & holding You are wearing %ListWorn[%Player%]%, and are carrying %ListHeld[%Player%]%.
offer %objects% to %character%
offer %character% %objects%
object in inventory goes to another characters inventory  %CharacterName% hand[5] %CharacterName[%character%, target]% %TheObject[%objects%]%.
pick up %objects%
pick %objects% up
pick up a dynamic object from current location Ok, %CharacterName% pick[6] up %TheObjects[%objects%]%.
pick up %objects% from %object%
pick %objects% up from %object%
Take an object that is inside or on top of another object Ok, %CharacterName% take[7] %TheObjects[%objects%]% from %TheObject[%object2%]%.
put down %objects%
put %objects% down
object in inventory is put on the ground Ok, %CharacterName% put[8] down %TheObjects[%objects%]%.
put %objects% in %object% object in inventory is put into a container  %CharacterName% put[9] %TheObjects[%objects%]% inside %TheObject[%object2%]%.
put %objects% on %object% object in inventory is put onto a surface Ok, %CharacterName% put[10] %TheObjects[%objects%]% on top of %TheObject[%object2%]%.
remove %objects% from %object% Take an object that is inside or on top of another object Ok, %CharacterName% take[11] %TheObjects[%objects%]% from %TheObject[%object2%]%.
take %objects% pick up a dynamic object from current location Ok, %CharacterName% pick[12] up %TheObjects[%objects%]%.
take %objects% from %object% Take an object that is inside or on top of another object Ok, %CharacterName% take[13] %TheObjects[%objects%]% from %TheObject[%object2%]%.