Initial commit
95
init.lua
Normal 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
@ -0,0 +1,3 @@
|
||||
name = cartographer_minetest_game
|
||||
description = Adds regional maps that you can craft and place
|
||||
depends = cartographer, default, dye
|
BIN
textures/ctg_mtg_marker_arrow_e.png
Normal file
After Width: | Height: | Size: 1006 B |
BIN
textures/ctg_mtg_marker_arrow_n.png
Normal file
After Width: | Height: | Size: 1020 B |
BIN
textures/ctg_mtg_marker_arrow_ne.png
Normal file
After Width: | Height: | Size: 1016 B |
BIN
textures/ctg_mtg_marker_arrow_nw.png
Normal file
After Width: | Height: | Size: 1014 B |
BIN
textures/ctg_mtg_marker_arrow_s.png
Normal file
After Width: | Height: | Size: 1020 B |
BIN
textures/ctg_mtg_marker_arrow_se.png
Normal file
After Width: | Height: | Size: 1018 B |
BIN
textures/ctg_mtg_marker_arrow_sw.png
Normal file
After Width: | Height: | Size: 1018 B |
BIN
textures/ctg_mtg_marker_arrow_w.png
Normal file
After Width: | Height: | Size: 1004 B |
BIN
textures/ctg_mtg_marker_line_c_ne.png
Normal file
After Width: | Height: | Size: 982 B |
BIN
textures/ctg_mtg_marker_line_c_nw.png
Normal file
After Width: | Height: | Size: 982 B |
BIN
textures/ctg_mtg_marker_line_c_se.png
Normal file
After Width: | Height: | Size: 986 B |
BIN
textures/ctg_mtg_marker_line_c_sw.png
Normal file
After Width: | Height: | Size: 985 B |
BIN
textures/ctg_mtg_marker_line_cross.png
Normal file
After Width: | Height: | Size: 987 B |
BIN
textures/ctg_mtg_marker_line_h.png
Normal file
After Width: | Height: | Size: 980 B |
BIN
textures/ctg_mtg_marker_line_t_e.png
Normal file
After Width: | Height: | Size: 987 B |
BIN
textures/ctg_mtg_marker_line_t_n.png
Normal file
After Width: | Height: | Size: 984 B |
BIN
textures/ctg_mtg_marker_line_t_s.png
Normal file
After Width: | Height: | Size: 986 B |
BIN
textures/ctg_mtg_marker_line_t_w.png
Normal file
After Width: | Height: | Size: 986 B |
BIN
textures/ctg_mtg_marker_line_v.png
Normal file
After Width: | Height: | Size: 979 B |