FutureProg functions
put
Overload 1
put overload 1
Boolean put(Character who, Item thing, Item container, Text emote)
Available in
- 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.
| Parameter | Type | Description |
|---|---|---|
who |
Character |
The character doing the putting |
thing |
Item |
The thing being put into something else |
container |
Item |
The container the thing is being put into |
emote |
Text |
The optional player emote to add to the standard echo |
Overload 2
put overload 2
Boolean put(Item thing, Item container)
Available in
- 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.
| Parameter | Type | Description |
|---|---|---|
thing |
Item |
The thing being put into something else |
container |
Item |
The container the thing is being put into |
Overload 3
put overload 3
Boolean put(Item Item, Location Location)
Available in
- computer function
- computer program
- standard futureprog
This function puts an item in a room, using the GroundLevel (or closest layer to).
| Parameter | Type | Description |
|---|---|---|
Item |
Item |
The item you want to drop |
Location |
Location |
The location you want to put the item in |
Overload 4
put overload 4
Boolean put(Item Item, Location Location, Text Layer)
Available in
- 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.
| Parameter | Type | Description |
|---|---|---|
Item |
Item |
The item you want to drop |
Location |
Location |
The location you want to put the item in |
Layer |
Text |
The layer of the location that you want to put the item in |