MineClone2/mods/ITEMS/mcl_fletching_table/init.lua

33 lines
1.1 KiB
Lua
Raw Normal View History

2022-05-14 23:14:50 +02: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 17:53:00 +02: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-14 23:14:50 +02:00
},
paramtype2 = "facedir",
groups = { axey = 2, handy = 1, deco_block = 1, material_wood = 1, flammable = 1 },
2023-02-25 12:31:14 +01:00
sounds = mcl_sounds.node_sound_wood_defaults(),
_mcl_blast_resistance = 2.5,
_mcl_hardness = 2.5
2022-05-14 23:14:50 +02:00
})
2022-05-14 23:48:33 +02:00
2022-05-14 23:14:50 +02: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", "" },
}
})
minetest.register_craft({
type = "fuel",
recipe = "mcl_fletching_table:fletching_table",
burntime = 15,
})