2022-05-15 00:24:44 +03:00
|
|
|
local S = minetest.get_translator(minetest.get_current_modname())
|
|
|
|
-- Cartography Table Code. Used to create and copy maps. 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 = {
|
|
|
|
"cartography_table_top.png", "cartography_table_side3.png",
|
|
|
|
"cartography_table_side3.png", "cartography_table_side2.png",
|
|
|
|
"cartography_table_side3.png", "cartography_table_side1.png"
|
|
|
|
},
|
|
|
|
paramtype2 = "facedir",
|
2022-05-15 00:48:33 +03:00
|
|
|
groups = {choppy=1, deco_block=1, material_wood=1,flammable=1}
|
2022-05-15 00:24:44 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "mcl_cartography_table:cartography_table",
|
|
|
|
recipe = {
|
|
|
|
{ "mcl_core:paper", "mcl_core:paper", "" },
|
|
|
|
{ "group:wood", "group:wood", "" },
|
|
|
|
{ "group:wood", "group:wood", "" },
|
|
|
|
}
|
|
|
|
})
|