API/methods to get room stats



  • Hey! Something that would be amazing to have would be a way to request room stats (i.e energy harvested, control points, etc) from within the code to make some things more automatic (i.e if if the net energy harvested is higher than a certain threshold, add more controller upgraders, or upgrade walls)



  • I guess it's part (and sense) of the game to be done by yourself...



  • Except you can't actually get your room/profile statistics.



  • Right. But you can create your own profiles/statistics in memory. 

    A quite simple approach could be to save (e.g.) the controller progress every few hundred or thousand ticks to a single memory field. Before overwriting it send a notification with comparison, or adjust your parameters to modify spawn rates. 

    But of course I agree that it would be nice to have some statistics out of the box.