parent
029a4a502e
commit
b5fe5e8944
|
@ -0,0 +1,5 @@
|
||||||
|
#mydefaultlights
|
||||||
|
|
||||||
|
This is a mod for Minetest that lets you make light fixtures out of different default items.
|
||||||
|
|
||||||
|
Licence - DWYWPL
|
14
init.lua
14
init.lua
|
@ -31,12 +31,20 @@ minetest.register_node("mydefaultlights:ceiling_light_"..color, {
|
||||||
on_place = minetest.rotate_node,
|
on_place = minetest.rotate_node,
|
||||||
})
|
})
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = 'mydefaultlights:ceiling_light_"..color 20',
|
output = 'mydefaultlights:ceiling_light_'..color..' 20',
|
||||||
recipe = {
|
recipe = {
|
||||||
{'', item, ''},
|
{'', item, ''},
|
||||||
{item, 'default:torcht', item},
|
{item, 'default:torch', item},
|
||||||
{'', '', ''},
|
{'', '', ''},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
end
|
end
|
||||||
|
minetest.register_craft({
|
||||||
|
output = 'mydefaultlights:ceiling_light_lava 20',
|
||||||
|
recipe = {
|
||||||
|
{'', 'bucket:bucket_lava', ''},
|
||||||
|
{'bucket:bucket_lava', 'default:torch', 'bucket:bucket_lava'},
|
||||||
|
{'', '', ''},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
DO WHAT YOU WANT TO PUBLIC LICENSE
|
||||||
|
or abbreviated DWYWPL
|
||||||
|
|
||||||
|
December 2nd 2015
|
||||||
|
License Copyright (C) 2015 Michael Tomaino (PlatinumArts@gmail.com)
|
||||||
|
www.sandboxgamemaker.com/DWYWPL/
|
||||||
|
|
||||||
|
DO WHAT YOU WANT TO PUBLIC LICENSE
|
||||||
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
|
1. You are allowed to do whatever you want to with what content is using this license.
|
||||||
|
2. This content is provided 'as-is', without any express or implied warranty. In no event
|
||||||
|
will the authors be held liable for any damages arising from the use of this content.
|
Loading…
Reference in New Issue