Hi, like the subject states I'm wondering if there is any way (through XML) that I can restrict a humanlike race's ability to equip certain types of apparel. For example, is it possible to create a monk-type pawn that can fight with their fists, but not equip weapons? Or a race that can equip all apparel types except for helmets, due to their big melon heads?
I saw that each piece of apparel has a <bodyPartGroup> that it covers, so the first thing I did was modify my custom race's BodyDef so they only had a single body part (that I named 'Core'). The BodyDef worked and my race only had a single body part but they were still able to equip all types of apparel. I have also looked through the humanlike ThoughtDef to see if I can modify something there but I don't think that will help me.
Looking at it now, I see that each piece of apparel also has a <thingCategory>, like 'headgear'. Is there any way to restrict thing categories per race or pawn?
I saw that each piece of apparel has a <bodyPartGroup> that it covers, so the first thing I did was modify my custom race's BodyDef so they only had a single body part (that I named 'Core'). The BodyDef worked and my race only had a single body part but they were still able to equip all types of apparel. I have also looked through the humanlike ThoughtDef to see if I can modify something there but I don't think that will help me.
Looking at it now, I see that each piece of apparel also has a <thingCategory>, like 'headgear'. Is there any way to restrict thing categories per race or pawn?