Initial commit

This commit is contained in:
Hugues Ross 2020-04-25 09:50:07 -04:00
commit f4762b3e6e
21 changed files with 98 additions and 0 deletions

95
init.lua Normal file
View File

@ -0,0 +1,95 @@
-- Biomes
-- Markers
-- Line drawing markers
cartographer.register_marker("ctg_mtg:line_h", "Line (Horizontal)", {
"ctg_mtg_marker_line_h",
});
cartographer.register_marker("ctg_mtg:line_v", "Line (Vertical)", {
"ctg_mtg_marker_line_v",
});
cartographer.register_marker("ctg_mtg:line_c_ne", "Line (North-East Corner)", {
"ctg_mtg_marker_line_c_ne",
});
cartographer.register_marker("ctg_mtg:line_c_se", "Line (South-East Corner)", {
"ctg_mtg_marker_line_c_se",
});
cartographer.register_marker("ctg_mtg:line_c_nw", "Line (North-West Corner)", {
"ctg_mtg_marker_line_c_nw",
});
cartographer.register_marker("ctg_mtg:line_c_sw", "Line (South-West Corner)", {
"ctg_mtg_marker_line_c_sw",
});
cartographer.register_marker("ctg_mtg:line_t_n", "Line (North T-Intersection)", {
"ctg_mtg_marker_line_t_n",
});
cartographer.register_marker("ctg_mtg:line_t_s", "Line (South T-Intersection)", {
"ctg_mtg_marker_line_t_s",
});
cartographer.register_marker("ctg_mtg:line_t_e", "Line (East T-Intersection)", {
"ctg_mtg_marker_line_t_e",
});
cartographer.register_marker("ctg_mtg:line_t_w", "Line (West T-Intersection)", {
"ctg_mtg_marker_line_t_w",
});
cartographer.register_marker("ctg_mtg:line_cross", "Line (Crossing)", {
"ctg_mtg_marker_line_cross",
});
-- Arrow markers
cartographer.register_marker("ctg_mtg:arrow_n", "Arrow (North)", {
"ctg_mtg_marker_arrow_n",
});
cartographer.register_marker("ctg_mtg:arrow_s", "Arrow (South)", {
"ctg_mtg_marker_arrow_s",
});
cartographer.register_marker("ctg_mtg:arrow_e", "Arrow (East)", {
"ctg_mtg_marker_arrow_e",
});
cartographer.register_marker("ctg_mtg:arrow_w", "Arrow (West)", {
"ctg_mtg_marker_arrow_w",
});
cartographer.register_marker("ctg_mtg:arrow_ne", "Arrow (North-East)", {
"ctg_mtg_marker_arrow_ne",
});
cartographer.register_marker("ctg_mtg:arrow_se", "Arrow (South-East)", {
"ctg_mtg_marker_arrow_se",
});
cartographer.register_marker("ctg_mtg:arrow_nw", "Arrow (North-West)", {
"ctg_mtg_marker_arrow_nw",
});
cartographer.register_marker("ctg_mtg:arrow_sw", "Arrow (South-West)", {
"ctg_mtg_marker_arrow_sw",
});
-- Materials
cartographer.register_map_material_name("default:paper", "paper");
cartographer.register_map_material_name("default:coal_lump", "pigment");
cartographer.register_map_material_name("default:coalblock", "pigment", 9);
cartographer.register_map_material_name("dye:black", "pigment");
-- Crafting Recipes
minetest.register_craft({
output = "cartographer:simple_table",
recipe = {
{"group:wood", "group:wood", "group:wood"},
{"group:stick", "", "group:stick"},
{"group:stick", "group:stick", "group:stick"},
}
})
minetest.register_craft({
output = "cartographer:standard_table",
recipe = {
{"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
{"default:steel_ingot", "cartographer:simple_table", "default:steel_ingot"},
{"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
}
})
minetest.register_craft({
output = "cartographer:advanced_table",
recipe = {
{"default:mese_crystal_fragment", "default:mese_crystal_fragment", "default:mese_crystal_fragment"},
{"default:mese_crystal_fragment", "cartographer:simple_table", "default:mese_crystal_fragment"},
{"default:mese_crystal_fragment", "default:mese_crystal_fragment", "default:mese_crystal_fragment"},
}
})

3
mod.conf Normal file
View File

@ -0,0 +1,3 @@
name = cartographer_minetest_game
description = Adds regional maps that you can craft and place
depends = cartographer, default, dye

Binary file not shown.

After

Width:  |  Height:  |  Size: 1006 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1020 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1016 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1014 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1020 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1018 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1018 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1004 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 982 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 982 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 986 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 985 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 987 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 980 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 987 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 984 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 986 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 986 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 979 B