Add torch crafting recipe
Added a crafting recipe to be able to craft torches using charcoal instead of coal lumps.master^2
parent
92e8f4b4cf
commit
f377373cf5
|
@ -0,0 +1,8 @@
|
|||
minetest.register_craft({
|
||||
type = "shaped",
|
||||
output = "default:torch 4",
|
||||
recipe = {
|
||||
{"minetest_additions:charcoal"},
|
||||
{"default:stick"}
|
||||
}
|
||||
})
|
5
init.lua
5
init.lua
|
@ -3,7 +3,10 @@ print("[Minetest Additions] Source Code: https://code.canreal.net/braydofficial/
|
|||
print("[Minetest Additions] Loading mod...")
|
||||
|
||||
local modpath = minetest.get_modpath(minetest.get_current_modname());
|
||||
dofile(modpath.."/crafting/tree_to_charcoal.lua"); --Crafting recipes to be able to burn tree-blocks to coal
|
||||
--Load crafting recipes
|
||||
dofile(modpath.."/crafting/craft_tree_to_charcoal.lua");
|
||||
dofile(modpath.."/crafting/craft_torch.lua");
|
||||
--Load items
|
||||
dofile(modpath.."/items/charcoal.lua");
|
||||
|
||||
print("[Minetest Additions] Finished loading!")
|
Loading…
Reference in New Issue