Jump to content

So, I'm Not Grasping the XPath Problem...


Recommended Posts

I have quite a bit of XML modding experience in various games. However, this is the first time I'm using XPath.

 

To test my sublimely superb modding abilities (sarcasm), I have constructed a simple test mod. No, I don't want my Sham Chowder being super food. Just a test.

 

To wit:

<configs>
    <set xpath="/items/item[@name='foodShamChowder')]/effect_group/triggered_effect[@cvar='$foodAmountAdd']/@value">100</set>
</configs>

 The loading screen shows an error "@value has an invalid token.

Token? The structure was copied from several different existing mods written by others, so I must be missing something here that escapes me.

Help? Thanks =)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...