Ludeon Forums

RimWorld => General Discussion => Topic started by: nuschler22 on April 25, 2016, 02:53:26 PM

Title: Some eggs forbidden, some aren't. Why?
Post by: nuschler22 on April 25, 2016, 02:53:26 PM
Is there a reason for this?  Just curious as there will be quite a few eggs near each other with some being allowed and some not.

Thanks.
Title: Re: Some eggs forbidden, some aren't. Why?
Post by: Aatxe360 on April 25, 2016, 02:59:51 PM
Check zones and colonist permissions.  Only suggestion without more info.
Title: Re: Some eggs forbidden, some aren't. Why?
Post by: Florius on April 25, 2016, 03:15:54 PM
Are some fertilized and others not?
Title: Re: Some eggs forbidden, some aren't. Why?
Post by: nuschler22 on April 25, 2016, 04:13:40 PM
Quote from: Aatxe360 on April 25, 2016, 02:59:51 PM
Check zones and colonist permissions.  Only suggestion without more info.

They are all within the animal zone.  No colonists have restrictions.
Title: Re: Some eggs forbidden, some aren't. Why?
Post by: nuschler22 on April 25, 2016, 04:15:14 PM
Quote from: Florius on April 25, 2016, 03:15:54 PM
Are some fertilized and others not?

I checked that and no.  There were forbidden eggs that were fertilized and unfertilized and 100/100 hit points as well as allowed that were the same.
Title: Re: Some eggs forbidden, some aren't. Why?
Post by: Endoric on April 25, 2016, 04:16:54 PM
I raise chickens a lot and confirm this.  No rhyme or reason, some forbidden some not.
Title: Re: Some eggs forbidden, some aren't. Why?
Post by: nuschler22 on April 25, 2016, 04:32:49 PM
Quote from: Endoric on April 25, 2016, 04:16:54 PM
I raise chickens a lot and confirm this.  No rhyme or reason, some forbidden some not.

It can be fairly lucrative. 

How do you deal with feeding them?  Previously, I used a hay grow zone as their area, but found out on here that they don't get as much nourishment if they eat it while it grows. 
Title: Re: Some eggs forbidden, some aren't. Why?
Post by: skullywag on April 25, 2016, 05:49:07 PM
its sets it forbidden if its outside the home area


Thing forbiddenIfOutsideHomeArea = GenSpawn.Spawn(actor.GetComp<CompEggLayer>().ProduceEgg(), actor.Position);
forbiddenIfOutsideHomeArea.SetForbiddenIfOutsideHomeArea();
Title: Re: Some eggs forbidden, some aren't. Why?
Post by: nuschler22 on April 25, 2016, 06:48:38 PM
Quote from: skullywag on April 25, 2016, 05:49:07 PM
its sets it forbidden if its outside the home area


Thing forbiddenIfOutsideHomeArea = GenSpawn.Spawn(actor.GetComp<CompEggLayer>().ProduceEgg(), actor.Position);
forbiddenIfOutsideHomeArea.SetForbiddenIfOutsideHomeArea();


Thanks, looks right.
Title: Re: Some eggs forbidden, some aren't. Why?
Post by: Endoric on April 26, 2016, 07:16:25 PM
Wow thats great.  I want the eggs forbidden because dumb dogs like to eat them. 

As far as feeding the chickens, I tend to do small hills maps and very large grass animal area.  I put a TON of sleeping spots in the zone where I desire them to go at night. I also kill all but 2 or 3 males or sell them.
Title: Re: Some eggs forbidden, some aren't. Why?
Post by: nuschler22 on April 26, 2016, 07:30:45 PM
Quote from: Endoric on April 26, 2016, 07:16:25 PM
Wow thats great.  I want the eggs forbidden because dumb dogs like to eat them. 

As far as feeding the chickens, I tend to do small hills maps and very large grass animal area.  I put a TON of sleeping spots in the zone where I desire them to go at night. I also kill all but 2 or 3 males or sell them.

I tried that, but kept losing them to predators.  I had to pen them up behind wood fences.