18 Add crystal cobble to moss growth abm

This commit is contained in:
Juraj Vajda 2024-01-29 14:57:27 -05:00
parent 901f9ac936
commit a13bacdc6a
4 changed files with 26 additions and 3 deletions

View File

@ -277,11 +277,21 @@ Everness:register_leafdecay({
local moss_correspondences = { local moss_correspondences = {
['everness:coral_desert_cobble'] = 'everness:coral_desert_mossy_cobble', ['everness:coral_desert_cobble'] = 'everness:coral_desert_mossy_cobble',
['everness:crystal_cobble'] = 'everness:crystal_mossy_cobble', ['everness:crystal_cobble'] = 'everness:crystal_mossy_cobble',
['stairs:slab_crystal_cobble'] = 'stairs:slab_crystal_mossy_cobble',
['stairs:stair_crystal_cobble'] = 'stairs:stair_crystal_mossy_cobble',
['stairs:stair_inner_crystal_cobble'] = 'stairs:stair_inner_crystal_mossy_cobble',
['stairs:stair_outer_crystal_cobble'] = 'stairs:stair_outer_crystal_mossy_cobble',
['everness:crystal_cobble_wall'] = 'everness:crystal_mossy_cobble_wall'
} }
local moss_nodenames_correspondences = { local moss_nodenames_correspondences = {
'everness:coral_desert_cobble', 'everness:coral_desert_cobble',
'everness:crystal_cobble', 'everness:crystal_cobble',
'stairs:slab_crystal_cobble',
'stairs:stair_crystal_cobble',
'stairs:stair_inner_crystal_cobble',
'stairs:stair_outer_crystal_cobble',
'everness:crystal_cobble_wall'
} }
if minetest.get_modpath('default') then if minetest.get_modpath('default') then

View File

@ -680,7 +680,7 @@ Everness:register_node('everness:crystal_cobble', {
}) })
Everness:register_node('everness:crystal_mossy_cobble', { Everness:register_node('everness:crystal_mossy_cobble', {
description = S('Crystal Cobblestone'), description = S('Crystal Mossy Cobblestone'),
tiles = { 'everness_crystal_mossy_cobble.png' }, tiles = { 'everness_crystal_mossy_cobble.png' },
is_ground_content = false, is_ground_content = false,
groups = { groups = {

View File

@ -154,8 +154,6 @@ local function register_vine(name, def, overrides)
}) })
end end
print('everness:' .. _n, dump(_d))
Everness:register_node('everness:' .. _n, _d) Everness:register_node('everness:' .. _n, _d)
end end
end end

View File

@ -148,3 +148,18 @@ walls.register(
Everness.node_sound_stone_defaults() Everness.node_sound_stone_defaults()
) )
walls.register(
'everness:crystal_cobble_wall',
S('Crystal Cobblestone Wall'),
{ 'everness_crystal_cobble.png' },
'everness:crystal_cobble',
Everness.node_sound_stone_defaults()
)
walls.register(
'everness:crystal_mossy_cobble_wall',
S('Crystal Mossy Cobblestone Wall'),
{ 'everness_crystal_mossy_cobble.png' },
'everness:crystal_mossy_cobble',
Everness.node_sound_stone_defaults()
)