• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Xpath Help changing "id"

Kieron

Refugee
Is it possible to change the "id" section with xpath? I'd like to remove armor being given as a quest reward.

<reward type="LootItem" id="questArmorT3-T4,questMeleeT3-T4" isfixed="true" ischosen="true" value="30"/>I'd like to change "questArmorT3-T4" to "groupConstructionResourcesT1" is that even possible?

 
Yes

<set xpath="//reward[@id='questArmorT3-T4']/@id">groupConstructionResourcesT1</set>




That should change all instances of the questArmor group to the group you listed.

 
Back
Top