Andrey Kozlovskiy
|
542065f671
|
Slightly improved move
|
2019-08-27 06:12:10 +03:00 |
|
Andrey Kozlovskiy
|
248250a890
|
Correctly handle non empty crafting grid case
|
2019-08-26 23:29:12 +03:00 |
|
Andrey Kozlovskiy
|
da320049a0
|
Avoid expensive table.insert and ipairs calls, increment counts manually
|
2019-08-24 22:16:03 +03:00 |
|
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 |
|