From 39f5cba27eef35877c91291f518974f34130fcb6 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Tue, 31 Jan 2017 19:39:31 -0500 Subject: Huge update - lots of mods: areas, biome_lib, blox, bobblocks, boost_cart, homedecor, mobs, coloredwood, ilights, inbox, item_tweaks, moreblocks, moreores, pipeworks, plasticbox, signs_lib, stainedglass, roads, unifieddyes, vines, worldedit, xban2, maybe some others I didn't think about ;-) --- plasmascreen/init.lua | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'plasmascreen/init.lua') diff --git a/plasmascreen/init.lua b/plasmascreen/init.lua index 839fa1f..109e418 100644 --- a/plasmascreen/init.lua +++ b/plasmascreen/init.lua @@ -1,7 +1,10 @@ + +local S = homedecor_i18n.gettext + screwdriver = screwdriver or {} minetest.register_node("plasmascreen:stand", { - description = "Plasma Screen TV Stand", + description = S("Plasma Screen TV Stand"), tiles = {"plasmascreen_back.png"}, paramtype = "light", paramtype2 = "facedir", @@ -85,7 +88,7 @@ local function checkwall(pos) end local node5 = minetest.get_node({x=pos.x+dxr, y=pos.y+1, z=pos.z+dzr}) - if not node5 or not minetest.registered_nodes[node5.name] + if not node5 or not minetest.registered_nodes[node5.name] or not minetest.registered_nodes[node5.name].buildable_to then return false end @@ -94,7 +97,7 @@ local function checkwall(pos) end minetest.register_node("plasmascreen:tv", { - description = "Plasma TV", + description = S("Plasma TV"), drawtype = "mesh", mesh = "plasmascreen_tv.obj", tiles = { @@ -130,7 +133,7 @@ minetest.register_node("plasmascreen:tv", { }) minetest.register_node("plasmascreen:tv_off", { - description = "Plasma TV (off)", + description = S("Plasma TV (off)"), drawtype = "mesh", mesh = "plasmascreen_tv.obj", tiles = { -- cgit v1.2.3