Bay 12 Games Forum

Dwarf Fortress => DF Modding => Topic started by: GavJ on May 26, 2014, 09:47:58 pm

Title: Does making dwarves (i.e. your player's creature) egglaying work at all?
Post by: GavJ on May 26, 2014, 09:47:58 pm
Pretty self explanatory. Just wanna save myself 2-3 hours of work and testing various hypotheses, in case somebody already knows the answer in 5 seconds.

I realize it would be very fiddly if it does work to make sure they don't try to steal and eat each others' eggs, but practicality aside, is it even possible at all / do they claim the nests effectively, etc?
Title: Re: Does making dwarves (i.e. your player's creature) egglaying work at all?
Post by: Meph on May 27, 2014, 02:15:29 am
It doesnt quite work, because the need to sit on the nestbox all the time, but also need to eat, and you cant pasture them. What I would do:

Pet creature that is egglayer. 3 Castes, male pop-ratio 1, female pop-ratio 1, transform pop-ratio 100000. The transform caste has a 50/50 chance to transform into a civ member, male/female, of your civ.

This way you can bring these pets at embark, they claim nestboxes and when the eggs hatch, the resulting creature will be a civ member. 
Title: Re: Does making dwarves (i.e. your player's creature) egglaying work at all?
Post by: GavJ on June 01, 2014, 02:08:21 am
Wait, but your own civ members will sit on nestboxes? If they were modded not to eat, etc., it would work?
Title: Re: Does making dwarves (i.e. your player's creature) egglaying work at all?
Post by: Greiger on June 03, 2014, 11:00:48 pm
I've actually done it before, for my custom dragonman race and they don't actually need to sit on the egg 24/7 from my experience.  But they also seem to stop laying fertile eggs after a few goes.

There's other issues too though.

Only married civ members will lay fertile eggs, but all female members will try to claim a nest box requiring personal rooms, and a lot of micromanaging. 
     *Set nest box to be built in a married couple's room
     *Wait for a worker to deliver the nest box to the room
     *Suspend construction of the nest box once the worker starts construction
     *Wait for the female to enter the room, lock the door
     *Unsuspend construction of the nest box
     *Once the box is complete since the room female is the only one that can reach it she will claim it automatically.

Eggs will be heartlessly carried to the food stockpile after laying almost immediately, sometimes by the mother.  They will no longer hatch if this happens, turn off all stockpiling of your race's eggs.

The original owner will usually reclaim the nest box once it becomes available again, but it's not guaranteed.

The mother immediately drops everything she is doing to go pick up the baby the instant it hatches, but if your fort has a lot of dangerous drops, she might not get there in time.

The mother will work normally but will spend idle time on the nest box instead of in meeting halls or partying.

As stated above the mothers will randomly become infertile, but I think that's something inherent to egg layers in general, not just civ egglayers.

As for what science I determined I have little except what I already mentioned.  I know 100% that they don't need to be on the nest all the time, in fact that's how I know the mothers will drop everything they are doing to go pick up the baby, I've seen them hatch with the mother elsewhere.  But I don't know exactly how much time must be spent on the nest,  I've seen military moms crap out an egg and never come back and the egg successfully hatch, I've seen dedicated nurse moms that have no labors never leave their nest except to eat drink and sleep produce duds.
Title: Re: Does making dwarves (i.e. your player's creature) egglaying work at all?
Post by: GavJ on June 03, 2014, 11:41:39 pm
Awesome!  Couldn't you just make enough nest boxes for all your females? Or do they claim multiples if they can?
Title: Re: Does making dwarves (i.e. your player's creature) egglaying work at all?
Post by: Greiger on June 03, 2014, 11:52:17 pm
I've never seen a single female claim multiple nests, but I haven't really tried to encourage it to happen, so my answer to that is a "probably not, but keep an eye out". 


Yea you probably could make a nest box for every female.  I haven't tried doing that though, didn't fit my idea of the race for all the females to hang out one place, and all the males hang out in meeting halls.  I imagine it would fit other races just fine though.  Infertile eggs will sit in the box til removed though, so you may want to keep an eye out for marriage announcements so you can empty the nest to try to prompt another laying.

Oh and another thing I forgot to mention, it makes keeping egglayer livestock harder as well, since you'll have to isolate their nests from the general female population or your civilians will fight the chickens for the nests.  I have a isolated room with an airlock system and one male tender supplied with food and a well, but you can probably just make extra nests in your civ hatchery to accommodate your chickens just as well.