In the simulation room, `energyCapacityAvailable` counts hostile structures



  • If you place a spawn for Player 1 and a spawn for Player 2 then Game.rooms.sim.energyCapacityAvailable will include the energy in ALL spawns and extensions. On the other hand, energyAvailable only includes your structures.



  • Additionally, the simulation room only allows 1 storage structure total, instead of 1 for each. If you place 2 storage structures with the "custom" tool, the first one will be erased.