The info is available in the tool-tip, but I can't figure out how to access it programmatically.

Thanks.
Code: Select all
local input_count = entity.get_inventory(defines.inventory.assembling_machine_input)[1].count
local output_count = entity.get_inventory(defines.inventory.assembling_machine_output)[1].count