The_Great_Sephiroth
Refugee
I'm trying to make the blade traps more expensive right now and seem to have an issue that I cannot seem to figure out. First, the modification in blocks.xml is below.
Not sure why this isn't working. Next is the recipe component that is not applying.
Again, it looks right from what I understand about this XML stuff. C++ is my cup of tea though, so something might be wrong here. Have I missed something?
Code:
<set xpath="/blocks/block[@name='bladeTrap']/property[@class='RepairItems']/property[@name='resourceForgedSteel']/@value">20</set>
Not sure why this isn't working. Next is the recipe component that is not applying.
Code:
<set xpath="/recipes/recipe[@name='bladeTrap']/ingredient[@name='resourceForgedIron']/property[@name='count']/@value">20</set>
<set xpath="/recipes/recipe[@name='bladeTrap']/ingredient[@name='resourceForgedSteel']/property[@name='count']/@value">20</set>
<set xpath="/recipes/recipe[@name='bladeTrap']/ingredient[@name='resourceMechanicalParts']/property[@name='count']/@value">16</set>
<set xpath="/recipes/recipe[@name='bladeTrap']/ingredient[@name='resourceElectricParts']/property[@name='count']/@value">12</set>
<set xpath="/recipes/recipe[@name='bladeTrap']/ingredient[@name='resourceOil']/property[@name='count']/@value">20</set>
Again, it looks right from what I understand about this XML stuff. C++ is my cup of tea though, so something might be wrong here. Have I missed something?