Any variable to control biter spawn rate
Posted: Mon Sep 15, 2014 7:16 am
I've run into an issue lately in which the game has run so long the enemy spawn rate has become instantaneous. Are there any variables that can be changed to control the biter spawn rate?
I've tried following in the game tick event loop:
and it has a very tiny effect if anything at all. Any help appreciated - thanks!
I've tried following in the game tick event loop:
Code: Select all
-- keep resetting monster evolution factors for now every minute
if (game.tick % (60 * 60) == 0) then
game.mapsettings.enemy_evolution.time_factor = 0
game.mapsettings.enemy_evolution.pollution_factor = 0
game.mapsettings.enemy_evolution.destroy_factor = 0
end