summaryrefslogtreecommitdiff
path: root/plasmascreen
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-01-31 19:39:31 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-01-31 19:39:31 -0500
commit39f5cba27eef35877c91291f518974f34130fcb6 (patch)
tree117a9d1b7d4ee5f78f73e1216e982c366ed9ecc6 /plasmascreen
parent2922421f4a88e56a0a1c819f62bf2bc287835388 (diff)
downloaddreambuilder_modpack-39f5cba27eef35877c91291f518974f34130fcb6.tar
dreambuilder_modpack-39f5cba27eef35877c91291f518974f34130fcb6.tar.gz
dreambuilder_modpack-39f5cba27eef35877c91291f518974f34130fcb6.tar.bz2
dreambuilder_modpack-39f5cba27eef35877c91291f518974f34130fcb6.tar.xz
dreambuilder_modpack-39f5cba27eef35877c91291f518974f34130fcb6.zip
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 ;-)
Diffstat (limited to 'plasmascreen')
-rw-r--r--plasmascreen/depends.txt3
-rw-r--r--plasmascreen/init.lua11
2 files changed, 9 insertions, 5 deletions
diff --git a/plasmascreen/depends.txt b/plasmascreen/depends.txt
index 331d858..7b3e79f 100644
--- a/plasmascreen/depends.txt
+++ b/plasmascreen/depends.txt
@@ -1 +1,2 @@
-default \ No newline at end of file
+default
+homedecor
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 = {