summaryrefslogtreecommitdiff
path: root/nature_classic
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 /nature_classic
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 'nature_classic')
-rw-r--r--nature_classic/blossom.lua6
-rw-r--r--nature_classic/depends.txt1
-rw-r--r--nature_classic/init.lua5
3 files changed, 9 insertions, 3 deletions
diff --git a/nature_classic/blossom.lua b/nature_classic/blossom.lua
index 646a06e..8bb68e0 100644
--- a/nature_classic/blossom.lua
+++ b/nature_classic/blossom.lua
@@ -1,3 +1,5 @@
+-- support for i18n
+local S = plantlife_i18n.gettext
-- Blossoms and such
local function spawn_apple_under(pos)
@@ -12,7 +14,7 @@ local function spawn_apple_under(pos)
end
minetest.register_node(":"..nature.blossom_node, {
- description = "Apple blossoms",
+ description = S("Apple blossoms"),
drawtype = "allfaces_optional",
tiles = nature.blossom_textures,
paramtype = "light",
@@ -23,7 +25,7 @@ minetest.register_node(":"..nature.blossom_node, {
default.register_leafdecay({
trunks = { nature.blossom_trunk },
- leaves = { nature.blossom_node },
+ leaves = { nature.blossom_node, nature.blossom_leaves },
radius = nature.blossom_decay,
})
diff --git a/nature_classic/depends.txt b/nature_classic/depends.txt
index 1246684..ad4030f 100644
--- a/nature_classic/depends.txt
+++ b/nature_classic/depends.txt
@@ -1,2 +1,3 @@
default
+plantlife_i18n
moretrees?
diff --git a/nature_classic/init.lua b/nature_classic/init.lua
index e61bad2..1135175 100644
--- a/nature_classic/init.lua
+++ b/nature_classic/init.lua
@@ -6,6 +6,9 @@
local current_mod_name = minetest.get_current_modname()
nature = {}
+-- support for i18n
+local S = plantlife_i18n.gettext
+
nature.blossomqueue = {}
nature.blossomqueue_max = 1000
@@ -44,4 +47,4 @@ dofile(minetest.get_modpath(current_mod_name) .. "/config.lua")
dofile(minetest.get_modpath(current_mod_name) .. "/global_function.lua")
dofile(minetest.get_modpath(current_mod_name) .. "/blossom.lua")
-minetest.log("info", "[Nature Classic] loaded!")
+minetest.log("info", S("[Nature Classic] loaded!"))