Bay 12 Games Forum

Dwarf Fortress => DF Gameplay Questions => Topic started by: martinuzz on March 15, 2012, 10:49:05 am

Title: Child oddity
Post by: martinuzz on March 15, 2012, 10:49:05 am
I modded my dwarves, before worldgen, so that their children grow up at age 4 ( [CHILD:4] ).
However, it seems some of the dwarf child age is hardcoded:
With the 3d immigration wave, a child arrived. It was 5 years old.
Next year, it grew up to be a dwarf, and is still 5 years old.

EDIT: OOPS, wrong forum. Intended to post in Dwarf mode discussion
Title: Re: Child oddity
Post by: Telgin on March 15, 2012, 11:46:36 am
I think what happens, is that the game checks if they grow up at either a certain time of the year, or on their birthday.  It just does a simple check of age > child age and grows them up if so.

Changing the child age in the raws works, but it just doesn't take effect until the kid's next birth day.

For what it's worth, changing max age works the same way.
Title: Re: Child oddity
Post by: martinuzz on March 15, 2012, 02:44:14 pm
Changing the child age in the raws works, but it just doesn't take effect until the kid's next birth day.

Thing is, I didn't change it midgame.
I changed the raws, before genning the world

Apart from that, the kid didn't age from 5 to 6, but aged from 5 to 5
Title: Re: Child oddity
Post by: nightwhips on March 15, 2012, 03:39:04 pm
Changing the child age in the raws works, but it just doesn't take effect until the kid's next birth day.

Thing is, I didn't change it midgame.
I changed the raws, before genning the world

Apart from that, the kid didn't age from 5 to 6, but aged from 5 to 5

Are you sure it's not a vampire?
Title: Re: Child oddity
Post by: martinuzz on March 16, 2012, 01:05:45 am
If he is a vampire, he isn't very hungry. No mysterious deaths / drained dwarves so far
Title: Re: Child oddity
Post by: Garath on March 16, 2012, 06:30:23 am
Toady mentioned that different types of Vampire will have different habits. Some may feed once a month, others may feed every night, some may even feed just once a year.
Title: Re: Child oddity
Post by: Telgin on March 16, 2012, 07:41:42 am
Changing the child age in the raws works, but it just doesn't take effect until the kid's next birth day.

Thing is, I didn't change it midgame.
I changed the raws, before genning the world

Apart from that, the kid didn't age from 5 to 6, but aged from 5 to 5

I see what you mean now.  I've read similar reports in unmodded games too.  Sometimes the game doesn't properly check if they're old enough to be an adult yet, and they arrive at the fort as children even if they're old enough to be peasants.  Then at a certain part of the year, it checks if they're old enough to be peasants and grows them up if they are.  This seemst o happen in a way that they're the same number years old after the change (so, happens before their birthday), at least some of the time.
Title: Re: Child oddity
Post by: Flying Dice on March 16, 2012, 09:37:52 am
Yeah, I've had 'children' migrate at above adult age before.