Move items in hotbar using the middle mouse button

User avatar
cd2
Member
 
Posts: 552
Joined: Mon Jun 01, 2015 06:30
GitHub: cdqwertz
IRC: freenode - cd2 InchraNet - cd
In-game: cd cd2

Move items in hotbar using the middle mouse button

by cd2 » Mon Feb 01, 2016 16:44

I think, that it would be nice to have a feature, which allows you to move items in your hotbar using the middle mouse button (while playing).
Is that possible?

It would be nice if there was a way to check if a player moves an item
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetest.register_on_hotbar_item_move ( function(player, from, to, item) end )
-- ^^ or something like that
Last edited by cd2 on Wed Feb 10, 2016 09:49, edited 1 time in total.
 

User avatar
Casimir
Member
 
Posts: 1101
Joined: Fri Aug 03, 2012 16:59

Re: Move items in hotbar using the middle mouse button

by Casimir » Wed Feb 03, 2016 19:55

I you mean what I think, then you can already do this with ctrl+left click.
 

User avatar
cd2
Member
 
Posts: 552
Joined: Mon Jun 01, 2015 06:30
GitHub: cdqwertz
IRC: freenode - cd2 InchraNet - cd
In-game: cd cd2

Re: Move items in hotbar using the middle mouse button

by cd2 » Wed Feb 10, 2016 09:50

Casimir wrote:I you mean what I think, then you can already do this with ctrl+left click.

I mean, that you can change the position of items in the hotbar without opening the inventory.
 

User avatar
prof-turbo
Member
 
Posts: 518
Joined: Mon May 07, 2012 17:02

Re: Move items in hotbar using the middle mouse button

by prof-turbo » Mon Feb 15, 2016 20:45

That would be indeed a great gameplay add. Opening inventory is actual a big problem in PvP.
 


Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 56 guests

cron