From 4aab7d0dbd782cf6741bdbba94440faf0c5c2e61 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Sat, 12 Aug 2017 20:37:50 -0400 Subject: 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. --- nature_classic/blossom.lua | 6 ++++-- nature_classic/depends.txt | 1 + nature_classic/init.lua | 5 ++++- 3 files changed, 9 insertions(+), 3 deletions(-) (limited to 'nature_classic') 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!")) -- cgit v1.2.3