边缘世界 RimWorld

边缘世界 RimWorld

A Dog Said... Animal Prosthetics 2
Prios 10 月 30 日 上午 6:19
Pawnmorpher compatibility! (already figured out)
The Pawnmorpher mod recently updated to be compatible with Rimworld 1.6. After a tiny bit of fiddling, I found that it was pretty trivial to add full Pawnmorpher support to ADS2.

I added this line to the LoadFolders.xml file, within the <v1.6> tag:

<li IfModActive="tachyonite.pawnmorpherpublic">1.6/ModCompat/Pawnmorpher</li>

Then I created a file named "Category_Patches_Pawnmorpher.xml" in the 1.6/ModCompat/Pawnmorpher/Patches directory off of the main ADS2 directory (creating the "Pawnmorpher" and "Patches" folders).

I entered the following into this xml file:

<?xml version="1.0" encoding="utf-8"?> <Patch> <Operation Class="PatchOperationAdd"> <xpath>/Defs/RecipeDef[ @Name="ADS_Cat3" or @Name="ADS_Cat2" or @Name="ADS_Cat1" ]/recipeUsers</xpath> <value> <li>Chaofox</li> <li>Chaoboar</li> <li>Chaoboom</li> <li>Chaocow</li> <li>Chaodino</li> <li>ChaofusionRhino</li> <li>ChaomeldCow</li> <li>ChaomeldDog</li> <li>ChaomeldDragon</li> <li>PM_Chaothrumbo</li> <li>EtherHellhound</li> </value> </Operation> </Patch>

(Well, I actually copied the text from another ModCompat xml file and edited it, but whatever.)

And that's all there was to it! I tested Pawnmorpher with ADS2 and everything worked fine. (I made all the Pawnmorpher custom critters Category 3 because they're all fairly large.) What's more, in Pawnmorpher, it's possible for animals to have the Body Purist or Body Modder traits (Pawnmorpher is... different that way); animals with these traits recognize artificial body parts on themselves, according to my testing, without any additional fiddling.

Would you consider adding Pawnmorpher compatibility to ADS2 officially? It'd be much appreciated, I think. (I've only tested this with 1.6, but it's quite possible 1.5 and 1.4 would work too.)
< >
正在显示第 1 - 2 条,共 2 条留言
Samuel_Bucher  [开发者] 11 月 21 日 上午 5:11 
Sorry, I missed this thread for so long.
Prios 11 月 21 日 上午 7:12 
No worries! I went ahead and did a pull request on GitHub in the meantime, as you might have seen. I did test it with the 1.4 and 1.5 versions of Pawnmorpher and it works great with those as well.
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50