Jump to content

Open Community  ·  99 members

7 Days To Die

Need help with XML File


Starslayer71002

Recommended Posts

[Resolved]

I'm trying to make a Modlet that allows the stone axe to instantly repair, don't really understand why it's not working... here is the code... obviously the syntax looks wrong because tabbing isn't supported:

<instantUpgradingStoneAxe>
<set xpath="items/item[@name='meleeToolStoneAxe']/property[@name='Repair_amount']/@value">250</set>
<set xpath="items/item[@name='meleeToolStoneAxe']/property[@name='Upgrade_hit_offset']/@value">-3</set>
</instantUpgradingStoneAxe>

I've also tried doing:

/property/property
and
/property[@class='Action1']/property

I have experience making other Modlets and programming btw.

Edited by Starslayer71002
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...