mirror of
https://github.com/mt-mods/plantlife_modpack.git
synced 2024-12-27 10:50:24 +01:00
d56516de3a
Descriptions of all nodes are (hopefully) in proper English now, no more stupid non-descriptions like “Young2treebottom” etc. Bush branches drop sticks, young tree trunks drop sticks, too.
80 lines
2.2 KiB
Lua
80 lines
2.2 KiB
Lua
-- nodes
|
|
|
|
minetest.register_node("woodsoils:dirt_with_leaves_1", {
|
|
description = "Forest Soil 1",
|
|
tiles = {
|
|
"default_dirt.png^woodsoils_ground_cover.png",
|
|
"default_dirt.png",
|
|
"default_dirt.png^woodsoils_ground_cover_side.png"},
|
|
is_ground_content = true,
|
|
groups = {
|
|
crumbly=3,
|
|
soil=1--,
|
|
--not_in_creative_inventory=1
|
|
},
|
|
drop = 'default:dirt',
|
|
sounds = default.node_sound_dirt_defaults({
|
|
footstep = {name="default_grass_footstep", gain=0.4},
|
|
}),
|
|
})
|
|
|
|
minetest.register_node("woodsoils:dirt_with_leaves_2", {
|
|
description = "Forest Soil 2",
|
|
tiles = {
|
|
"woodsoils_ground.png",
|
|
"default_dirt.png",
|
|
"default_dirt.png^woodsoils_ground_side.png"},
|
|
is_ground_content = true,
|
|
groups = {
|
|
crumbly=3,
|
|
soil=1--,
|
|
--not_in_creative_inventory=1
|
|
},
|
|
drop = 'default:dirt',
|
|
sounds = default.node_sound_dirt_defaults({
|
|
footstep = {name="default_grass_footstep", gain=0.4},
|
|
}),
|
|
})
|
|
|
|
minetest.register_node("woodsoils:grass_with_leaves_1", {
|
|
description = "Forest Soil 3",
|
|
tiles = {
|
|
"default_grass.png^woodsoils_ground_cover2.png",
|
|
"default_dirt.png",
|
|
"default_dirt.png^default_grass_side.png^woodsoils_ground_cover_side2.png"},
|
|
is_ground_content = true,
|
|
groups = {
|
|
crumbly=3,
|
|
soil=1--,
|
|
--not_in_creative_inventory=1
|
|
},
|
|
drop = 'default:dirt',
|
|
sounds = default.node_sound_dirt_defaults({
|
|
footstep = {name="default_grass_footstep", gain=0.4},
|
|
}),
|
|
})
|
|
|
|
minetest.register_node("woodsoils:grass_with_leaves_2", {
|
|
description = "Forest Soil 4",
|
|
tiles = {
|
|
"default_grass.png^woodsoils_ground_cover.png",
|
|
"default_dirt.png",
|
|
"default_dirt.png^default_grass_side.png^woodsoils_ground_cover_side.png"},
|
|
is_ground_content = true,
|
|
groups = {
|
|
crumbly=3,
|
|
soil=1--,
|
|
--not_in_creative_inventory=1
|
|
},
|
|
drop = 'default:dirt',
|
|
sounds = default.node_sound_dirt_defaults({
|
|
footstep = {name="default_grass_footstep", gain=0.4},
|
|
}),
|
|
})
|
|
|
|
-- For compatibility with older stuff
|
|
minetest.register_alias("forestsoils:dirt_with_leaves_1", "woodsoils:dirt_with_leaves_1")
|
|
minetest.register_alias("forestsoils:dirt_with_leaves_2", "woodsoils:dirt_with_leaves_2")
|
|
minetest.register_alias("forestsoils:grass_with_leaves_1", "woodsoils:grass_with_leaves_1")
|
|
minetest.register_alias("forestsoils:grass_with_leaves_2", "woodsoils:grass_with_leaves_2")
|