Skip to content
Snippets Groups Projects
Commit 6f809fd9 authored by Tuxilio's avatar Tuxilio
Browse files

Upload init.lua without comments (to show how easy it is to make mods)

parent 1d3015a7
No related branches found
No related tags found
No related merge requests found
minetest.register_craftitem("meinemod:itemname", {
description = "Mein Item",
inventory_image = "meinemod_itemname.png"
on_use = minetest.item_eat(20)
})
minetest.register_craft({
type = "shaped",
output = "meinemod:itemname 2",
recipe = {
{"default:dirt", "" , "" },
{"default:dirt", "default:dirt", "" },
{"default:dirt", "default:dirt", "default:dirt"}
}
})
minetest.register_node("meinemod:blockname", {
description = "Mein Block",
tiles = {"meinemod_blockname.png"},
is_ground_content = true,
groups = {cracky=3, stone=1}
})
minetest.register_craft({
type = "shaped",
output = "meinemod:blockname 2",
recipe = {
{"" , "" , "default:dirt"},
{"" , "default:dirt", "default:dirt"},
{"default:dirt", "default:dirt", "default:dirt"}
}
})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment