RimWorld

RimWorld

Animal Gear
AnimalCUTOUTCOMPLEX bug [found, and proposed fix]

If you add the AnimalCUTOUTCOMPLEX tag to an item, that item won't be sorted into the [Animal Apparel] tab in the apparel organizer.

The reason for this appears to be that it disrupts the patch that occurs in
/Animal Gear/Patches/OutfitThingCategories.xml

Specifically the lines that look like this:

<xpath>*/ThingDef[count(apparel/tags/li[contains(text(), "Animal")])=1]/thingCategories/li[contains(text(), "Apparel")]/text()

Those lines search for apparel items that contain ONE instance of the string "Animal" in their tags list. If the item has AnimalCUTOUTCOMPLEX in it, then there are suddenly TWO instances of "Animal" so those items don't get patched.

The easiest fix would probably just be to make it also search for and patch AnimalCUTOUTCOMPLEX.
Sidst redigeret af Oh God Spiders No; 14. maj 2019 kl. 11:01
< >
Viser 1-7 af 7 kommentarer
Oh God Spiders No 14. maj 2019 kl. 11:01 
I found the bug that was causing the problem. I've revised the OP description with details.
Sidst redigeret af Oh God Spiders No; 14. maj 2019 kl. 11:02
Dylan  [udvikler] 14. maj 2019 kl. 13:48 
ah, yeah makes sense ^^
I put in >= instead of = tested it, it should now work with one or more "Animal"-containing tags (just updated the mod)
Oh God Spiders No 14. maj 2019 kl. 14:38 
Nice! Will do.
Dylan  [udvikler] 28. maj 2019 kl. 14:57 
Hey ^^ great work so far on the mod, it seems to come along nicely.

I just saw that you added me as a friend here on steam, I usually don't add people here. We could chat on the discord if needed, I am only rarely online there, just let me know.
Oh God Spiders No 28. maj 2019 kl. 16:07 
Oh I'm the same way, I only just now started accepting friend requests because I'm modding. For years before that I denied all friend requests since I only really play single player games.

I figured I'd friend you since we're sort of collaborating now but no pressure to accept or be on call :)
Dylan  [udvikler] 29. maj 2019 kl. 12:07 
^^ ok, I will think about it ;D

(but really, I was impressed about how organized your mod page/progress indicator etc. is ^^)
Oh God Spiders No 29. maj 2019 kl. 12:19 
Thanks! Spending time setting up those pages took away a lot of time that I could have spent actually making armors, but I think that good presentation tangibly contributes to one's enjoyment of a mod, and adds to the sense that it is a core component of the Vanilla+ game. Also it manages subscriber expectations, establishes a brand, and helps keep me motivated by giving me a checklist that is fun to complete.
< >
Viser 1-7 af 7 kommentarer
Per side: 1530 50