Skip to content

Commit 8fdcfea

Browse files
rui914paramat
authored andcommittedMar 21, 2016
Allow for shift+clicking inventory from bones
1 parent 9de43cd commit 8fdcfea

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed
 

‎mods/bones/init.lua

+11-9
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,19 @@ local function is_owner(pos, name)
1212
end
1313

1414
bones.bones_formspec =
15-
"size[8,9]"..
16-
default.gui_bg..
17-
default.gui_bg_img..
18-
default.gui_slots..
19-
"list[current_name;main;0,0.3;8,4;]"..
20-
"list[current_player;main;0,4.85;8,1;]"..
21-
"list[current_player;main;0,6.08;8,3;8]"..
15+
"size[8,9]" ..
16+
default.gui_bg ..
17+
default.gui_bg_img ..
18+
default.gui_slots ..
19+
"list[current_name;main;0,0.3;8,4;]" ..
20+
"list[current_player;main;0,4.85;8,1;]" ..
21+
"list[current_player;main;0,6.08;8,3;8]" ..
22+
"listring[current_name;main]" ..
23+
"listring[current_player;main]" ..
2224
default.get_hotbar_bg(0,4.85)
2325

24-
local share_bones_time = tonumber(minetest.setting_get("share_bones_time") or 1200)
25-
local share_bones_time_early = tonumber(minetest.setting_get("share_bones_time_early") or (share_bones_time/4))
26+
local share_bones_time = tonumber(minetest.setting_get("share_bones_time")) or 1200
27+
local share_bones_time_early = tonumber(minetest.setting_get("share_bones_time_early")) or share_bones_time / 4
2628

2729
minetest.register_node("bones:bones", {
2830
description = "Bones",

0 commit comments

Comments
 (0)
Please sign in to comment.