I was trying to make a mod to craft spacesuit emps with easy to find materials.
I was trying to basically copy the Early SETA mod that is already present on nexus mods.
The code for that mod seemed quite simple, I'll copy it here.
<?xml version="1.0" encoding="utf-8"?>
<diff>
<replace sel="//ware[@id='inv_timewarp']/production/primary/ware[@ware='inv_damagedsingularityengine']/@ware">inv_interfaceunit</replace>
<remove sel="//ware[@id='inv_timewarp']/production/primary/ware[@ware='inv_fluxcapacitor']"/>
<remove sel="//ware[@id='inv_timewarp']/production/primary/ware[@ware='inv_programmablefieldarray']"/>
</diff>
My reasoning was that by substituting all the parts concerning SETA with those concerning the spacesuit EMP I would have obtained a similar effect, which is to make spacesuit EMP craftable with just one interface unit. Unfortunately it didn't go as planned and it's not working.
I wrote down something like this:
<?xml version="1.0" encoding="utf-8"?>
<diff>
<replace sel="//ware[@id='inv_spacesuitemp']/production/primary/ware[@ware='inv_lodestone']/@ware">inv_interfaceunit</replace>
<remove sel="//ware[@id='inv_spacesuitemp']/production/primary/ware[@ware='inv_remotedetonator']"/>
<remove sel="//ware[@id='inv_spacesuitemp']/production/primary/ware[@ware='inv_securecontainer']"/>
</diff>
If anybody could enlighten me I would be very grateful
