forked from Ezhh/other_worlds
-
Notifications
You must be signed in to change notification settings - Fork 1
/
space_nodes.lua
136 lines (122 loc) · 3.82 KB
/
space_nodes.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
-- Nodes
minetest.register_node(":asteroid:stone", {
description = "Asteroid Stone",
tiles = {"default_stone.png"},
is_ground_content = false,
drop = 'asteroid:cobble',
groups = {cracky = 3, not_in_creative_inventory=1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node(":asteroid:redstone", {
description = "Asteroid Stone",
tiles = {"asteroid_redstone.png"},
is_ground_content = false,
drop = 'asteroid:redcobble',
groups = {cracky = 3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node(":asteroid:cobble", {
description = "Asteroid Cobble",
tiles = {"asteroid_cobble.png"},
is_ground_content = false,
groups = {cracky = 3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node(":asteroid:redcobble", {
description = "Asteroid Cobble",
tiles = {"asteroid_redcobble.png"},
is_ground_content = false,
groups = {cracky = 3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node(":asteroid:gravel", {
description = "Asteroid Gravel",
tiles = {"asteroid_gravel.png"},
is_ground_content = false,
groups = {crumbly = 2},
sounds = default.node_sound_dirt_defaults({
footstep = {name = "default_gravel_footstep", gain = 0.2},
}),
})
minetest.register_node(":asteroid:redgravel", {
description = "Asteroid Gravel",
tiles = {"asteroid_redgravel.png"},
is_ground_content = false,
groups = {crumbly = 2},
sounds = default.node_sound_dirt_defaults({
footstep = {name = "default_gravel_footstep", gain = 0.2},
}),
})
minetest.register_node(":asteroid:dust", {
description = "Asteroid Dust",
tiles = {"asteroid_dust.png"},
is_ground_content = false,
groups = {crumbly = 3},
sounds = default.node_sound_dirt_defaults({
footstep = {name = "default_gravel_footstep", gain = 0.1},
}),
})
minetest.register_node(":asteroid:reddust", {
description = "Asteroid Dust",
tiles = {"asteroid_reddust.png"},
is_ground_content = false,
groups = {crumbly = 3},
sounds = default.node_sound_dirt_defaults({
footstep = {name = "default_gravel_footstep", gain = 0.1},
}),
})
minetest.register_node(":asteroid:ironore", {
description = "Asteroid Iron Ore",
tiles = {"asteroid_redstone.png^default_mineral_iron.png"},
is_ground_content = false,
groups = {cracky = 2},
drop = "default:iron_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node(":asteroid:copperore", {
description = "Asteroid Copper Ore",
tiles = {"asteroid_redstone.png^default_mineral_copper.png"},
is_ground_content = false,
groups = {cracky = 2},
drop = "default:copper_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node(":asteroid:goldore", {
description = "Asteroid Gold Ore",
tiles = {"asteroid_redstone.png^default_mineral_gold.png"},
is_ground_content = false,
groups = {cracky = 2},
drop = "default:gold_lump",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node(":asteroid:diamondore", {
description = "Asteroid Diamond Ore",
tiles = {"asteroid_redstone.png^default_mineral_diamond.png"},
is_ground_content = false,
groups = {cracky = 1},
drop = "default:diamond",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node(":asteroid:meseore", {
description = "Asteroid Mese Ore",
tiles = {"asteroid_redstone.png^default_mineral_mese.png"},
is_ground_content = false,
groups = {cracky = 1},
drop = "default:mese_crystal",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node(":asteroid:atmos", {
description = "Comet Atmosphere",
drawtype = "glasslike",
tiles = {"asteroid_atmos.png"},
paramtype = "light",
sunlight_propagates = true,
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
is_ground_content = false,
use_texture_alpha = true,
post_effect_color = {a = 31, r = 241, g = 248, b = 255},
groups = {not_in_creative_inventory = 1},
})