JasonX
Refugee
Hi all,
I'm trying to add a custom electrical recipe to the existing recipes... and I keep getting an error no matter what syntax I use.
Anyone spot what I'm doing wrong?
The error is:
The code I'm using is:
<append xpath="progression/crafting_skill[@name='craftingElectrician']/display_entry[@name_key='electricianT1']/unlock_entry/@item">,TestlightIndustrialRed></append>
The code in progression.xml that I'm trying to add to is the first unlock_entry item.. basically adding the custom recipe after the recipe "ceilingLight07_player".
I'm trying to add a custom electrical recipe to the existing recipes... and I keep getting an error no matter what syntax I use.
Anyone spot what I'm doing wrong?
The error is:
Code:
2023-09-07T18:09:54 34.536 WRN XML patch for "progression.xml" from mod "Test" did not apply: <append xpath="progression/crafting_skill[@name='craftingElectrician']/display_entry[@name_key='electricianT1']/unlock_entry/@item" (line 14 at pos 2)
<append xpath="progression/crafting_skill[@name='craftingElectrician']/display_entry[@name_key='electricianT1']/unlock_entry/@item">,TestlightIndustrialRed></append>
The code in progression.xml that I'm trying to add to is the first unlock_entry item.. basically adding the custom recipe after the recipe "ceilingLight07_player".
Code:
<crafting_skill name="craftingElectrician" max_level="100" parent="attCrafting" name_key="craftingElectricianName" desc_key="craftingElectricianDesc" long_desc_key="craftingElectricianLongDesc" icon="ui_game_symbol_electric_generator">
<display_entry icon="generatorBankA" name_key="electricianT1" has_quality="false" unlock_level="25" >
<unlock_entry item="generatorbank,electricwirerelay,switch,tripwirepost,ceilingLight01_player,industrialLight01_player,industrialLight02_player,ceilingLight07_player" unlock_tier="1" />
</display_entry>
<display_entry icon="motionsensor" name_key="electricianT2" has_quality="false" unlock_level="50" >
<unlock_entry item="motionsensor,electrictimerrelay,pressureplate,pressureplateLong,spotlightPlayer,speaker" unlock_tier="1" />
</display_entry>