Add mese posts with different woods

This commit is contained in:
An0n3m0us 2020-02-15 10:32:40 +00:00
parent 34b410319e
commit 98b4641683
5 changed files with 144 additions and 5 deletions

View file

@ -305,7 +305,43 @@ minetest.register_craft({
recipe = {
{"", "default:glass", ""},
{"default:mese_crystal", "default:mese_crystal", "default:mese_crystal"},
{"", "group:wood", ""},
{"", "default:wood", ""},
}
})
minetest.register_craft({
output = "default:mese_post_light_acaciawood 3",
recipe = {
{"", "default:glass", ""},
{"default:mese_crystal", "default:mese_crystal", "default:mese_crystal"},
{"", "default:acacia_wood", ""},
}
})
minetest.register_craft({
output = "default:mese_post_light_junglewood 3",
recipe = {
{"", "default:glass", ""},
{"default:mese_crystal", "default:mese_crystal", "default:mese_crystal"},
{"", "default:junglewood", ""},
}
})
minetest.register_craft({
output = "default:mese_post_light_pine_wood 3",
recipe = {
{"", "default:glass", ""},
{"default:mese_crystal", "default:mese_crystal", "default:mese_crystal"},
{"", "default:pine_wood", ""},
}
})
minetest.register_craft({
output = "default:mese_post_light_aspen_wood 3",
recipe = {
{"", "default:glass", ""},
{"default:mese_crystal", "default:mese_crystal", "default:mese_crystal"},
{"", "default:aspen_wood", ""},
}
})

View file

@ -221,6 +221,10 @@ default:brick
default:meselamp
default:mese_post_light
default:mese_post_light_acacia_wood
default:mese_post_light_junglewood
default:mese_post_light_pine_wood
default:mese_post_light_aspen_wood
Misc
----
@ -2836,10 +2840,109 @@ minetest.register_node("default:meselamp", {
})
minetest.register_node("default:mese_post_light", {
description = S("Mese Post Light"),
tiles = {"default_mese_post_light_top.png", "default_mese_post_light_top.png",
"default_mese_post_light_side_dark.png", "default_mese_post_light_side_dark.png",
"default_mese_post_light_side.png", "default_mese_post_light_side.png"},
description = S("Apple Wood Mese Post Light"),
tiles = {"default_wood.png", "default_wood.png",
"default_wood.png^default_mese_post_light_side_dark.png",
"default_wood.png^default_mese_post_light_side_dark.png",
"default_wood.png^default_mese_post_light_side.png",
"default_wood.png^default_mese_post_light_side.png"
},
wield_image = "default_mese_post_light_side.png",
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {
{-2 / 16, -8 / 16, -2 / 16, 2 / 16, 8 / 16, 2 / 16},
},
},
paramtype = "light",
light_source = default.LIGHT_MAX,
sunlight_propagates = true,
is_ground_content = false,
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
sounds = default.node_sound_wood_defaults(),
})
minetest.register_node("default:mese_post_light_acaciawood", {
description = S("Acacia Wood Mese Post Light"),
tiles = {"default_acacia_wood.png", "default_acacia_wood.png",
"default_acacia_wood.png^default_mese_post_light_side_dark.png",
"default_acacia_wood.png^default_mese_post_light_side_dark.png",
"default_acacia_wood.png^default_mese_post_light_side.png",
"default_acacia_wood.png^default_mese_post_light_side.png"
},
wield_image = "default_mese_post_light_side.png",
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {
{-2 / 16, -8 / 16, -2 / 16, 2 / 16, 8 / 16, 2 / 16},
},
},
paramtype = "light",
light_source = default.LIGHT_MAX,
sunlight_propagates = true,
is_ground_content = false,
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
sounds = default.node_sound_wood_defaults(),
})
minetest.register_node("default:mese_post_light_junglewood", {
description = S("Jungle Wood Mese Post Light"),
tiles = {"default_junglewood.png", "default_junglewood.png",
"default_junglewood.png^default_mese_post_light_side_dark.png",
"default_junglewood.png^default_mese_post_light_side_dark.png",
"default_junglewood.png^default_mese_post_light_side.png",
"default_junglewood.png^default_mese_post_light_side.png"
},
wield_image = "default_mese_post_light_side.png",
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {
{-2 / 16, -8 / 16, -2 / 16, 2 / 16, 8 / 16, 2 / 16},
},
},
paramtype = "light",
light_source = default.LIGHT_MAX,
sunlight_propagates = true,
is_ground_content = false,
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
sounds = default.node_sound_wood_defaults(),
})
minetest.register_node("default:mese_post_light_pine_wood", {
description = S("Pine Wood Mese Post Light"),
tiles = {"default_pine_wood.png", "default_pine_wood.png",
"default_pine_wood.png^default_mese_post_light_side_dark.png",
"default_pine_wood.png^default_mese_post_light_side_dark.png",
"default_pine_wood.png^default_mese_post_light_side.png",
"default_pine_wood.png^default_mese_post_light_side.png"
},
wield_image = "default_mese_post_light_side.png",
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {
{-2 / 16, -8 / 16, -2 / 16, 2 / 16, 8 / 16, 2 / 16},
},
},
paramtype = "light",
light_source = default.LIGHT_MAX,
sunlight_propagates = true,
is_ground_content = false,
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
sounds = default.node_sound_wood_defaults(),
})
minetest.register_node("default:mese_post_light_aspen_wood", {
description = S("Aspen Wood Mese Post Light"),
tiles = {"default_aspen_wood.png", "default_aspen_wood.png",
"default_aspen_wood.png^default_mese_post_light_side_dark.png",
"default_aspen_wood.png^default_mese_post_light_side_dark.png",
"default_aspen_wood.png^default_mese_post_light_side.png",
"default_aspen_wood.png^default_mese_post_light_side.png"
},
wield_image = "default_mese_post_light_side.png",
drawtype = "nodebox",
node_box = {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 353 B

After

Width:  |  Height:  |  Size: 276 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 353 B

After

Width:  |  Height:  |  Size: 258 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 B