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
|
--[[
StreetsMod: Concrete, Concrete wall (flat), Concrete wall (full)
]]
minetest.register_alias("streets:concrete","basic_materials:concrete_block")
-- Use technic's concrete block for the seperating wall
minetest.register_node(":streets:concrete_wall",{
description = streets.S("Concrete wall"),
tiles = {"basic_materials_concrete_block.png"},
groups = {cracky=2},
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
node_box = {
type = "fixed",
fixed = {
{-0.4, -0.5, -0.5, 0.4, -0.4, 0.5},
{-0.1, -0.4, -0.5, 0.1, 0.5, 0.5}
}
}
})
minetest.register_craft({
output = "streets:concrete_wall 3",
recipe = {
{"","basic_materials:concrete_block",""},
{"","basic_materials:concrete_block",""},
{"basic_materials:concrete_block","basic_materials:concrete_block","basic_materials:concrete_block"}
}
})
minetest.register_node(":streets:concrete_wall_flat",{
description = streets.S("Concrete wall"),
tiles = {"basic_materials_concrete_block.png"},
groups = {cracky=2},
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
node_box = {
type = "fixed",
fixed = {
{-0.1, -0.5, -0.5, 0.1, 0.5, 0.5}
}
}
})
minetest.register_craft({
output = "streets:concrete_wall_flat 3",
recipe = {
{"","basic_materials:concrete_block",""},
{"","basic_materials:concrete_block",""},
{"","",""}
}
})
|