xforce/anno1800-mod-loader

Strange issues patching construction menu

Closed this issue · 1 comments

when I try to patch a construction menu to show a new building I do this:

  <ModOp Type="addnextSibling" GUID="25000189" Path="/Values/ConstructionCategory/BuildingList/Item[Building='500002']">
    <Item>
      <Building>1400000379</Building>
    </Item>
  </ModOp>

It appears right next to Schnapps, ok. Then I add another ModOp adding another building in a different position the same way.
It works fine as along as BOTH ModOps are part of the SAME mod.

When I put the second ModOp in a different file I get this in the log:
[warning] No matching node for Path //Asset[Values/Standard/GUID='25000189']/Values/ConstructionCategory/BuildingList/Item[Building='500002'] in ...

Never mind. My mistake. Closed.