illuna/moreblocks.lua
Milan* 4c0d933695 add trunks:twigs to moreblocks
the entry it disappeared magically during updates
2017-03-12 16:35:22 +01:00

61 lines
1.4 KiB
Lua

register_stair_slab_panel_micro("stone_block", "block", "default:stone_block",
{cracky=3},
{"default_stone_block.png"},
"Stone Block",
"block",
0
)
register_stair_slab_panel_micro("destert_stone_block", "block", "default:desert_stone_block",
{cracky=3},
{"default_desert_stone_block.png"},
"Desert Stone Block",
"block",
0
)
register_stair_slab_panel_micro("sandstone_block", "block", "default:sandstone_block",
{cracky=3},
{"default_sandstone_block.png"},
"Sandstone Block",
"block",
0
)
register_stair_slab_panel_micro("obsidian_block", "block", "default:obsidian_block",
{cracky=3},
{"default_obsidian_block.png"},
"Obsidian Block",
"block",
0
)
register_stair_slab_panel_micro("twigs", "block", "trunks:twigs",
{cracky=3},
{"trunks_twigs.png"},
"Twigs Block",
"block",
0
)
local name = {"red", "green", "white", "black", "blue", "brown", "cyan",
"grey", "dark_green", "dark_grey", "magenta", "orange", "pink",
"red", "violet", "yellow"}
for i = 1, 16 do
local name = name[i]
register_stair_slab_panel_micro(name, "block", "wool:"..name,
{cracky=3},
{"wool_"..name..".png"},
name .. "wool",
"block",
0
)
table.insert(circular_saw.known_stairs, "wool:"..name)
end
table.insert(circular_saw.known_stairs, "default:stone_block")
table.insert(circular_saw.known_stairs, "default:desert_stone_block")
table.insert(circular_saw.known_stairs, "default:sandstone_block")
table.insert(circular_saw.known_stairs, "default:obsidian_block")