• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Mod help please

dragonslayer770

New member
Can someone tell me if this x path still works? Thank you.

<set xpath="recipes/recipe[@name='foodBaconAndEggs']/ingredient[@name='foodRawMeat']/@count">2</set>   
    <set xpath="recipes/recipe[@name='foodBaconAndEggs']/ingredient[@name='foodEgg']/@count">1</set>

 
Is it a specific mod or did you make your own mod?

It's strange that it's not working for you.
Have you completely quit the game and checked the mod on its own, starting a new game?

Regards

Gouki

 
To add to Gouki's response, what does the full code look like? Can you confirm that its not accidentally embedded within an parent <append> element or something like that.

Can you check your log file for any WRN or ERR messages to make sure the code is being parsed properly.

cheers

 
@Gouki Yes, I tried a new game with this mod and the  0_TFP_Harmony

@JoeSloeMoe it's my code, and that's it for the bacon and eggs recipe

I do have more recipes, but they are written the same way 

the log dose say this 

Food Recipes/ModInfo.xml in legacy format. V2 required to load mod

===Update===

I got it working. It was the name in the modinfo XML

Thanks for the help.

 
Last edited by a moderator:
Back
Top