Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Child oddity  (Read 1611 times)

martinuzz

  • Bay Watcher
  • High dwarf
    • View Profile
Child oddity
« 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
« Last Edit: March 15, 2012, 10:51:09 am by martinuzz »
Logged
Friendly and polite reminder for optimists: Hope is a finite resource

We can ­disagree and still love each other, ­unless your disagreement is rooted in my oppression and denial of my humanity and right to exist - James Baldwin

http://www.bay12forums.com/smf/index.php?topic=73719.msg1830479#msg1830479

Telgin

  • Bay Watcher
  • Professional Programmer
    • View Profile
Re: Child oddity
« Reply #1 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.
Logged
Through pain, I find wisdom.

martinuzz

  • Bay Watcher
  • High dwarf
    • View Profile
Re: Child oddity
« Reply #2 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
Logged
Friendly and polite reminder for optimists: Hope is a finite resource

We can ­disagree and still love each other, ­unless your disagreement is rooted in my oppression and denial of my humanity and right to exist - James Baldwin

http://www.bay12forums.com/smf/index.php?topic=73719.msg1830479#msg1830479

nightwhips

  • Bay Watcher
    • View Profile
Re: Child oddity
« Reply #3 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?
Logged
: Miner dwarves? In my volcano?

:I put childs into danger room...
They die, and their parents care nothing because legendary dining room.

martinuzz

  • Bay Watcher
  • High dwarf
    • View Profile
Re: Child oddity
« Reply #4 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
Logged
Friendly and polite reminder for optimists: Hope is a finite resource

We can ­disagree and still love each other, ­unless your disagreement is rooted in my oppression and denial of my humanity and right to exist - James Baldwin

http://www.bay12forums.com/smf/index.php?topic=73719.msg1830479#msg1830479

Garath

  • Bay Watcher
  • Helping to deforest the world
    • View Profile
Re: Child oddity
« Reply #5 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.
Logged
Quote from: Urist Imiknorris
Jam a door with its corpse and let all the goblins in. Hey, nobody said it had to be a weapon against your enemies.
Quote from: Frogwarrior
And then everyone melted.

Telgin

  • Bay Watcher
  • Professional Programmer
    • View Profile
Re: Child oddity
« Reply #6 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.
Logged
Through pain, I find wisdom.

Flying Dice

  • Bay Watcher
  • inveterate shitposter
    • View Profile
Re: Child oddity
« Reply #7 on: March 16, 2012, 09:37:52 am »

Yeah, I've had 'children' migrate at above adult age before.
Logged


Aurora on small monitors:
1. Game Parameters -> Reduced Height Windows.
2. Lock taskbar to the right side of your desktop.
3. Run Resize Enable