Merged in feature/18-add-crystal-cobble-to-moss-growth-abm (pull request #21)

18 Add crystal cobble to moss growth abm
This commit is contained in:
Juraj Vajda 2024-01-29 19:59:35 +00:00
commit 8fc7be592d
4 changed files with 26 additions and 3 deletions

View File

@ -277,11 +277,21 @@ Everness:register_leafdecay({
local moss_correspondences = {
['everness:coral_desert_cobble'] = 'everness:coral_desert_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 = {
'everness:coral_desert_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

View File

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

View File

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

View File

@ -148,3 +148,18 @@ walls.register(
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()
)