Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ClaudiusMinimus
columnia
Commits
b9881951
Commit
b9881951
authored
Dec 29, 2015
by
Milan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
re-add moretrees compatibility
parent
040b03a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
29 deletions
+29
-29
init.lua
init.lua
+29
-29
No files found.
init.lua
View file @
b9881951
...
@@ -654,35 +654,35 @@ columnia.register_column_ia("junglewood", "default:junglewood",
...
@@ -654,35 +654,35 @@ columnia.register_column_ia("junglewood", "default:junglewood",
"Junglewood Column Linkdown"
,
"Junglewood Column Linkdown"
,
default
.
node_sound_wood_defaults
())
default
.
node_sound_wood_defaults
())
--
if core.get_modpath( 'moretrees' ) then
if
core
.
get_modpath
(
'moretrees'
)
then
--
local morewood = {
local
morewood
=
{
--
{ name='beech', description='Beech Tree' },
{
name
=
'beech'
,
description
=
'Beech Tree'
},
--
{ name='apple_tree', description='Apple Tree' },
{
name
=
'apple_tree'
,
description
=
'Apple Tree'
},
--
{ name='oak', description='Oak Tree' },
{
name
=
'oak'
,
description
=
'Oak Tree'
},
--
{ name='sequoia', description='Giant Sequoia' },
{
name
=
'sequoia'
,
description
=
'Giant Sequoia'
},
--
{ name='birch', description='Birch Tree' },
{
name
=
'birch'
,
description
=
'Birch Tree'
},
--
{ name='palm', description='Palm Tree', },
{
name
=
'palm'
,
description
=
'Palm Tree'
,
},
--
{ name='spruce', description='Spruce Tree' },
{
name
=
'spruce'
,
description
=
'Spruce Tree'
},
--
{ name='pine', description='Pine Tree' },
{
name
=
'pine'
,
description
=
'Pine Tree'
},
--
{ name='willow', description='Willow Tree' },
{
name
=
'willow'
,
description
=
'Willow Tree'
},
--
{ name='acacia', description='Acacia Tree' },
{
name
=
'acacia'
,
description
=
'Acacia Tree'
},
--
{ name='rubber_tree', description='Rubber Tree' },
{
name
=
'rubber_tree'
,
description
=
'Rubber Tree'
},
--
{ name='fir', description='Douglas Fir' }
{
name
=
'fir'
,
description
=
'Douglas Fir'
}
--
}
}
--
for _,t in pairs( morewood ) do
for
_
,
t
in
pairs
(
morewood
)
do
--
print('register: '.. t.name)
print
(
'register: '
..
t
.
name
)
--
columnia.register_column_ia( t.name, 'moretrees:' .. t.name ..'_planks',
columnia
.
register_column_ia
(
t
.
name
,
'moretrees:'
..
t
.
name
..
'_planks'
,
--
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3},
{
snappy
=
2
,
choppy
=
2
,
oddly_breakable_by_hand
=
2
,
flammable
=
3
},
--
{ 'moretrees_' .. t.name .. '_wood.png' },
{
'moretrees_'
..
t
.
name
..
'_wood.png'
},
--
t.description .. ' Column',
t
.
description
..
' Column'
,
--
t.description .. ' Column Top',
t
.
description
..
' Column Top'
,
--
t.description .. ' Column Bottom',
t
.
description
..
' Column Bottom'
,
--
t.description .. ' Column Crosslink',
t
.
description
..
' Column Crosslink'
,
--
t.description .. ' Column Link',
t
.
description
..
' Column Link'
,
--
t.description .. ' Column Linkdown',
t
.
description
..
' Column Linkdown'
,
--
default.node_sound_wood_defaults())
default
.
node_sound_wood_defaults
())
--
end
end
--
end
end
if
core
.
get_modpath
(
'moreblocks'
)
then
if
core
.
get_modpath
(
'moreblocks'
)
then
stairsplus
:
register_all
(
stairsplus
:
register_all
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment