query_amount_types |
Discworld cont_medium help |
query_amount_types |
Name
query_amount_types - The amount types of this stuff.
Syntax
mapping query_amount_types();
Description
This is used to give how large the different sorts of amount types are for the medium in question. It is a mapping with the names of the amount types and the number of the medium which corresponds to them.
([ "pinch": ({ 1, "pinches" }),
"handful": ({ 50, "handfuls" }) ])
This would mean a pinch is 1 unit and a handful is 50 units.
See also
set_amount_types, set_continuous, reset_continuous, query_continuous, amount_size, set_amount, query_amount, adjust_amount