Ludeon Forums

RimWorld => Mods => Help => Topic started by: SickBoyWi on April 26, 2019, 12:07:22 AM

Title: (Solved) New PawnKindDef - How to spawn without any gear/clothes?
Post by: SickBoyWi on April 26, 2019, 12:07:22 AM
I've created a new pawn type. I want them to spawn naked, and without gear. I can do it using Harmony in the postfix method by destroying all the apparel, but it seems like there should be a much easier config based way to do this.

I've added all of these to the PawnKindDef, and it made no difference.
<apparelRequired></apparelRequired>
<apparelTags></apparelTags>
<apparelMoney>
      <min>0</min>
      <max>0</max>
</apparelMoney>
<apparelAllowHeadgearChance>0</apparelAllowHeadgearChance>
<apparelIgnoreSeasons>true</apparelIgnoreSeasons>


Is there a good way to do this with config? Thanks much!
Title: Re: New PawnKindDef - How to spawn without any gear/clothes?
Post by: Mehni on April 26, 2019, 06:11:09 AM
Post the full thing; it's likely you are inheriting the tags from a parent.
Title: Re: New PawnKindDef - How to spawn without any gear/clothes?
Post by: Kirby23590 on April 26, 2019, 07:28:03 AM
Try copying the Wildman From PawnKinds_Special.

They are already naked but they shouldn't be you know part of the wild life and make they have a defaultFactionType.

Also in the Scenario editor you could force your starting guys to be already naked.
Title: Re: New PawnKindDef - How to spawn without any gear/clothes?
Post by: SickBoyWi on April 26, 2019, 10:20:51 AM
I took the advice to check the Wildman config first. The only thing that I was missing was this:

    <apparelIgnoreSeasons>true</apparelIgnoreSeasons>

That has solved the problem. Thanks for the responses!