Update displayed paper/pigment textures

This commit is contained in:
Hugues Ross 2020-06-27 11:26:57 -04:00
parent 890a1a2487
commit 2b43a08b00

View File

@ -305,7 +305,7 @@ minetest.register_craft({
{"group:stick", "", "group:stick"}, {"group:stick", "", "group:stick"},
{"group:stick", "group:stick", "group:stick"}, {"group:stick", "group:stick", "group:stick"},
} }
}) });
minetest.register_craft({ minetest.register_craft({
output = "cartographer:standard_table", output = "cartographer:standard_table",
recipe = { recipe = {
@ -313,7 +313,7 @@ minetest.register_craft({
{"default:steel_ingot", "cartographer:simple_table", "default:steel_ingot"}, {"default:steel_ingot", "cartographer:simple_table", "default:steel_ingot"},
{"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"}, {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
} }
}) });
minetest.register_craft({ minetest.register_craft({
output = "cartographer:advanced_table", output = "cartographer:advanced_table",
recipe = { recipe = {
@ -321,11 +321,17 @@ minetest.register_craft({
{"default:mese_crystal_fragment", "cartographer:simple_table", "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"}, {"default:mese_crystal_fragment", "default:mese_crystal_fragment", "default:mese_crystal_fragment"},
} }
}) });
-- Skin
for _,skin in pairs(cartographer.skin.table_skins) do
skin.paper_texture = "default_paper";
skin.pigment_texture = "dye_black";
end
-- Overrides
cartographer.skin.table_skins.advanced_table.background.texture = "ctg_mtg_advanced_table_bg"; cartographer.skin.table_skins.advanced_table.background.texture = "ctg_mtg_advanced_table_bg";
-- Overrides
minetest.override_item("cartographer:simple_table", { minetest.override_item("cartographer:simple_table", {
tiles = { "ctg_mtg_simple_table.png" }; tiles = { "ctg_mtg_simple_table.png" };
}); });