mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-14 10:13:13 +02:00
Merge pull request #286 from SimonFlapse/diggy_biter_evo
Increased evolution
This commit is contained in:
commit
299375731c
@ -38,7 +38,7 @@ function AlienSpawner.register(config)
|
||||
local alien_minimum_distance_square = config.alien_minimum_distance ^ 2
|
||||
|
||||
Event.add(Template.events.on_void_removed, function(event)
|
||||
game.forces.enemy.evolution_factor = game.forces.enemy.evolution_factor + 0.0000008
|
||||
game.forces.enemy.evolution_factor = game.forces.enemy.evolution_factor + 0.0000012
|
||||
|
||||
local x = event.old_tile.position.x
|
||||
local y = event.old_tile.position.y
|
||||
@ -57,4 +57,9 @@ Spawn chance: ]] .. (config.alien_probability * 100) .. [[%
|
||||
Minimum spawn distance: ]] .. config.alien_minimum_distance .. ' tiles'
|
||||
end
|
||||
|
||||
function AlienSpawner.on_init()
|
||||
-- base factorio = pollution_factor = 0.000015
|
||||
game.map_settings.enemy_evolution.pollution_factor = 0.000004
|
||||
end
|
||||
|
||||
return AlienSpawner
|
||||
|
@ -82,8 +82,6 @@ function StartingZone.on_init()
|
||||
|
||||
surface.daytime = 0.5
|
||||
surface.freeze_daytime = 1
|
||||
-- base factorio = pollution_factor = 0.000015
|
||||
game.map_settings.enemy_evolution.pollution_factor = 0.000002
|
||||
end
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user