another problem with my mod -_- crafting with dirt

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

another problem with my mod -_- crafting with dirt

by durtective6 » Fri Aug 30, 2013 13:37

whenever i put default:dirt or dirt into the crafting recipe part of the LUA file, when i load the game the mod fails to load.
one of the blocks needs dirt to be able to be crafted but i cant get the mod to work due to the crafting recipe not working.
what do i put so i can have a crafting recipe that includes dirt?

NOTE: i cant get it to work with gravel and some other stuff either
Last edited by durtective6 on Fri Aug 30, 2013 13:40, edited 1 time in total.
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Fri Aug 30, 2013 13:41

It could help if you pasted the actual code for us to see.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

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

by durtective6 » Fri Aug 30, 2013 13:42

lol k
minetest.register_node("blocksplus:hard_dirt",{
description = "hard dirt",
tile_images = {hard_dirt.png},
groups = {crumbly=1},
})
minetest.register_craft({
output = '"blocksplus:hard_dirt"',
recipe = {
{'default:dirt', 'default:dirt', 'default:dirt'},
{'default:dirt', 'default:dirt', 'default:dirt'},
{'default:dirt', 'default:dirt', 'default:dirt'},
}
})

i cant get it to work with clay and other stuff either
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Fri Aug 30, 2013 13:44

durtective6 wrote:output = '"blocksplus:hard_dirt"',

Remove one pair of quotes.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

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

by durtective6 » Fri Aug 30, 2013 13:48

i tried some but it didnt work
i tried output = "blocksplus:hard_dirt"
'blocksplus:hard_dirt'

the problem is probably very basic and im to tired to see it :P
Last edited by durtective6 on Fri Aug 30, 2013 13:49, edited 1 time in total.
 

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

by durtective6 » Fri Aug 30, 2013 13:58

i think ive got it to work
 


Return to Minetest Problems

Who is online

Users browsing this forum: Bing [Bot] and 14 guests