Page 1 of 1

[0.12.35] Inventory index wrong in sandbox

Posted: Tue May 31, 2016 5:43 pm
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

Re: [0.12.35] Inventory index wrong in sandbox

Posted: Tue May 31, 2016 5:48 pm
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