mirror of
https://github.com/minetest/minetest_game.git
synced 2024-11-05 23:33:51 +01:00
Allow for shift+clicking inventory from bones
This commit is contained in:
parent
9de43cdf7d
commit
8fdcfea9f9
@ -12,17 +12,19 @@ local function is_owner(pos, name)
|
|||||||
end
|
end
|
||||||
|
|
||||||
bones.bones_formspec =
|
bones.bones_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]" ..
|
||||||
|
"listring[current_name;main]" ..
|
||||||
|
"listring[current_player;main]" ..
|
||||||
default.get_hotbar_bg(0,4.85)
|
default.get_hotbar_bg(0,4.85)
|
||||||
|
|
||||||
local share_bones_time = tonumber(minetest.setting_get("share_bones_time") or 1200)
|
local share_bones_time = tonumber(minetest.setting_get("share_bones_time")) or 1200
|
||||||
local share_bones_time_early = tonumber(minetest.setting_get("share_bones_time_early") or (share_bones_time/4))
|
local share_bones_time_early = tonumber(minetest.setting_get("share_bones_time_early")) or share_bones_time / 4
|
||||||
|
|
||||||
minetest.register_node("bones:bones", {
|
minetest.register_node("bones:bones", {
|
||||||
description = "Bones",
|
description = "Bones",
|
||||||
|
Loading…
Reference in New Issue
Block a user