diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-08-12 20:37:50 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-08-12 20:37:50 -0400 |
commit | 4aab7d0dbd782cf6741bdbba94440faf0c5c2e61 (patch) | |
tree | f5a13374fb176c21e381a2ae6ab53ac2ff282057 /ferns/fern.lua | |
parent | 047a770ad04fc264039fa5b6109c803bd3d2d258 (diff) | |
download | dreambuilder_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 'ferns/fern.lua')
-rw-r--r-- | ferns/fern.lua | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/ferns/fern.lua b/ferns/fern.lua index 48f9db2..ed0bd71 100644 --- a/ferns/fern.lua +++ b/ferns/fern.lua @@ -6,7 +6,7 @@ -- Contains code from: biome_lib
-- Looked at code from: default, flowers, painting, trees
-- Dependencies: biome_lib
--- Supports: dryplants, stoneage, sumpf
+-- Supports: dryplants, stoneage, sumpf
-----------------------------------------------------------------------------------------------
-- some inspiration from here
-- https://en.wikipedia.org/wiki/Athyrium_yokoscense
@@ -15,6 +15,9 @@ assert(abstract_ferns.config.enable_lady_fern == true)
+-- support for i18n
+local S = plantlife_i18n.gettext
+
-- Maintain backward compatibilty
minetest.register_alias("archaeplantae:fern", "ferns:fern_03")
minetest.register_alias("archaeplantae:fern_mid", "ferns:fern_02")
@@ -26,7 +29,7 @@ local nodenames = {} local function create_nodes()
local images = { "ferns_fern.png", "ferns_fern_mid.png", "ferns_fern_big.png" }
local vscales = { 1, math.sqrt(8), math.sqrt(11) }
- local descs = { "Lady-fern (Athyrium)", nil, nil }
+ local descs = { S("Lady-fern (Athyrium)"), nil, nil }
for i = 1, 3 do
local node_on_place = nil
@@ -40,7 +43,7 @@ local function create_nodes() end
nodenames[i] = "ferns:fern_"..string.format("%02d", i)
minetest.register_node(nodenames[i], {
- description = descs[i] or ("Lady-fern (Athyrium) " .. string.format("%02d", i)),
+ description = descs[i] or (S("Lady-fern (Athyrium)").." " .. string.format("%02d", i)),
inventory_image = "ferns_fern.png",
drawtype = "plantlike",
visual_scale = vscales[i],
@@ -91,8 +94,8 @@ if abstract_ferns.config.lady_ferns_near_tree == true then plantlife_limit = -0.9,
humidity_max = -1.0,
humidity_min = 0.4,
- temp_max = -0.5, -- 55 °C (too hot?)
- temp_min = 0.75, -- -12 °C
+ temp_max = -0.5, -- 55 °C (too hot?)
+ temp_min = 0.75, -- -12 °C
random_facedir = { 0, 179 },
},
nodenames
@@ -118,8 +121,8 @@ if abstract_ferns.config.lady_ferns_near_rock == true then plantlife_limit = -0.9,
humidity_max = -1.0,
humidity_min = 0.4,
- temp_max = -0.5, -- 55 °C (too hot?)
- temp_min = 0.75, -- -12 °C
+ temp_max = -0.5, -- 55 °C (too hot?)
+ temp_min = 0.75, -- -12 °C
random_facedir = { 0, 179 },
},
nodenames
@@ -156,8 +159,8 @@ if abstract_ferns.config.lady_ferns_near_ores == true then -- this one causes a plantlife_limit = -0.9,
humidity_max = -1.0,
humidity_min = 0.4,
- temp_max = -0.5, -- 55 °C (too hot?)
- temp_min = 0.75, -- -12 °C
+ temp_max = -0.5, -- 55 °C (too hot?)
+ temp_min = 0.75, -- -12 °C
random_facedir = { 0, 179 },
},
nodenames
@@ -187,8 +190,8 @@ if abstract_ferns.config.lady_ferns_in_groups == true then -- this one is meant plantlife_limit = -0.9,
humidity_max = -1.0,
humidity_min = 0.4,
- temp_max = -0.5, -- 55 °C (too hot?)
- temp_min = 0.75, -- -12 °C
+ temp_max = -0.5, -- 55 °C (too hot?)
+ temp_min = 0.75, -- -12 °C
random_facedir = { 0, 179 },
},
nodenames
|