Page 1 of 1

fuels for machines and how to make a new crafting type plz help

PostPosted: Sat Nov 02, 2013 12:54
by durtective6
im trying to make my own machine with its own method of making things (e.g. cooking) how would i tell/edit what fuels it takes? im also trying to make a new type/method of crafting for it, but it goes wrong when i make an item that needs that method of crafting, heres one of the errors->

13:06:35: ERROR[main]: Error loading mod "techno": LuaError: Unknown crafting definition type: "merging"
13:06:35: ERROR[main]: stack traceback:
13:06:35: ERROR[main]: [C]: in function 'register_craft'

many thanks

PostPosted: Mon Nov 04, 2013 03:18
by leetelate
yeah, you'd have to follow 'cooking' back to where it is defined and add 'merging' there - i have no idea where - it may be in the cpp but i doubt it - things like that are often in lua

if you are on linux, and you have the source, you can grep -rl "cooking" and wade through the rofl-million files that contain that word until you find where it is defined.

PostPosted: Mon Nov 04, 2013 16:16
by durtective6
k thanks
plus nah im on windows 8 :P

PostPosted: Mon Nov 04, 2013 18:05
by LionsDen
There is a grep for windows that has a graphical interface. I have it and it does make finding every file that has a certain text string in it very easy. I think if you search for grepwin you should be able to find it.

PostPosted: Mon Nov 04, 2013 18:48
by Dan Duncombe
Look at Realtest Revamped,it has some custom stuff like scribing table crafts and joiner table stuff.