Tweaking the biters
Posted: Tue Jan 20, 2015 1:29 am
Hello again. I'm starting to poke around the files a little, see what's available to tinker with. I found there's apparently a "spawning_cooldown" table in the biter-spawner which looks promising. Now, if I understand correctly, one cannot simply change such variables directly, I have to use "data:extend()", right? Could someone please explain that method to me? Would I do something like this?
Also, any ideas on how I can increase the number of biters spawned per spawning? I mainly want to slow down the spawn rate (spawning waves every 2.5 seconds is ludicrous!), but know that I need to compensate for it. Any ideas besides simply spawning larger groups?
Code: Select all
data:extend( {
{
type = "unit-spawner",
name = "biter-spawner",
max_health = 700, -- double health
healing_per_tick = 0.04, -- double healing
spawning_cooldown = { {3600, 1500} }, -- 1/10 spawn rate
},
} )