Update woodsoils mod

master
vlapsley 2017-08-19 09:23:06 +10:00
parent b81f13ec7b
commit ce79a19737
12 changed files with 27 additions and 20 deletions

View File

@ -1,8 +1,8 @@
default
biome_lib
australia
plantlife_i18n
bushes?
ferns?
moretrees?
trees?
trunks?
trunks?

View File

@ -122,3 +122,4 @@ biome_lib:register_generate_plant({
},
"abstract_woodsoils.place_soil"
)

View File

@ -1,23 +1,26 @@
-----------------------------------------------------------------------------------------------
local title = "Wood Soils" -- former "Forest Soils"
local version = "0.0.10"
local version = "0.0.9"
local mname = "woodsoils" -- former "forestsoils"
-----------------------------------------------------------------------------------------------
abstract_woodsoils = {}
-- support for i18n
local S = plantlife_i18n.gettext
dofile(minetest.get_modpath("woodsoils").."/nodes.lua")
dofile(minetest.get_modpath("woodsoils").."/generating.lua")
-- felt like playing a bit :D
--[[print(" _____ __")
--[[print(" _____ __")
print("_/ ____\\___________ ____ _______/ |_")
print("\\ __\\/ _ \\_ __ \\_/ __ \\ / ___/\\ __\\")
print(" | | ( <_> ) | \\/\\ ___/ \\___ \\ | |")
print(" |__| \\____/|__| \\___ >____ > |__|")
print(" | | ( <_> ) | \\/\\ ___/ \\___ \\ | |")
print(" |__| \\____/|__| \\___ >____ > |__|")
print(" \\/ \\/")
print(" .__.__")
print(" .__.__")
print(" __________ |__| | ______")
print(" / ___/ _ \\| | | / ___/")
print(" \\___ ( <_> ) | |__\\___ \\")
@ -25,5 +28,5 @@ print("/____ >____/|__|____/____ >")
print(" \\/ \\/")]]
-----------------------------------------------------------------------------------------------
minetest.log("MOD: "..title.." ["..version.."] ["..mname.."] loaded...")
print("[Mod] "..title.." ["..version.."] ["..mname.."] Loaded...")
-----------------------------------------------------------------------------------------------

View File

@ -1,10 +1,13 @@
-- support for i18n
local S = plantlife_i18n.gettext
-- nodes
minetest.register_node("woodsoils:dirt_with_leaves_1", {
description = "Forest Soil 1",
description = S("Forest Soil 1"),
tiles = {
"default_dirt.png^woodsoils_ground_cover.png",
"default_dirt.png",
"default_dirt.png^woodsoils_ground_cover.png",
"default_dirt.png",
"default_dirt.png^woodsoils_ground_cover_side.png"},
is_ground_content = true,
groups = {
@ -19,10 +22,10 @@ minetest.register_node("woodsoils:dirt_with_leaves_1", {
})
minetest.register_node("woodsoils:dirt_with_leaves_2", {
description = "Forest Soil 2",
description = S("Forest Soil 2"),
tiles = {
"woodsoils_ground.png",
"default_dirt.png",
"woodsoils_ground.png",
"default_dirt.png",
"default_dirt.png^woodsoils_ground_side.png"},
is_ground_content = true,
groups = {
@ -37,10 +40,10 @@ minetest.register_node("woodsoils:dirt_with_leaves_2", {
})
minetest.register_node("woodsoils:grass_with_leaves_1", {
description = "Forest Soil 3",
description = S("Forest Soil 3"),
tiles = {
"default_grass.png^woodsoils_ground_cover2.png",
"default_dirt.png",
"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 = {
@ -55,10 +58,10 @@ minetest.register_node("woodsoils:grass_with_leaves_1", {
})
minetest.register_node("woodsoils:grass_with_leaves_2", {
description = "Forest Soil 4",
description = S("Forest Soil 4"),
tiles = {
"default_grass.png^woodsoils_ground_cover.png",
"default_dirt.png",
"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 = {

View File

Before

Width:  |  Height:  |  Size: 693 B

After

Width:  |  Height:  |  Size: 693 B

View File

Before

Width:  |  Height:  |  Size: 775 B

After

Width:  |  Height:  |  Size: 775 B

View File

Before

Width:  |  Height:  |  Size: 684 B

After

Width:  |  Height:  |  Size: 684 B

View File

Before

Width:  |  Height:  |  Size: 353 B

After

Width:  |  Height:  |  Size: 353 B

View File

Before

Width:  |  Height:  |  Size: 325 B

After

Width:  |  Height:  |  Size: 325 B

View File

Before

Width:  |  Height:  |  Size: 368 B

After

Width:  |  Height:  |  Size: 368 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 B