TyrantXP Posted October 26, 2014 Share Posted October 26, 2014 Hi there, I cant find anything about making a Custom Item Recipe i don't know how exactly do thisIm 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. Link to comment Share on other sites More sharing options...
Mobbstar Posted October 26, 2014 Share Posted October 26, 2014 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. Link to comment Share on other sites More sharing options...
TyrantXP Posted October 26, 2014 Author Share Posted October 26, 2014 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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.