game.addproductionstat / game.addconsumptionstat

ljdp
Long Handed Inserter
Long Handed Inserter
Posts: 96
Joined: Wed Jul 01, 2015 12:33 am
Contact:

game.addproductionstat / game.addconsumptionstat

Post by ljdp »

API to add production and consumption statistics to the production stats gui when you press 'P'.
This will be useful for mods that generate and consume items via non-standard entities. For example treefarm.

Code: Select all

game.addproductionstat{ item = "raw-wood", count = 10 }
game.addconsumptionstat{ item = "iron-ore", count = 5 }
Post Reply

Return to “Implemented mod requests”