percentageliquid |
Discworld expression help |
percentageliquid |
Name
percentageliquid
Syntax
int percentageliquid(array object obs, string liquidname)
Description
This method will find the percentage of the certain type of liquid in the container. SO you can make sure that bottles are full of tea or honey and not half empty.
Examples
percentageliquid(objects, 'honey')