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. --- dryplants/juncus.lua | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'dryplants/juncus.lua') diff --git a/dryplants/juncus.lua b/dryplants/juncus.lua index 2ea094f..4a16ebc 100644 --- a/dryplants/juncus.lua +++ b/dryplants/juncus.lua @@ -6,9 +6,12 @@ -- License (everything): WTFPL -- Contains code from: biome_lib --- Looked at code from: default +-- Looked at code from: default ----------------------------------------------------------------------------------------------- +-- support for i18n +local S = plantlife_i18n.gettext + abstract_dryplants.grow_juncus = function(pos) local juncus_type = math.random(2,3) local right_here = {x=pos.x, y=pos.y+1, z=pos.z} @@ -23,7 +26,7 @@ abstract_dryplants.grow_juncus = function(pos) end minetest.register_node("dryplants:juncus", { - description = "Juncus", + description = S("Juncus"), drawtype = "plantlike", visual_scale = math.sqrt(8), paramtype = "light", @@ -45,8 +48,8 @@ minetest.register_node("dryplants:juncus", { }, on_place = function(itemstack, placer, pointed_thing) local playername = placer:get_player_name() - if minetest.is_protected(pointed_thing.above, playername) or - minetest.is_protected(pointed_thing.under, playername) then + if minetest.is_protected(pointed_thing.above, playername) or + minetest.is_protected(pointed_thing.under, playername) then minetest.chat_send_player(playername, "Someone else owns that spot.") return end @@ -65,7 +68,7 @@ minetest.register_node("dryplants:juncus", { end, }) minetest.register_node("dryplants:juncus_02", { - description = "Juncus", + description = S("Juncus"), drawtype = "plantlike", visual_scale = math.sqrt(8), paramtype = "light", @@ -92,7 +95,7 @@ minetest.register_node("dryplants:juncus_02", { -- near water or swamp biome_lib:register_generate_plant({ surface = { - "default:dirt_with_grass", + "default:dirt_with_grass", --"default:desert_sand", --"default:sand", "stoneage:grass_with_silex", @@ -113,7 +116,7 @@ biome_lib:register_generate_plant({ -- at dunes/beach biome_lib:register_generate_plant({ surface = { - --"default:dirt_with_grass", + --"default:dirt_with_grass", --"default:desert_sand", "default:sand", --"stoneage:grass_with_silex", -- cgit v1.2.3