-
Notifications
You must be signed in to change notification settings - Fork 9
/
materials.lua
58 lines (48 loc) · 2.33 KB
/
materials.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
-- Registration of materials
facade.register_facade_nodes("default", "clay", "default:clay", "Clay")
facade.register_facade_nodes("default", "stone", "default:stone", "Stone")
facade.register_facade_nodes("default", "desert_stone", "default:desert_stone", "Desert Stone")
facade.register_facade_nodes("default", "sandstone", "default:sandstone", "Sandstone")
facade.register_facade_nodes("default", "desert_sandstone", "default:desert_sandstone", "Desert Sandstone")
facade.register_facade_nodes("default", "silver_sandstone", "default:silver_sandstone", "Silver Sandstone")
--facade.register_facade_nodes("default", "obsidian", "default:obsidian", "Obsidian")
if minetest.get_modpath( "bakedclay") then
local clay = {
{"white", "White"},
{"grey", "Grey"},
{"black", "Black"},
{"red", "Red"},
{"yellow", "Yellow"},
{"green", "Green"},
{"cyan", "Cyan"},
{"blue", "Blue"},
{"magenta", "Magenta"},
{"orange", "Orange"},
{"violet", "Violet"},
{"brown", "Brown"},
{"pink", "Pink"},
{"dark_grey", "Dark Grey"},
{"dark_green", "Dark Green"},
}
for _, clay in pairs(clay) do
facade.register_facade_nodes("baked_clay", clay[1] , "bakedclay:" .. clay[1], clay[2] .. " Baked Clay")
end
end
if minetest.get_modpath( "darkage") then
facade.register_facade_nodes("darkage", "basalt", "darkage:basalt", "Basalt")
facade.register_facade_nodes("darkage", "chalk", "darkage:chalk", "Chalk")
facade.register_facade_nodes("darkage", "gneiss", "darkage:gneiss", "Gneiss")
facade.register_facade_nodes("darkage", "marble", "darkage:marble", "Marble")
facade.register_facade_nodes("darkage", "ors", "darkage:ors", "Ors")
facade.register_facade_nodes("darkage", "schist", "darkage:schist", "Schist")
facade.register_facade_nodes("darkage", "serpentine", "darkage:serpentine", "Serpentine")
facade.register_facade_nodes("darkage", "shale", "darkage:shale", "Shale")
facade.register_facade_nodes("darkage", "slate", "darkage:slate", "Slate")
end
if minetest.get_modpath( "nether") then
facade.register_facade_nodes("nether", "rack", "nether:rack", "Netherrack")
end
--[[if minetest.get_modpath( "lapis") then
facade.register_facade_nodes("lapis", "lapis_block", "lapis:lapis_block", "Lapis")
facade.register_facade_nodes("lapis", "lapis_lazurite", "lapis:lazurite", "Lazurite")
end]]--