root element named RecipeDefs; should be named Defs

Started by 1MINISKIDI, November 20, 2017, 03:00:33 PM

Previous topic - Next topic

1MINISKIDI

So im trying to update my simple mod to B18, made few changes but the game alwas likes to give me this error message:

(mod)\Defs\RecipeDefs/Recipes_Production.xml: root element named RecipeDefs; should be named Defs

I tried to change the name of RecipeDefs folder to Defs, did not work, tried to change its location, did not work, decided then to change it back how it was.

The recipes still work in the game no problem, but what i want to get rid of is the error message it causes when starting the game for some reason.

CannibarRechter

It's a complaint about the contents of your XML file, not the path name. Your recipe probably begins like this.


<RecipeDefs>
    <RecipeDef>
        ...

It needs to be changed to


<Defs>
    <RecipeDef>
        ...

CR All Mods and Tools Download Link
CR Total Texture Overhaul : Gives RimWorld a Natural Feel
CR Moddable: make RimWorld more moddable.
CR CompFX: display dynamic effects over RimWorld objects