mirror of
https://github.com/paradizelost/screeps.git
synced 2025-09-16 19:05:23 -05:00
fix
This commit is contained in:
@@ -49,7 +49,7 @@ let Phase1 = {
|
|||||||
require('proc.spawning').spawnminer(room)
|
require('proc.spawning').spawnminer(room)
|
||||||
} else { if(Game.flags.debug && Game.flags.debug.room == Game.rooms[room]){console.log("Not spawning miner in " + room + ", waiting for regen")}}
|
} else { if(Game.flags.debug && Game.flags.debug.room == Game.rooms[room]){console.log("Not spawning miner in " + room + ", waiting for regen")}}
|
||||||
}
|
}
|
||||||
if((game.rooms[room].terminal.store[RESOURCE_ENERGY] > 200000 )){
|
if((Game.rooms[room].terminal.store[RESOURCE_ENERGY] > 200000 )){
|
||||||
require('proc.market').sellEnergy(room)
|
require('proc.market').sellEnergy(room)
|
||||||
}
|
}
|
||||||
//require('proc.market').sellEnergy(room)
|
//require('proc.market').sellEnergy(room)
|
||||||
|
Reference in New Issue
Block a user