we already had desertgravel - drop the obsolet node, update texture for old node, add alias
This commit is contained in:
parent
e2c052441f
commit
26f264697a
12
nodes.lua
12
nodes.lua
@ -1,6 +1,6 @@
|
|||||||
minetest.register_node("illuna:desert_gravel", {
|
minetest.register_node("illuna:desert_gravel", {
|
||||||
description = "Gravel",
|
description = "Gravel",
|
||||||
tiles = {"desert_gravel.png"},
|
tiles = {"illuna_desertgravel.png"},
|
||||||
groups = {crumbly = 2, falling_node = 1},
|
groups = {crumbly = 2, falling_node = 1},
|
||||||
sounds = default.node_sound_dirt_defaults({
|
sounds = default.node_sound_dirt_defaults({
|
||||||
footstep = {name="default_gravel_footstep", gain=0.5},
|
footstep = {name="default_gravel_footstep", gain=0.5},
|
||||||
@ -15,6 +15,8 @@ minetest.register_node("illuna:desert_gravel", {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_alias("illuna:desertgravel", "illuna:desert_gravel")
|
||||||
|
|
||||||
minetest.register_node("illuna:stonebrick", {
|
minetest.register_node("illuna:stonebrick", {
|
||||||
description = "Stone Brick",
|
description = "Stone Brick",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
@ -35,14 +37,6 @@ minetest.register_node("illuna:moonbrick", {
|
|||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("illuna:desertgravel", {
|
|
||||||
description = "Desert Gravel",
|
|
||||||
paramtype2 = "facedir",
|
|
||||||
tiles = {"illuna_desertgravel.png"},
|
|
||||||
groups = {cracky = 2},
|
|
||||||
sounds = default.node_sound_stone_defaults(),
|
|
||||||
})
|
|
||||||
|
|
||||||
function illuna.teamconstruct(pos)
|
function illuna.teamconstruct(pos)
|
||||||
minetest.add_entity({x=pos.x, y=pos.y+1.35, z=pos.z}, "illuna:teamlist")
|
minetest.add_entity({x=pos.x, y=pos.y+1.35, z=pos.z}, "illuna:teamlist")
|
||||||
local timer = minetest.get_node_timer(pos)
|
local timer = minetest.get_node_timer(pos)
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 3.4 KiB |
Loading…
x
Reference in New Issue
Block a user