summaryrefslogtreecommitdiff
path: root/src/player.cpp
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-06-16 10:48:54 +0200
committerest31 <MTest31@outlook.com>2015-06-16 14:51:26 +0200
commitc977fbd9288d0e80019554411a2f1885f7760568 (patch)
treea93117e0af24167084e6189e0da9f909120f9c83 /src/player.cpp
parent3ae8b92be6e527054a3f291dee995230528141ca (diff)
downloadminetest-c977fbd9288d0e80019554411a2f1885f7760568.tar.gz
minetest-c977fbd9288d0e80019554411a2f1885f7760568.tar.bz2
minetest-c977fbd9288d0e80019554411a2f1885f7760568.zip
Add list-rings
Adds list-rings, a method to implement item sending between inventories via shift-click. Nice insider feature: a ring consisting of a single inventory list serves as nice clean-up method. Also adds them to minimal game, and the standard inventory. Craft output slots are not supported.
Diffstat (limited to 'src/player.cpp')
-rw-r--r--src/player.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/player.cpp b/src/player.cpp
index 4a5e5ad91..26496259c 100644
--- a/src/player.cpp
+++ b/src/player.cpp
@@ -71,6 +71,7 @@ Player::Player(IGameDef *gamedef, const char *name):
//"image[1,0.6;1,2;player.png]"
"list[current_player;main;0,3.5;8,4;]"
"list[current_player;craft;3,0;3,3;]"
+ "listring[]"
"list[current_player;craftpreview;7,1;1,1;]";
// Initialize movement settings at default values, so movement can work if the server fails to send them