Before this was added to KoLMafia's function base I had created this script.
Yes it has a few bugs but thats why I requested it to be added offically to the function base.
Remember to import. Use this order:
CanCreateTier2.ash
CanCreateTier3.ash
CanCreateTier4.ash
CanCreateTier5.ash
CanCreateTier6.ash
CanCreateTier7.ash
CanCreateTier8.ash
CanCreate.ash
It returns a int depending on how many you can create. There is problems with the script when you ask how many items you can make which uses more then one of another item.
Yes it has a few bugs but thats why I requested it to be added offically to the function base.
Remember to import. Use this order:
CanCreateTier2.ash
CanCreateTier3.ash
CanCreateTier4.ash
CanCreateTier5.ash
CanCreateTier6.ash
CanCreateTier7.ash
CanCreateTier8.ash
CanCreate.ash
Code:
CanCreate( $item[*ItemName*])
Attachments
-
CanCreateTier2.ash128.5 KB · Views: 88
-
CanCreateTier3.ash60.3 KB · Views: 86
-
CanCreateTier4.ash16.4 KB · Views: 85
-
CanCreateTier5.ash10.6 KB · Views: 91
-
CanCreateTier6.ash3.1 KB · Views: 88
-
CanCreateTier7.ash2.1 KB · Views: 76
-
CanCreateTier8.ash734 bytes · Views: 82
-
CanCreate.ash847 bytes · Views: 79