[0.12.35] Inventory index wrong in sandbox

This subforum contains all the issues which we already resolved.
Post Reply
Choumiko
Smart Inserter
Smart Inserter
Posts: 1352
Joined: Fri Mar 21, 2014 10:51 pm
Contact:

[0.12.35] Inventory index wrong in sandbox

Post by Choumiko »

According to defines.lua the quickbar index is 2, main inventory is 1.
In sandbox mode these values appear to be switched:
Image

Rseding91
Factorio Staff
Factorio Staff
Posts: 13338
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.12.35] Inventory index wrong in sandbox

Post by Rseding91 »

defines.inventory.player_quickbar refers to the character player quickbar. The god controller has a different index which isn't in the 0.12 defines.

In 0.13 there are:

defines.inventory.player_quickbar
and
defines.inventory.god_quickbar
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”