Villager lifespans


Changes the teen age to 10–12 (default: 3–5), the childbearing age to adults only (default: adults and older), and also makes it possible for villagers up to elder to get an education. The result is that teens won’t be hanging around being useless (some may do so for a short time if they manage to graduate before they are 12), but pretty much start working as soon as they get out of school.


The 2017-04-09 update adds another in-between age where they look like children/teens but can already work (Childbearing age starts when they switch to the grown-up body, at 16).

Education time is also doubled; note that this means that if you drop this into a game that already has the original villagers, those will be regarded as uneducated (since they only went to school half as long as it is necessary now). This will probably change in an upcoming patch. (I don’t know if it has yet; they’ve made no mention of it). 0.9.6127: — I believe this should work now for existing villagers too, due to changes in the game code (education is a percentage now); haven’t had a change to test that though.

2014-04-09: Updated with an additional age
2014-04-01: No changes for 0.9.6127
2017-03-20: Updated for 0.9.6112 (technical changes only — script locations again)
2017-01-24: Updated for 0.9.6042 (only the script location changed, not the content).

Download | How to use (FVModSync installation)

What each file does:

  • scripts > config.lua: changes the following:
    citizenTeenagerAgeStart = 10,
    citizenGrownAgeStart = 12,
    educationStartAge = 10,
    educationEndAge = 40,
    educationTime = 4000000
  • scripts > pbox_agespans.lua: redefines the isOldEnoughToChildbearing function; overrides the config as above; adds another age between teen and adult and changes functionality accordingly (getWorkerSkeleton, isTeenager)

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s