merge changes from https://github.com/FozLand/columnia
46
init.lua
@ -644,3 +644,49 @@ columnia.register_column_ia("junglewood", "default:junglewood",
|
|||||||
"Junglewood Column Link",
|
"Junglewood Column Link",
|
||||||
"Junglewood Column Linkdown",
|
"Junglewood Column Linkdown",
|
||||||
default.node_sound_wood_defaults())
|
default.node_sound_wood_defaults())
|
||||||
|
|
||||||
|
if core.get_modpath( 'moretrees' ) then
|
||||||
|
local morewood = {
|
||||||
|
{ name='beech', description='Beech Tree' },
|
||||||
|
{ name='apple_tree', description='Apple Tree' },
|
||||||
|
{ name='oak', description='Oak Tree' },
|
||||||
|
{ name='sequoia', description='Giant Sequoia' },
|
||||||
|
{ name='birch', description='Birch Tree' },
|
||||||
|
{ name='palm', description='Palm Tree', },
|
||||||
|
{ name='spruce', description='Spruce Tree' },
|
||||||
|
{ name='pine', description='Pine Tree' },
|
||||||
|
{ name='willow', description='Willow Tree' },
|
||||||
|
{ name='acacia', description='Acacia Tree' },
|
||||||
|
{ name='rubber_tree', description='Rubber Tree' },
|
||||||
|
{ name='fir', description='Douglas Fir' }
|
||||||
|
}
|
||||||
|
for _,t in pairs( morewood ) do
|
||||||
|
print('register: '.. t.name)
|
||||||
|
columnia.register_column_ia( t.name, 'moretrees:' .. t.name ..'_planks',
|
||||||
|
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3},
|
||||||
|
{ 'moretrees_' .. t.name .. '_wood.png' },
|
||||||
|
t.description .. ' Column',
|
||||||
|
t.description .. ' Column Top',
|
||||||
|
t.description .. ' Column Bottom',
|
||||||
|
t.description .. ' Column Crosslink',
|
||||||
|
t.description .. ' Column Link',
|
||||||
|
t.description .. ' Column Linkdown',
|
||||||
|
default.node_sound_wood_defaults())
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
if core.get_modpath('moreblocks') then
|
||||||
|
stairsplus:register_all(
|
||||||
|
'columnia',
|
||||||
|
'rusty_block',
|
||||||
|
'columnia:rusty_block',
|
||||||
|
{
|
||||||
|
description = 'Rusty Block',
|
||||||
|
tiles = {
|
||||||
|
'columnia_rusty_block.png'
|
||||||
|
},
|
||||||
|
groups = {cracky=3},
|
||||||
|
sounds = default.node_sound_stone_defaults(),
|
||||||
|
}
|
||||||
|
)
|
||||||
|
end
|
||||||
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 301 B |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 381 B |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 263 B |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 534 B |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 609 B |