• Mods are now organized as resources. Use the Mods link above to browse for or submit a mod, tool, or prefab.

    The TFP Official Modding Forum Policy establishes the rules and guidelines for mod creators and mod users.

[SOLVED] XML patch "did not apply"

Hi all,

I've got this very basic XML patch for loot.xml

<config>
<setattribute xpath="/loot/lootgroup[@name='groupQuestRewardSkillMagazinesAll01']" name="count">2</setattribute>
<set xpath="/loot/lootgroup[@name='groupQuestRewardSkillMagazinesAll01']/item/property[@name='count']/@value">1</set>
</config>




I've tried adjusting them to every which was, that's why in this iteration I'm using setattribute for one and set for another.

Whatever I try to do, the console returns WRN XML patch for "loot.xml" from mod "XYZ" did not apply

I'm sort of unsure on why this is? Any help would be greatly appreciated!

 
Last edited by a moderator:
The top level node is lootcontainers, not loot. "did not apply" I believe typically means the xpath is not a valid path, because of a typo, or missing a node level.

 
Back
Top