Page 1 of 1

InventoryPosition stack is 0-based

Posted: Wed Apr 02, 2025 2:42 am
by Honktown
It would be appreciated if https://lua-api.factorio.com/2.0.43/con ... ition.html was noted to use 0-based inventory indexing, in contrast to other inventory stack index behavior.

It is noted in a forum post, this behavior is "intended" unless a larger change is made for backwards-compatibility: viewtopic.php?p=627359

Re: InventoryPosition stack is 0-based

Posted: Tue May 06, 2025 6:37 am
by Therenas
Noted for the next release, thanks.