-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathnodes.lua
More file actions
62 lines (57 loc) · 1.99 KB
/
Copy pathnodes.lua
File metadata and controls
62 lines (57 loc) · 1.99 KB
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
59
60
61
62
local S = core.get_translator("basic_materials")
local sound_api = xcompat.sounds
local chains_sbox = { type = "fixed", fixed = { -0.1, -0.5, -0.1, 0.1, 0.5, 0.1 } }
core.register_node("basic_materials:cement_block", {
description = S("Cement"),
tiles = { "basic_materials_cement_block.png" },
is_ground_content = false,
groups = { cracky = 2, dig_stone = 1, pickaxey = 5 },
_mcl_hardness = 1.6,
sounds = sound_api.node_sound_stone_defaults(),
})
core.register_node("basic_materials:concrete_block", {
description = S("Concrete Block"),
tiles = { "basic_materials_concrete_block.png" },
is_ground_content = false,
groups = { cracky = 1, concrete = 1, dig_stone = 1, pickaxey = 5 },
_mcl_hardness = 1.6,
sounds = sound_api.node_sound_stone_defaults(),
})
core.register_node("basic_materials:chain_steel", {
description = S("Chain (steel, hanging)"),
drawtype = "mesh",
mesh = "basic_materials_chains.obj",
tiles = { "basic_materials_chain_steel.png" },
walkable = false,
climbable = true,
sunlight_propagates = true,
paramtype = "light",
inventory_image = "basic_materials_chain_steel_inv.png",
is_ground_content = false,
groups = { cracky = 3, dig_stone = 1, pickaxey = 5 },
_mcl_hardness = 1.6,
selection_box = chains_sbox,
})
core.register_node("basic_materials:chain_brass", {
description = S("Chain (brass, hanging)"),
drawtype = "mesh",
mesh = "basic_materials_chains.obj",
tiles = { "basic_materials_chain_brass.png" },
walkable = false,
climbable = true,
sunlight_propagates = true,
paramtype = "light",
inventory_image = "basic_materials_chain_brass_inv.png",
is_ground_content = false,
groups = { cracky = 3, dig_stone = 1, pickaxey = 5 },
_mcl_hardness = 1.6,
selection_box = chains_sbox,
})
core.register_node("basic_materials:brass_block", {
description = S("Brass Block"),
tiles = { "basic_materials_brass_block.png" },
is_ground_content = false,
groups = { cracky = 1, dig_stone = 1, pickaxey = 5 },
_mcl_hardness = 1.6,
sounds = sound_api.node_sound_metal_defaults(),
})