[1.1.65] support_bar()=true despite enable_inventory_bar = false
Posted: Fri Aug 12, 2022 4:14 pm
Inventories whose entity prototypes were defined with enable_inventory_bar = false like the spaceship wreckage still support the bar in lua.
will block all slots
prints true
If this is intended, is there a different way to detect whether an inventory has the UI enabled to apply the bar?
Code: Select all
/c game.player.selected.get_inventory(defines.inventory.chest).set_bar(1)
Code: Select all
/c game.print(game.player.selected.get_inventory(defines.inventory.chest).supports_bar())
If this is intended, is there a different way to detect whether an inventory has the UI enabled to apply the bar?