small modifications
This commit is contained in:
parent
321c25a03f
commit
85176eb3cd
|
@ -1,8 +1,12 @@
|
|||
|
||||
-- craft raw oil lamp enclosures by using 8 clump of clay
|
||||
-- this raw enclosure has to be burned to be stable
|
||||
minetest.register_craft({
|
||||
output = "oillamps:oillampraw 8",
|
||||
recipe = {{"default:clay_lump","default:clay_lump","default:clay_lump"},{"default:clay_lump","","default:clay_lump"},{"default:clay_lump","default:clay_lump","default:clay_lump"}},
|
||||
})
|
||||
|
||||
-- create a usable oil lamp by burning raw enclosures
|
||||
minetest.register_craft({
|
||||
output = "oillamps:oillampempty 1",
|
||||
type = "cooking",
|
||||
|
@ -15,6 +19,7 @@ minetest.register_craft({
|
|||
recipe = {{"group:seed","group:seed"},{"group:seed","group:seed"}},
|
||||
})
|
||||
|
||||
-- fill an empty oil lamp with oil extract
|
||||
minetest.register_craft({
|
||||
recipe = {{"basic_materials:oil_extract"},{"oillamps:oillampempty"}},
|
||||
output = "oillamps:oillamp 1",
|
||||
|
|
13
init.lua
13
init.lua
|
@ -1,8 +1,15 @@
|
|||
|
||||
oillamps = {}
|
||||
oillamps.mod = { author = "Andreas Demant" }
|
||||
oillamps.modpath = minetest.get_modpath("oillamps")
|
||||
oillamps = {
|
||||
mod = {author = "Andreas Demant"},
|
||||
modpath = minetest.get_modpath("oillamps"),
|
||||
modname = minetest.get_current_modname(),
|
||||
}
|
||||
|
||||
minetest.log("action", "[MOD]"..oillamps.modname.." -- start loading ")
|
||||
|
||||
dofile(oillamps.modpath .. "/nodes.lua")
|
||||
dofile(oillamps.modpath .. "/craftitems.lua")
|
||||
dofile(oillamps.modpath .. "/crafts.lua")
|
||||
|
||||
minetest.log("action", "[MOD]"..oillamps.modname.." -- end loading ")
|
||||
|
||||
|
|
Loading…
Reference in New Issue