Commit Graph

7 Commits

Author SHA1 Message Date
Andrey Kozlovskiy
56700f1d7d Bound match_count with smallest stack_max value, take from inventory only if needed 2019-08-24 05:08:08 +03:00
Andrey Kozlovskiy
f42bfaf880 Return early when there's not enough items for craft 2019-08-24 03:56:38 +03:00
Andrey Kozlovskiy
573048520a Fix moving logic, correctly check for empty stacks 2019-08-24 00:13:34 +03:00
Andrey Kozlovskiy
e03a34ab7c Make functions unified_inventory global 2019-08-23 04:51:44 +03:00
Andrey Kozlovskiy
bcc6774ff8 Add unified_inventory function prefix 2019-08-23 04:19:30 +03:00
Andrey Kozlovskiy
0066d3c7ec Take craft width into account when creating craft index 2019-08-23 03:40:36 +03:00
Andrey Kozlovskiy
e0b28931c5 Implement new crafting algorithm 2019-08-22 22:56:46 +03:00