summaryrefslogtreecommitdiff
path: root/node_crate.lua
diff options
context:
space:
mode:
authorFaceDeer <derksenmobile@gmail.com>2017-01-20 00:19:33 -0700
committerFaceDeer <derksenmobile@gmail.com>2017-01-20 00:19:33 -0700
commit68a83a7a8d689c72facbd24e7df87684f7701ba3 (patch)
treeaddefed06b76f6a8d6ec6bef4959d5944643b7f0 /node_crate.lua
parent12435fc2f361d11e396efcaa59732c1ab0b9e2c7 (diff)
Switch user-facing strings to use the word "block" instead of "node"
Diffstat (limited to 'node_crate.lua')
-rw-r--r--node_crate.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/node_crate.lua b/node_crate.lua
index e98bdb6..a9e91ac 100644
--- a/node_crate.lua
+++ b/node_crate.lua
@@ -24,7 +24,7 @@ minetest.register_node("digtron:empty_crate", {
if layout.contains_protected_node then
local meta = minetest.get_meta(pos)
minetest.sound_play("buzzer", {gain=0.5, pos=pos})
- meta:set_string("infotext", "Digtron can't be packaged, it contains protected nodes")
+ meta:set_string("infotext", "Digtron can't be packaged, it contains protected blocks")
-- no stealing other peoples' digtrons
return
end
@@ -54,8 +54,8 @@ local loaded_formspec = "size[4,1.5]" ..
"field[0.3,0.5;4,0.5;title;Digtron Name;${title}]" ..
"button_exit[0.5,1.2;1,0.1;save;Save\nTitle]" ..
"tooltip[save;Saves the title of this Digtron]" ..
- "button_exit[1.5,1.2;1,0.1;show;Show\nNodes]" ..
- "tooltip[save;Shows what nodes the packed Digtron will occupy if unpacked]" ..
+ "button_exit[1.5,1.2;1,0.1;show;Show\nBlocks]" ..
+ "tooltip[save;Shows which blocks the packed Digtron will occupy if unpacked]" ..
"button_exit[2.5,1.2;1,0.1;unpack;Unpack]" ..
"tooltip[unpack;Attempts to unpack the Digtron on this location]"
@@ -121,7 +121,7 @@ minetest.register_node("digtron:loaded_crate", {
end
if protected_node then
- meta:set_string("infotext", meta:get_string("title") .. "\nUnable to deploy Digtron due to protected nodes in target area")
+ meta:set_string("infotext", meta:get_string("title") .. "\nUnable to deploy Digtron due to protected blocks in target area")
minetest.sound_play("buzzer", {gain=0.5, pos=pos})
return
end