Merge pull request 'Add torch crafting recipe' (#2) from develop into main
Reviewed-on: https://code.canreal.net/braydofficial/minetest-additions/pulls/2master
commit
086b374d9a
|
@ -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