parent
5060891748
commit
029a4a502e
|
@ -0,0 +1 @@
|
|||
This is a simple lights mod that uses default items.
|
9
init.lua
9
init.lua
|
@ -30,4 +30,13 @@ minetest.register_node("mydefaultlights:ceiling_light_"..color, {
|
|||
},
|
||||
on_place = minetest.rotate_node,
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = 'mydefaultlights:ceiling_light_"..color 20',
|
||||
recipe = {
|
||||
{'', item, ''},
|
||||
{item, 'default:torcht', item},
|
||||
{'', '', ''},
|
||||
},
|
||||
})
|
||||
|
||||
end
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 47 KiB |
Loading…
Reference in New Issue