From e1c4385471f515b9b91096d5c7cf9ff7a0893d1f Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Fri, 27 Jan 2017 18:34:34 -0700 Subject: listring for builders so you can shift-click an item into the build slot --- node_builders.lua | 3 ++- node_storage.lua | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/node_builders.lua b/node_builders.lua index ec1bcb3..eeffa7a 100644 --- a/node_builders.lua +++ b/node_builders.lua @@ -65,7 +65,8 @@ minetest.register_node("digtron:builder", { "list[current_player;main;0,1.3;8,1;]" .. default.get_hotbar_bg(0,1.3) .. "list[current_player;main;0,2.5;8,3;8]" .. - "listring[current_player;main]" + "listring[current_player;main]" .. + "listring[current_name;main]" ) meta:set_int("period", 1) meta:set_int("offset", 0) diff --git a/node_storage.lua b/node_storage.lua index dd34014..e933277 100644 --- a/node_storage.lua +++ b/node_storage.lua @@ -189,7 +189,7 @@ minetest.register_node("digtron:combined_storage", { "list[current_name;fuel;0,4.1;8,1;]" .. "list[current_player;main;0,5.75;8,1;]" .. "list[current_player;main;0,6.98;8,3;8]" .. - "listring[current_name;fuel]" .. + "listring[current_name;main]" .. "listring[current_player;main]" .. default.get_hotbar_bg(0,5.75) ) -- cgit v1.2.3