Skip to content

Commit

Permalink
Default: Remove unnecessary infotexts for chests and signs
Browse files Browse the repository at this point in the history
  • Loading branch information
paramat committed May 21, 2016
1 parent e7a5573 commit 90f24e3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions mods/default/nodes.lua
Expand Up @@ -1447,7 +1447,6 @@ minetest.register_node("default:chest", {
on_construct = function(pos)
local meta = minetest.get_meta(pos)
meta:set_string("formspec", chest_formspec)
meta:set_string("infotext", "Chest")
local inv = meta:get_inventory()
inv:set_size("main", 8*4)
end,
Expand Down Expand Up @@ -1498,7 +1497,6 @@ minetest.register_node("default:chest_locked", {
end,
on_construct = function(pos)
local meta = minetest.get_meta(pos)
meta:set_string("infotext", "Locked Chest")
meta:set_string("owner", "")
local inv = meta:get_inventory()
inv:set_size("main", 8 * 4)
Expand Down Expand Up @@ -1636,7 +1634,6 @@ local function register_sign(material, desc, def)
--local n = minetest.get_node(pos)
local meta = minetest.get_meta(pos)
meta:set_string("formspec", "field[text;;${text}]")
meta:set_string("infotext", "\"\"")
end,
on_receive_fields = function(pos, formname, fields, sender)
--print("Sign at "..minetest.pos_to_string(pos).." got "..dump(fields))
Expand Down

0 comments on commit 90f24e3

Please sign in to comment.