mirror of
https://github.com/veden/Rampant.git
synced 2024-12-30 21:19:46 +02:00
switching tasks
This commit is contained in:
parent
0bc8a220f0
commit
aa0899b83b
@ -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
|
||||
|
@ -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",
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user