Jump to content

[MOD] Craftable Battery + Solar Collector ??


The Loooser

Recommended Posts

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* ....

Link to comment
Share on other sites

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 :)

Link to comment
Share on other sites

Yes I did it like this ... but sadly it still freezes when *loading Items*

 

When hitting F1 it is telling:

 

Unbenannt.png

 

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.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...