Add coral wood, Fix MCL uniteractable wood stairs

This commit is contained in:
Juraj Vajda 2023-04-04 12:37:00 -04:00
parent b39a4daf4e
commit 34fea5251f
5 changed files with 70 additions and 7 deletions

View File

@ -249,6 +249,13 @@ minetest.register_craft({
} }
}) })
minetest.register_craft({
output = 'everness:coral_wood 4',
recipe = {
{ 'everness:coral_tree' },
}
})
minetest.register_craft({ minetest.register_craft({
output = 'everness:willow_wood 4', output = 'everness:willow_wood 4',
recipe = { recipe = {

View File

@ -321,7 +321,7 @@ mcl_stairs.register_stair_and_slab(
mcl_stairs.register_stair_and_slab( mcl_stairs.register_stair_and_slab(
'dry_wood', 'dry_wood',
'everness:dry_wood', 'everness:dry_wood',
{ choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 }, { handy = 1, axey = 1, building_block = 1, material_wood = 1, fire_encouragement = 5, fire_flammability = 20, flammable = 3, wood = 1, },
{ 'everness_dry_wood.png' }, { 'everness_dry_wood.png' },
S('Dry Wood Stair'), S('Dry Wood Stair'),
S('Dry Wood Slab'), S('Dry Wood Slab'),
@ -332,12 +332,28 @@ mcl_stairs.register_stair_and_slab(
nil nil
) )
-- Coral Wood
mcl_stairs.register_stair_and_slab(
'coral_wood',
'everness:coral_wood',
{ handy = 1, axey = 1, building_block = 1, material_wood = 1, fire_encouragement = 5, fire_flammability = 20, flammable = 3, wood = 1, },
{ 'everness_coral_wood.png' },
S('Coral Wood Stair'),
S('Coral Wood Slab'),
Everness.node_sound_wood_defaults(),
6,
2,
S('Double Coral Wood Slab'),
nil
)
-- Bamboo Wood -- Bamboo Wood
mcl_stairs.register_stair_and_slab( mcl_stairs.register_stair_and_slab(
'bamboo_wood', 'bamboo_wood',
'everness:bamboo_wood', 'everness:bamboo_wood',
{ choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 }, { handy = 1, axey = 1, building_block = 1, material_wood = 1, fire_encouragement = 5, fire_flammability = 20, flammable = 3, wood = 1, },
{ 'everness_dry_bamboo_block_side.png' }, { 'everness_dry_bamboo_block_side.png' },
S('Bamboo Wood Stair'), S('Bamboo Wood Stair'),
S('Bamboo Wood Slab'), S('Bamboo Wood Slab'),
@ -351,7 +367,7 @@ mcl_stairs.register_stair_and_slab(
mcl_stairs.register_stair_and_slab( mcl_stairs.register_stair_and_slab(
'bamboo_mosaic_wood', 'bamboo_mosaic_wood',
'everness:bamboo_mosaic_wood', 'everness:bamboo_mosaic_wood',
{ choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 }, { handy = 1, axey = 1, building_block = 1, material_wood = 1, fire_encouragement = 5, fire_flammability = 20, flammable = 3, wood = 1, },
{ 'everness_bamboo_mosaic.png' }, { 'everness_bamboo_mosaic.png' },
S('Bamboo Mosaic Wood Stair'), S('Bamboo Mosaic Wood Stair'),
S('Bamboo Mosaic Wood Slab'), S('Bamboo Mosaic Wood Slab'),
@ -411,7 +427,7 @@ mcl_stairs.register_stair_and_slab(
mcl_stairs.register_stair_and_slab( mcl_stairs.register_stair_and_slab(
'baobab_wood', 'baobab_wood',
'everness:baobab_wood', 'everness:baobab_wood',
{ choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 }, { handy = 1, axey = 1, building_block = 1, material_wood = 1, fire_encouragement = 5, fire_flammability = 20, flammable = 3, wood = 1, },
{ 'everness_baobab_wood.png' }, { 'everness_baobab_wood.png' },
S('Baobab Wood Stair'), S('Baobab Wood Stair'),
S('Baobab Wood Slab'), S('Baobab Wood Slab'),
@ -427,7 +443,7 @@ mcl_stairs.register_stair_and_slab(
mcl_stairs.register_stair_and_slab( mcl_stairs.register_stair_and_slab(
'sequoia_wood', 'sequoia_wood',
'everness:sequoia_wood', 'everness:sequoia_wood',
{ choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 }, { handy = 1, axey = 1, building_block = 1, material_wood = 1, fire_encouragement = 5, fire_flammability = 20, flammable = 3, wood = 1, },
{ 'everness_sequoia_wood.png' }, { 'everness_sequoia_wood.png' },
S('Sequoia Wood Stair'), S('Sequoia Wood Stair'),
S('Sequoia Wood Slab'), S('Sequoia Wood Slab'),
@ -487,7 +503,7 @@ mcl_stairs.register_stair_and_slab(
mcl_stairs.register_stair_and_slab( mcl_stairs.register_stair_and_slab(
'willow_wood', 'willow_wood',
'everness:willow_wood', 'everness:willow_wood',
{ choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 }, { handy = 1, axey = 1, building_block = 1, material_wood = 1, fire_encouragement = 5, fire_flammability = 20, flammable = 3, wood = 1, },
{ 'everness_willow_wood.png' }, { 'everness_willow_wood.png' },
S('Willow Wood Stair'), S('Willow Wood Stair'),
S('Willow Wood Slab'), S('Willow Wood Slab'),
@ -792,7 +808,7 @@ mcl_stairs.register_stair_and_slab(
mcl_stairs.register_stair_and_slab( mcl_stairs.register_stair_and_slab(
'crystal_wood', 'crystal_wood',
'everness:crystal_wood', 'everness:crystal_wood',
{ choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 }, { handy = 1, axey = 1, building_block = 1, material_wood = 1, fire_encouragement = 5, fire_flammability = 20, flammable = 3, wood = 1, },
{ 'everness_crystal_wood.png' }, { 'everness_crystal_wood.png' },
S('Crystal Wood Stair'), S('Crystal Wood Stair'),
S('Crystal Wood Slab'), S('Crystal Wood Slab'),

View File

@ -2997,6 +2997,33 @@ Everness:register_node('everness:coral_tree', {
on_place = minetest.rotate_node on_place = minetest.rotate_node
}) })
Everness:register_node('everness:coral_wood', {
description = S('Coral Wood Planks'),
paramtype2 = 'facedir',
place_param2 = 0,
tiles = { 'everness_coral_wood.png' },
groups = {
-- MTG
choppy = 3,
oddly_breakable_by_hand = 2,
-- Everness
everness_wood = 1,
-- MCL
handy = 1,
axey = 1,
building_block = 1,
material_wood = 1,
fire_encouragement = 5,
fire_flammability = 20,
-- ALL
flammable = 3,
wood = 1,
},
_mcl_blast_resistance = 3,
_mcl_hardness = 2,
sounds = Everness.node_sound_wood_defaults(),
})
Everness:register_node('everness:coral_tree_bioluminescent', { Everness:register_node('everness:coral_tree_bioluminescent', {
description = S('Coral Tree Bioluminescent'), description = S('Coral Tree Bioluminescent'),
short_description = S('Coral Tree Bioluminescent'), short_description = S('Coral Tree Bioluminescent'),

View File

@ -135,6 +135,19 @@ stairs.register_stair_and_slab(
true true
) )
-- Coral Wood
stairs.register_stair_and_slab(
'coral_wood',
'everness:coral_wood',
{ choppy = 2, oddly_breakable_by_hand = 2, flammable = 3 },
{ 'everness_coral_wood.png' },
S('Coral Wood Stair'),
S('Coral Wood Slab'),
Everness.node_sound_wood_defaults(),
true
)
-- Bamboo Wood -- Bamboo Wood
stairs.register_stair_and_slab( stairs.register_stair_and_slab(

Binary file not shown.

After

Width:  |  Height:  |  Size: 269 B