Nodes added
This commit is contained in:
parent
cd0f7783e1
commit
8ba27cee2b
1
mods/icicles/depends.txt
Normal file
1
mods/icicles/depends.txt
Normal file
@ -0,0 +1 @@
|
||||
default
|
19
mods/icicles/init.lua
Normal file
19
mods/icicles/init.lua
Normal file
@ -0,0 +1,19 @@
|
||||
for i = 4,1,-1 do
|
||||
minetest.register_node("icicles:icicle_"..5-i, {
|
||||
description = "Icicle "..5-i,
|
||||
groups = {cracky=3, icicle=1},
|
||||
tiles = {"default_stone.png"},
|
||||
is_ground_content = true,
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {-i/10, -0.5, -i/10, i/10, 0.5, i/10}
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-i/10, -0.5, -i/10, i/10, 0.5, i/10}
|
||||
},
|
||||
})
|
||||
end
|
Loading…
x
Reference in New Issue
Block a user