Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Can you limit dorfs per wave?  (Read 743 times)

DFNewb

  • Bay Watcher
    • View Profile
Can you limit dorfs per wave?
« on: June 01, 2016, 07:28:23 pm »

Can you limit the number of new dorfs per wave? Like in init or in raws or something?
« Last Edit: June 01, 2016, 07:30:14 pm by DFNewb »
Logged
Reasonableman playing Batman: Arkham Asylum
Luke_Prowler : Boot: apply directly to the forehead

Shonai_Dweller

  • Bay Watcher
    • View Profile
Re: Can you limit dorfs per wave?
« Reply #1 on: June 01, 2016, 07:54:12 pm »

Only by manually adjusting the total population limit. Raising it each time you want a few more dorfs. Not much else you can do right now.
Migrant mechanics are due to be revamped as part of the Scenarios release (might be a few years before that happens though).
Logged

PatrikLundell

  • Bay Watcher
    • View Profile
Re: Can you limit dorfs per wave?
« Reply #2 on: June 02, 2016, 02:43:44 am »

Bumber answered you in the same thread you posted in another forum.
Logged

doulos05

  • Escaped Lunatic
    • View Profile
Re: Can you limit dorfs per wave?
« Reply #3 on: June 02, 2016, 03:34:22 am »

Here is a DF Hack script from the other thread just two below this one that solves this problem.

If you are running DFHack you can use this script to automatically limit the size of immigration waves:

Spoiler (click to show/hide)

To use it, copy the code and paste it into "hack/scripts/max-wave.lua" in your Dwarf Fortress directory. You can run it directly in the dfhack console ("max-wave 20 20") to set the population cap without reloading, or use it with repeat to create a rolling population cap (like "repeat -time 3 -timeUnits months -command [ max-wave 10 200 ]" for up to 10 migrants per season) to slow down immigration to whatever rate you desire. You can probably even set it up in an init file so it's entirely automatic.
Logged