summaryrefslogtreecommitdiff
path: root/src/main.js
blob: e466974a2ea6ef89e1d40559a782340a7aabe5d2 (plain) (blame)
1
2
3
4
5
6
7
const harvester = require('role.harvester');

module.exports.loop = () => {
  for (const name in Game.creeps) {
    harvester.run(Game.creeps[name]);
  }
}