Need mod help
Posted: Mon Jun 03, 2013 14:48
This is my first time modding, you may be able to tell, but I was trying to get the framework of my mod in minetest and it just tells me failed to load and run the mod, with no information (but I haven't looked in debug yet, but I'm not sure how to read the debug lol)
this is the code so far that won't run
And right now it says unexpected symbol near ' '
some of the stuff I dodn't fill in yet, I'm worried about the ' ' right now
and other syntax errors
this is the code so far that won't run
And right now it says unexpected symbol near ' '
some of the stuff I dodn't fill in yet, I'm worried about the ' ' right now
and other syntax errors
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.register_craft({
output = 'planes:battery',
inventory_image = "planes_battery.png"
recipe = {
{'default:iron_ingot', '', ''},
{'default:mese_crystal', '', ''},
{'default:iron_ingot', '', ''},
}
})
})
minetest.register_craft({
output = 'planes:esc_and_motor',
inventory_image = "motor.png"
recipe = {
{'default:mese_crystal_fragment', 'default:mese_crystal_fragment', 'default:iron_ingot'},
{'default:mese_crystal_fragment', 'default:iron_ingot', 'default:iron_ingot'},
{'default:iron_ingot', '', 'default:iron_ingot'},
}
})
})
minetest.register_craft({
output = 'planes:reciever',
inventory_image = "receiver.png"
recipe = {
{'default:iron_ingot', '', ''},
{'default:mese_crystal', '', ''},
{'', '', ''},
}
})
})
minetest.register_craft({
output = 'planes:electric_plane',
inventory_image = "plane_flat.png",
recipe = {
{'default:wood_planks', 'planes:esc_and_motor', 'default:wood_planks'},
{'default:mese_crystal', 'planes:battery', ''},
{'', 'planes:receiver', ''},
}
on_place_on_ground = envref.add_entity(player,electric_plane)
})
})
minetest.register_entity(planes:rc_plane_flying, entity_definition)
print( 'Planes Mod: LOADED ' )