From 79f97a15695bc1d8e654f50477f12aafd378726b Mon Sep 17 00:00:00 2001
From: Hector Kio <hector.kio223@gmail.com>
Date: Sun, 16 Sep 2018 13:40:55 -0400
Subject: [PATCH] Add listring to move honey to inventory

Allows using shift+click to transfer honey to player inventory.
---
 src/hive.lua | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/hive.lua b/src/hive.lua
index a389dd2..eb52901 100644
--- a/src/hive.lua
+++ b/src/hive.lua
@@ -10,7 +10,9 @@ function hive.construct(pos)
 			image[6,0;1,1;hive_bee.png]
 			image[5,0;1,1;hive_layout.png]
 			list[context;honey;5,0;1,1;]
-			list[current_player;main;0,1.35;8,4;] ]]
+			list[current_player;main;0,1.35;8,4;]
+			listring[current_player;main]
+			listring[context;honey] ]]
 			..xbg..default.get_hotbar_bg(0,1.35)
 
 	meta:set_string("formspec", formspec)
-- 
GitLab