Changed some names and dependencies
Because of the soft dependencies soils also generate next to non default trees. Changed forestsoils to woodsoils where I forgot before.master
|
@ -3,4 +3,5 @@ plants_lib
|
|||
bushes?
|
||||
ferns?
|
||||
moretrees?
|
||||
trees?
|
||||
trees?
|
||||
trunks?
|
|
@ -1,7 +1,7 @@
|
|||
-----------------------------------------------------------------------------------------------
|
||||
local title = "Forest Soils"
|
||||
local version = "0.0.7"
|
||||
local mname = "forestsoils"
|
||||
local title = "Wood Soils" -- former "Forest Soils"
|
||||
local version = "0.0.8"
|
||||
local mname = "woodsoils" -- former "forestsoils"
|
||||
-----------------------------------------------------------------------------------------------
|
||||
|
||||
abstract_woodsoils = {}
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
minetest.register_node("woodsoils:dirt_with_leaves_1", {
|
||||
description = "Forrest Soil 1",
|
||||
tiles = {
|
||||
"default_dirt.png^forestsoils_ground_cover.png",
|
||||
"default_dirt.png^woodsoils_ground_cover.png",
|
||||
"default_dirt.png",
|
||||
"default_dirt.png^forestsoils_ground_cover_side.png"},
|
||||
"default_dirt.png^woodsoils_ground_cover_side.png"},
|
||||
is_ground_content = true,
|
||||
groups = {
|
||||
crumbly=3,
|
||||
|
@ -21,9 +21,9 @@ minetest.register_node("woodsoils:dirt_with_leaves_1", {
|
|||
minetest.register_node("woodsoils:dirt_with_leaves_2", {
|
||||
description = "Forrest Soil 2",
|
||||
tiles = {
|
||||
"forestsoils_ground.png",
|
||||
"woodsoils_ground.png",
|
||||
"default_dirt.png",
|
||||
"default_dirt.png^forestsoils_ground_side.png"},
|
||||
"default_dirt.png^woodsoils_ground_side.png"},
|
||||
is_ground_content = true,
|
||||
groups = {
|
||||
crumbly=3,
|
||||
|
@ -39,9 +39,9 @@ minetest.register_node("woodsoils:dirt_with_leaves_2", {
|
|||
minetest.register_node("woodsoils:grass_with_leaves_1", {
|
||||
description = "Forrest Soil 3",
|
||||
tiles = {
|
||||
"default_grass.png^forestsoils_ground_cover2.png",
|
||||
"default_grass.png^woodsoils_ground_cover2.png",
|
||||
"default_dirt.png",
|
||||
"default_dirt.png^default_grass_side.png^forestsoils_ground_cover_side2.png"},
|
||||
"default_dirt.png^default_grass_side.png^woodsoils_ground_cover_side2.png"},
|
||||
is_ground_content = true,
|
||||
groups = {
|
||||
crumbly=3,
|
||||
|
@ -57,9 +57,9 @@ minetest.register_node("woodsoils:grass_with_leaves_1", {
|
|||
minetest.register_node("woodsoils:grass_with_leaves_2", {
|
||||
description = "Forrest Soil 4",
|
||||
tiles = {
|
||||
"default_grass.png^forestsoils_ground_cover.png",
|
||||
"default_grass.png^woodsoils_ground_cover.png",
|
||||
"default_dirt.png",
|
||||
"default_dirt.png^default_grass_side.png^forestsoils_ground_cover_side.png"},
|
||||
"default_dirt.png^default_grass_side.png^woodsoils_ground_cover_side.png"},
|
||||
is_ground_content = true,
|
||||
groups = {
|
||||
crumbly=3,
|
||||
|
@ -70,4 +70,10 @@ minetest.register_node("woodsoils:grass_with_leaves_2", {
|
|||
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")
|
Before Width: | Height: | Size: 776 B After Width: | Height: | Size: 776 B |
Before Width: | Height: | Size: 853 B After Width: | Height: | Size: 853 B |
Before Width: | Height: | Size: 785 B After Width: | Height: | Size: 785 B |
Before Width: | Height: | Size: 436 B After Width: | Height: | Size: 436 B |
Before Width: | Height: | Size: 426 B After Width: | Height: | Size: 426 B |
Before Width: | Height: | Size: 447 B After Width: | Height: | Size: 447 B |