mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 10:31:06 +01:00
760fe1aa68
- group:bee_nest - group:beehive - mcl_cartography_table:cartography_table - mcl_core:deadbush - mcl_fletching_table:fletching_table - mcl_lectern:lectern - mcl_loom:loom - mcl_mangrove:mangrove_roots - mcl_smithing_table:table Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4184 Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com> Co-authored-by: nixnoxus <nixnoxus@web.de> Co-committed-by: nixnoxus <nixnoxus@web.de>
34 lines
1,015 B
Lua
34 lines
1,015 B
Lua
local S = minetest.get_translator(minetest.get_current_modname())
|
|
-- Loom Code. Used to craft banner designs easier. Still needs a GUI. https://minecraft.fandom.com/wiki/Loom
|
|
|
|
minetest.register_node("mcl_loom:loom", {
|
|
description = S("Loom"),
|
|
_tt_help = S("Used to create banner designs"),
|
|
_doc_items_longdesc = S("This is the shepherd villager's work station. It is used to create banner designs."),
|
|
tiles = {
|
|
"loom_top.png", "loom_bottom.png",
|
|
"loom_side.png", "loom_side.png",
|
|
"loom_side.png", "loom_front.png"
|
|
},
|
|
paramtype2 = "facedir",
|
|
groups = { axey = 2, handy = 1, deco_block = 1, material_wood = 1, flammable = 1 },
|
|
sounds = mcl_sounds.node_sound_wood_defaults(),
|
|
_mcl_blast_resistance = 2.5,
|
|
_mcl_hardness = 2.5
|
|
})
|
|
|
|
|
|
minetest.register_craft({
|
|
output = "mcl_loom:loom",
|
|
recipe = {
|
|
{ "", "", "" },
|
|
{ "mcl_mobitems:string", "mcl_mobitems:string", "" },
|
|
{ "group:wood", "group:wood", "" },
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type = "fuel",
|
|
recipe = "mcl_loom:loom",
|
|
burntime = 15,
|
|
})
|