mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
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.
This commit is contained in:
parent
3ae8b92be6
commit
c977fbd928
5 changed files with 156 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue