Creatable amount
Function Syntax
int creatable_amount(item check )
- check is the item to inquire about
Returns the total number of check that you can currently create within the limits of your current inventory, skills, etc. This will even consider a Sauceror's ability to mix three times as many potions.
Code Sample
Enumerates total number of scrolls of ancient forbidden unspeakable evil.
item afue = $item[scroll of ancient forbidden unspeakable evil];
print("Total possible AFUE scrolls is: "+ to_string(available_amount(afue) + creatable_amount(afue)));
CLI Equivalent
The CLI command "create" offers similar information, but on all possibilities at once, when supplied no parameters.