Archived

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

Please be aware that the content of this thread may be outdated and no longer applicable.

TyrantXP

Custom ITEM Recipe

Recommended Posts

TyrantXP    1

Hi there,

 

I cant find anything about making a Custom Item Recipe i don't know how exactly do this

Im trying to do somthing but still crashing :(

 

and i need also make a image of MY One custom ingredient show in the crafting tab too.

 

Share this post


Link to post
Share on other sites
Mobbstar    14078

A custom item is like a placable, but without the last parameter (the placer).

 

That means you need to make...

... TECH.SOMETHING, "something_placer")

to ....

... TECH.SOMETHING)

 

For the image, put your recipe as a variable, like so:

 

local rec = Recipe("mything", ....)

 

and after that put your texture name:

rec.atlas = "images/myimage.xml"

 

EDIT: That belongs into modmain.lua, I asume you have handled the GLOBAL.x stuff already.

Share this post


Link to post
Share on other sites
TyrantXP    1

A custom item is like a placable, but without the last parameter (the placer).

 

That means you need to make...

... TECH.SOMETHING, "something_placer")

to ....

... TECH.SOMETHING)

 

For the image, put your recipe as a variable, like so:

 

local rec = Recipe("mything", ....)

 

and after that put your texture name:

rec.atlas = "images/myimage.xml"

 

EDIT: That belongs into modmain.lua, I asume you have handled the GLOBAL.x stuff already.

 

Allright got it working :grin:

Share this post


Link to post
Share on other sites