(0.15.7) Quickbar bugged in Sandbox game

Bugs that are actually features.
aober93
Filter Inserter
Filter Inserter
Posts: 453
Joined: Tue Aug 30, 2016 9:07 pm
Contact:

(0.15.7) Quickbar bugged in Sandbox game

Post by aober93 »

I cannot acces the quickbar in sandbox games.

Check this out: type
/c game.player.print(#game.player.get_inventory(defines.inventory.player_quickbar))

in a normal game you will receive 10 or 20 (slots) (depending on research)

in sandbox youll get 60. But the quickbar doesnt have 60 slots. I receive errors when accessing items in any slot :?

can someone confitrm
posila
Former Staff
Former Staff
Posts: 5448
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: (0.15.7) Quickbar bugged in Sandbox game

Post by posila »

Thanks for the report.
In sandbox game (when player has god controller and not character controller), you need to use defines.inventory.god_quickbar instead.
Post Reply

Return to “Not a bug”