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

[MOD] Craftable Battery + Solar Collector ??

The Loooser

New member
Hello!

I want to make those 2 above craftable.

But how do I do it ?

Do I just add new lines in *Receipes.xml* ?

Like this:

<recipe name="carBattery" count="10" craft_area="workbench">

<ingredient name="wood" count="1"/>

</recipe>

Would this be suitable for battery + solar collector ?

AND

Do I need to place the lines somewhere special or anywhere in the receipes.xml ?

THXXX

Hmmm I just did it, placed it directly at the beginning (before Mag Ammo) and the game freezes at *Loading Items* ....

 
Last edited by a moderator:
In items.xml you can find the names of any item you want to create a receipe for.

So its carBattery and solarCell.

As long as the <recipe> bla bla </recipe> is within the <recipes> ... </recipes> it doesnt matter where you put it.

Cheers

-edit- might wanna balance the ingredients a bit as 1 wood to create a carBattery is well...eeeeh..pretty cheap :)

 
Last edited by a moderator:
Yes I did it like this ... but sadly it still freezes when *loading Items*

When hitting F1 it is telling:



And this is what I wrote:

<recipe name="SolarCell" count="10"

<ingredient name="wood" count="1"/>

</recipe>

<recipe name="carBattery" count="10"

<ingredient name="wood" count="1"/>

</recipe>

But this is correct ?!

It happens for every Item which I choose.

I copy exactly an existing Item and replace it with a LEGITIMATE other Item's ID-Name, but I get this error.

 
Last edited by a moderator:
The illegal character means it's not that though. Going to be a missing " or < or something. Check the line ABOVE 2682 as well.

 
Oh man I am indeed missing a > because I deleted the *crafting at workbench* thing but did also remove the > at the end ...

Ok and Solar Cell did NOT show in my inventory, then it must be because of the capitalized S.

THXXX

 
Back
Top