Jump to content

Rough Modding Start


Oort

Recommended Posts

Trying to get started in understanding modding and am trying to add in some simple blocks that appear only to be available in creative mode for decoration. Things like the pipes and control panels. When I put in my mod it loads :

 

2019-01-27T07:05:03 6.356 INF [MODS] Trying to load from Oort_Ballance_Adjust
2019-01-27T07:05:03 6.357 INF [MODS] Loaded Mod: Item Balance Adjustments (1.0)

 

But soon after that I get

 

ERR XML loader: Patching 'recipes.xml' from mod 'Item Balance Adjustments' failed
yyUnexpectedEof

 

This is the mod code

 

<OortMod>
<append xpath="recipes/">
	<recipe name="metalPipeStraight" count="1" craft_area="workbench">
		<ingredient name="resourceScrapIron" count="25"/>
		<ingredient name="resourceForgedIron" count="2"/>
	</recipe>
</append>
</OortMod>

 

Trying to look at other mods for references on what I might be missing or doing wrong, but not having any luck. Can anyone point me in the right direction?

Link to comment
Share on other sites

Trying to get started in understanding modding and am trying to add in some simple blocks that appear only to be available in creative mode for decoration. Things like the pipes and control panels. When I put in my mod it loads :

 

2019-01-27T07:05:03 6.356 INF [MODS] Trying to load from Oort_Ballance_Adjust
2019-01-27T07:05:03 6.357 INF [MODS] Loaded Mod: Item Balance Adjustments (1.0)

 

But soon after that I get

 

ERR XML loader: Patching 'recipes.xml' from mod 'Item Balance Adjustments' failed
yyUnexpectedEof

 

This is the mod code

 

<OortMod>
<append xpath="recipes/">
	<recipe name="metalPipeStraight" count="1" craft_area="workbench">
		<ingredient name="resourceScrapIron" count="25"/>
		<ingredient name="resourceForgedIron" count="2"/>
	</recipe>
</append>
</OortMod>

 

Trying to look at other mods for references on what I might be missing or doing wrong, but not having any luck. Can anyone point me in the right direction?

 

Would you mind attaching the full file? That looks like its valid XML

Link to comment
Share on other sites

Try this instead.

 

Oh duh. That did it! Thanks KhaineGB, I was afraid it was going to be something newbish involved. Misplaced slash ...geesh. Odd that it successfully loaded it that way.

 

 

Would you mind attaching the full file? That looks like its valid XML

 

That is pretty much the full recipe.xml file Sphereii. I have a few other entries, but they are all commented out till I could get at least the first one to work. Silly slash put in wrong place - gah. lol

 

Thanks so much for helping me out with this!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...