MineClone2/mods/ITEMS/mcl_fletching_table/init.lua

25 lines
1011 B
Lua
Raw Permalink Normal View History

2022-05-15 00:14:50 +03:00
local S = minetest.get_translator(minetest.get_current_modname())
-- Fletching Table Code. No use as of current Minecraft Updates. Basically a decor block. As of now, this is complete.
minetest.register_node("mcl_fletching_table:fletching_table", {
description = S("Fletching Table"),
_tt_help = S("A fletching table"),
_doc_items_longdesc = S("This is the fletcher villager's work station. It currently has no use beyond decoration."),
tiles = {
2022-07-03 18:53:00 +03:00
"fletching_table_top.png", "fletching_table_bottom.png",
"fletching_table_front.png", "fletching_table_front.png",
"fletching_table_side.png", "fletching_table_side.png"
2022-05-15 00:14:50 +03:00
},
paramtype2 = "facedir",
groups = { axey = 2, handy = 1, deco_block = 1, material_wood = 1, flammable = 1 },
_mcl_blast_resistance = 2.5,
_mcl_hardness = 2.5
2022-05-15 00:14:50 +03:00
})
2022-05-15 00:48:33 +03:00
2022-05-15 00:14:50 +03:00
minetest.register_craft({
output = "mcl_fletching_table:fletching_table",
recipe = {
{ "mcl_core:flint", "mcl_core:flint", "" },
{ "group:wood", "group:wood", "" },
{ "group:wood", "group:wood", "" },
}
})