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

User avatar
durtective6
Member
 
Posts: 167
Joined: Sun Aug 12, 2012 14:19
In-game: derplez

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

by durtective6 » Sat Nov 02, 2013 12:54

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
Last edited by durtective6 on Sun Nov 03, 2013 14:20, edited 1 time in total.
 

leetelate
Member
 
Posts: 205
Joined: Thu Aug 29, 2013 18:07

by leetelate » Mon Nov 04, 2013 03:18

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.
MT IS MC'S SMARTER BROTHER
minetest 0.4.8 compiled from latest git on linux mint 15 with qjoypad and wired 360 controller
freeminer, pilztest, buildcraft and next are the idea factories
my minetest page is http://1337318.zymichost.com if zymic isn't down - meh, it is free...
 

User avatar
durtective6
Member
 
Posts: 167
Joined: Sun Aug 12, 2012 14:19
In-game: derplez

by durtective6 » Mon Nov 04, 2013 16:16

k thanks
plus nah im on windows 8 :P
 

User avatar
LionsDen
Member
 
Posts: 525
Joined: Thu Jun 06, 2013 03:19

by LionsDen » Mon Nov 04, 2013 18:05

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.
Last edited by LionsDen on Mon Nov 04, 2013 18:05, edited 1 time in total.
 

User avatar
Dan Duncombe
Member
 
Posts: 904
Joined: Thu May 09, 2013 21:11

by Dan Duncombe » Mon Nov 04, 2013 18:48

Look at Realtest Revamped,it has some custom stuff like scribing table crafts and joiner table stuff.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 5 guests

cron