mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 02:21: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.1 KiB
Lua
34 lines
1.1 KiB
Lua
local S = minetest.get_translator(minetest.get_current_modname())
|
|
-- Cartography Table Code. Used to create and copy maps. TODO: Needs a GUI still.
|
|
|
|
minetest.register_node("mcl_cartography_table:cartography_table", {
|
|
description = S("Cartography Table"),
|
|
_tt_help = S("Used to create or copy maps"),
|
|
_doc_items_longdesc = S("Is used to create or copy maps for use.."),
|
|
tiles = {
|
|
"mcl_cartography_table_top.png", "mcl_cartography_table_side3.png",
|
|
"mcl_cartography_table_side3.png", "mcl_cartography_table_side2.png",
|
|
"mcl_cartography_table_side3.png", "mcl_cartography_table_side1.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_cartography_table:cartography_table",
|
|
recipe = {
|
|
{ "mcl_core:paper", "mcl_core:paper", "" },
|
|
{ "group:wood", "group:wood", "" },
|
|
{ "group:wood", "group:wood", "" },
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type = "fuel",
|
|
recipe = "mcl_cartography_table:cartography_table",
|
|
burntime = 15,
|
|
})
|