diff options
author | FaceDeer <derksenmobile@gmail.com> | 2017-01-27 18:34:34 -0700 |
---|---|---|
committer | FaceDeer <derksenmobile@gmail.com> | 2017-01-27 18:34:34 -0700 |
commit | e1c4385471f515b9b91096d5c7cf9ff7a0893d1f (patch) | |
tree | 78a717667ee720d12b1d093750d0a9f36f96b59f | |
parent | fbd13c3a6f1daa5ef1eb6812618dad983ccf14fb (diff) |
listring for builders so you can shift-click an item into the build slot
-rw-r--r-- | node_builders.lua | 3 | ||||
-rw-r--r-- | 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) ) |