Works with shift+click for newly placed hoppers

This commit is contained in:
TenPlus1 2015-09-13 09:39:04 +01:00
parent 192ca97b68
commit 8bda9878fe
2 changed files with 12 additions and 9 deletions

@ -13,3 +13,5 @@ Released under WTFPL
0.3 - transfer function added 0.3 - transfer function added
0.4 - Supports locked chest and protected chest 0.4 - Supports locked chest and protected chest
0.5 - Works with 0.4.13's new shift+click for newly placed Hoppers

@ -1,12 +1,13 @@
local hopper_formspec = local hopper_formspec =
"size[8,9]".. "size[8,9]"
default.gui_bg.. .. default.gui_bg
default.gui_bg_img.. .. default.gui_bg_img
default.gui_slots.. .. default.gui_slots
"list[current_name;main;0,0.3;8,4;]".. .. "list[current_name;main;0,0.3;8,4;]"
"list[current_player;main;0,4.85;8,1;]".. .. "list[current_player;main;0,4.85;8,1;]"
"list[current_player;main;0,6.08;8,3;8]" .. "list[current_player;main;0,6.08;8,3;8]"
--default.get_hotbar_bg(0,4.85) .. "listring[current_name;main]"
.. "listring[current_player;main]"
-- hopper -- hopper
minetest.register_node("hopper:hopper", { minetest.register_node("hopper:hopper", {