1
0
mirror of https://github.com/veden/Rampant.git synced 2025-01-22 03:08:51 +02:00

benchmarking

This commit is contained in:
veden 2016-09-09 02:57:50 -07:00
parent 0dc8515cab
commit 0c96184aa4

View File

@ -136,17 +136,17 @@ function onTick(event)
if (event.tick % 40 == 0) then
accumulatePoints(natives)
-- accumulatePoints(natives)
-- put down player pheromone for player hunters
playerScent(regionMap, game.players)
-- playerScent(regionMap, game.players)
regroupSquads(natives, temps)
-- regroupSquads(natives, temps)
-- scouting(regionMap, natives)
squadBeginAttack(natives, game.players, game.evolution_factor)
squadAttack(regionMap, surface, natives, temps)
-- squadBeginAttack(natives, game.players, game.evolution_factor)
-- squadAttack(regionMap, surface, natives, temps)
end
processPendingChunks(regionMap, surface, pendingChunks)
@ -218,7 +218,7 @@ script.on_event({defines.events.on_built_entity,
defines.events.on_robot_built_entity},
onBuild)
script.on_event(defines.events.on_entity_died, onDeath)
-- script.on_event(defines.events.on_entity_died, onDeath)
script.on_event(defines.events.on_tick, onTick)
script.on_event(defines.events.on_chunk_generated, onChunkGenerated)