game.addproductionstat / game.addconsumptionstat
Posted: Wed Jul 01, 2015 1:08 am
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.
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 }