summaryrefslogtreecommitdiff
path: root/ferns/horsetail.lua
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 /ferns/horsetail.lua
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 'ferns/horsetail.lua')
-rw-r--r--ferns/horsetail.lua18
1 files changed, 10 insertions, 8 deletions
diff --git a/ferns/horsetail.lua b/ferns/horsetail.lua
index b87f1f9..16d1c90 100644
--- a/ferns/horsetail.lua
+++ b/ferns/horsetail.lua
@@ -6,11 +6,13 @@
-- Contains code from: biome_lib
-- Looked at code from: default, flowers, trees
-- Dependencies: biome_lib
--- Supports: dryplants, stoneage, sumpf
+-- Supports: dryplants, stoneage, sumpf
-----------------------------------------------------------------------------------------------
assert(abstract_ferns.config.enable_horsetails == true)
+-- support for i18n
+local S = plantlife_i18n.gettext
-----------------------------------------------------------------------------------------------
-- HORSETAIL (EQUISETUM)
-----------------------------------------------------------------------------------------------
@@ -33,13 +35,13 @@ local function create_nodes()
local node_drop = "ferns:horsetail_04"
if i == 1 then
- node_desc = "Young Horsetail (Equisetum)"
+ node_desc = S("Young Horsetail (Equisetum)")
node_on_use = minetest.item_eat(1) -- young ones edible https://en.wikipedia.org/wiki/Equisetum
node_drop = node_name
elseif i == 4 then
- node_desc = "Horsetail (Equisetum)"
+ node_desc = S("Horsetail (Equisetum)")
else
- node_desc = "Horsetail (Equisetum) ".. string.format("%02d", i)
+ node_desc = S("Horsetail (Equisetum)").." ".. string.format("%02d", i)
end
node_names[i] = node_name
@@ -125,8 +127,8 @@ if abstract_ferns.config.enable_horsetails_on_grass == true then
near_nodes_count = 1,
plantlife_limit = -0.9,
humidity_min = 0.4,
- temp_max = -0.5, -- 55 °C
- temp_min = 0.53, -- 0 °C, dies back in winter
+ temp_max = -0.5, -- 55 °C
+ temp_min = 0.53, -- 0 °C, dies back in winter
--random_facedir = { 0, 179 },
},
node_names
@@ -147,8 +149,8 @@ if abstract_ferns.config.enable_horsetails_on_stones == true then
min_elevation = 1, -- above sea level
plantlife_limit = -0.9,
humidity_min = 0.4,
- temp_max = -0.5, -- 55 °C
- temp_min = 0.53, -- 0 °C, dies back in winter
+ temp_max = -0.5, -- 55 °C
+ temp_min = 0.53, -- 0 °C, dies back in winter
--random_facedir = { 0, 179 },
},
node_names