FutureProg functions
setliquid
Boolean setliquid(Item item, Number liquidId)
Contexts: computer function, computer program, standard futureprog
Sets a liquid container's contents to a full container of the selected liquid, or empties it if the ID is invalid. Returns false if the item is null or is not a liquid container.
item: The liquid container item to fill or empty.
liquidId: The liquid ID to fill the container with. Use 0 or an invalid ID to empty the container.
Contexts: computer function, computer program, standard futureprog
Sets a liquid container's contents to a full container of the selected liquid, or empties it if the ID is invalid. Returns false if the item is null or is not a liquid container.
item: The liquid container item to fill or empty.
liquidId: The liquid ID to fill the container with. Use 0 or an invalid ID to empty the container.