Quote:
Originally Posted by jmucchiello
Found another one:
When you use a custom descriptor, the XML output gives you:
<descriptors>
<descriptor name="- Custom Descriptor -"/>
</descriptors>
Of course the data is in the internal file:
<pick thing="pdsOther" index="490" batchindex="245" refcount="0" fieldcount="1" source="pwDescs">
<field id="pdsUserNm" text="My super special descriptor"></field>
</pick>
You just can't get it from the XML unless you parse the summary attribute.
|
FWIW, the relevant bit of code is in the "xopower" procedure, available in the editor:
Quote:
~add all descriptors on the power
childnode = xml[node].addchild["descriptors"]
foreach pick in focus.gizmo from PowerDesc
grandchild = xml[childnode].addchild["descriptor"]
xml[grandchild].attr["name"] = eachpick.field[name].text
nexteach
|
Unfortunately, the ability to replace procedures is very limited due to that you have to change all of the references to them, so this is something that Lone Wolf would have to fix, and they haven't been doing a lot of that.