Nodes added

This commit is contained in:
Kotolegokot 2012-10-13 22:36:49 +06:00
parent cd0f7783e1
commit 8ba27cee2b
2 changed files with 20 additions and 0 deletions

1
mods/icicles/depends.txt Normal file
View File

@ -0,0 +1 @@
default

19
mods/icicles/init.lua Normal file
View 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