FutureProg functions

put

Manipulation · computer function, computer program, standard futureprog

Boolean put(Character who, Item thing, Item container, Text emote)
Contexts: computer function, computer program, standard futureprog
This function causes a player to put an item into a container using the ordinary inventory code. It echoes to all, and returns true if successful.
who: The character doing the putting
thing: The thing being put into something else
container: The container the thing is being put into
emote: The optional player emote to add to the standard echo

Boolean put(Item thing, Item container)
Contexts: computer function, computer program, standard futureprog
This function puts an item into a container (respecting normal inventory rules), does not echo anything, and returns true if successful.
thing: The thing being put into something else
container: The container the thing is being put into

Boolean put(Item Item, Location Location)
Contexts: computer function, computer program, standard futureprog
This function puts an item in a room, using the GroundLevel (or closest layer to).
Item: The item you want to drop
Location: The location you want to put the item in

Boolean put(Item Item, Location Location, Text Layer)
Contexts: computer function, computer program, standard futureprog
This function puts an item in a room in the specified layer. Possible values for layers are VeryDeepUnderwater, DeepUnderwater, Underwater, GroundLevel, OnRooftops, InTrees, HighInTrees, InAir, HighInAir. See function ROOMLAYERS for how to obtain the list of room layers for a location.
Item: The item you want to drop
Location: The location you want to put the item in
Layer: The layer of the location that you want to put the item in

← Back to FutureProg functions