Steps to reproduce:
1. create a rocket silo
2. add modules to the silo
3. mouse hover the silo
4. run the following script
Code: Select all
game.player.print(game.player.selected.get_output_inventory()[1])
Either return the count of rockets ready to launch or `nil` (in this case fail as I'm trying to access an item on a `nil` array)
Actual:
Got the modules array, as verified in console output
Code: Select all
[LuaItemStack: 4x {speed-module-3, normal}]