1
0
mirror of https://github.com/veden/Rampant.git synced 2024-12-30 21:19:46 +02:00

switching tasks

This commit is contained in:
Aaron Veden 2017-05-13 23:31:31 -07:00
parent 0bc8a220f0
commit aa0899b83b
4 changed files with 5 additions and 4 deletions

View File

@ -109,7 +109,8 @@ end
local function onConfigChanged()
if (upgrade.attempt(natives, regionMap)) then
game.surfaces[1].print("Indexing chunks, please wait")
-- clear old regionMap processing Queue
-- prevents queue adding duplicate chunks
-- chunks are by key, so should overwrite old

View File

@ -1,7 +1,7 @@
{
"name" : "Rampant",
"factorio_version" : "0.15",
"version" : "0.15.6",
"version" : "0.15.8",
"title" : "Rampant AI",
"author" : "Veden",
"homepage" : "https://forums.factorio.com/viewtopic.php?f=94&t=31445",

View File

@ -121,7 +121,7 @@ function baseUtils.createBase(natives, chunk, tick, surface)
if (surface.can_place_entity(basePlacement)) then
print("created base")
local nest = surface.create_entity(basePlacement)
addRemoveEnemyEntity
--addRemoveEnemyEntity
end
return base
end

View File

@ -142,7 +142,7 @@ function chunkUtils.createChunk(topX, topY)
chunk[BASE_PHEROMONE] = 0
chunk[PLAYER_PHEROMONE] = 0
chunk[PLAYER_BASE_GENERATOR] = 0
chunk[ENEMY_BUILDING_COUNT] = 0
--chunk[ENEMY_BUILDING_COUNT] = 0
chunk[NORTH_SOUTH_PASSABLE] = false
chunk[EAST_WEST_PASSABLE] = false
chunk[CHUNK_TICK] = 0