summaryrefslogtreecommitdiff
path: root/woodsoils
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-08-12 20:37:50 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-08-12 20:37:50 -0400
commit4aab7d0dbd782cf6741bdbba94440faf0c5c2e61 (patch)
treef5a13374fb176c21e381a2ae6ab53ac2ff282057 /woodsoils
parent047a770ad04fc264039fa5b6109c803bd3d2d258 (diff)
downloaddreambuilder_modpack-4aab7d0dbd782cf6741bdbba94440faf0c5c2e61.tar
dreambuilder_modpack-4aab7d0dbd782cf6741bdbba94440faf0c5c2e61.tar.gz
dreambuilder_modpack-4aab7d0dbd782cf6741bdbba94440faf0c5c2e61.tar.bz2
dreambuilder_modpack-4aab7d0dbd782cf6741bdbba94440faf0c5c2e61.tar.xz
dreambuilder_modpack-4aab7d0dbd782cf6741bdbba94440faf0c5c2e61.zip
updated several mods
biome_lib, boost cart, homedecor modpack, plantlife modpack, cottages, currency, farming redo, gloopblocks, ilights, moreores, moretrees, pipeworks, plasticbox, replacer, signs_lib, streets, travelnet, unified dyes, and vines, and maybe one or two others that I didn't see in the list. :-) I fixed the misc_overrides component (it broke when I switched over to farming redo a while back), and also I've added the classic peaceful_npc mod back into the modpack, since it seems to work now. Be sure when you run a world for the first time after this update, that you "Configure" the world, *disable* all of Dreambuilder Modpack, then re-enable the whole thing. If you don't, a few mods will fail to load due to recent changes in their dependencies.
Diffstat (limited to 'woodsoils')
-rw-r--r--woodsoils/depends.txt3
-rw-r--r--woodsoils/init.lua13
-rw-r--r--woodsoils/nodes.lua27
3 files changed, 25 insertions, 18 deletions
diff --git a/woodsoils/depends.txt b/woodsoils/depends.txt
index c95a2bf..961719e 100644
--- a/woodsoils/depends.txt
+++ b/woodsoils/depends.txt
@@ -1,7 +1,8 @@
default
biome_lib
+plantlife_i18n
bushes?
ferns?
moretrees?
trees?
-trunks? \ No newline at end of file
+trunks?
diff --git a/woodsoils/init.lua b/woodsoils/init.lua
index 9037d45..19ff61d 100644
--- a/woodsoils/init.lua
+++ b/woodsoils/init.lua
@@ -6,18 +6,21 @@ 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(" \\___ ( <_> ) | |__\\___ \\")
@@ -26,4 +29,4 @@ print(" \\/ \\/")]]
-----------------------------------------------------------------------------------------------
print("[Mod] "..title.." ["..version.."] ["..mname.."] Loaded...")
------------------------------------------------------------------------------------------------ \ No newline at end of file
+-----------------------------------------------------------------------------------------------
diff --git a/woodsoils/nodes.lua b/woodsoils/nodes.lua
index e80c522..b236564 100644
--- a/woodsoils/nodes.lua
+++ b/woodsoils/nodes.lua
@@ -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 = {