Page 1 of 1

Move items in hotbar using the middle mouse button

PostPosted: Mon Feb 01, 2016 16:44
by cd2
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

Re: Move items in hotbar using the middle mouse button

PostPosted: Wed Feb 03, 2016 19:55
by Casimir
I you mean what I think, then you can already do this with ctrl+left click.

Re: Move items in hotbar using the middle mouse button

PostPosted: Wed Feb 10, 2016 09:50
by cd2
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.

Re: Move items in hotbar using the middle mouse button

PostPosted: Mon Feb 15, 2016 20:45
by prof-turbo
That would be indeed a great gameplay add. Opening inventory is actual a big problem in PvP.