Player inventory loadouts
It'd be extremely time-saving to have "loadouts", where the initial stuff is automagickally rearranged in the player's hotbar according to each player's preferences. I (and I'm sure many others) waste many precious seconds re-arranging their hotbar after respawn.
I can think of two approaches:
Implicit - Live recording
Simply remember each player's hotbar setup in that map (and in that class, if applicable), and auto-arrange initial items accordingly. Maybe we could make it so that the hotbar arrangement is recorded only upto 5s after (re)spawn, as it may not be worth it to continuously watch each player's hotbar throughout the match. Easier to implement.
Explicit - Separate inv page
Separate inv page that when opened shows a full inv worth of slots, and a separate "hotbar" row. initial items of the current map (and class, if applicable) is added to the inv, from which player can take items and arrange in the "hotbar" row. Then they can click on "Save" and that arrangement will be followed henceforth. Little more effort to implement, but could be worth it IMO.
I'll maybe try to make a prototype formspec to demonstrate what I mean.
Thoughts, suggestions, and discussion welcome.
A good start would be to simply prevent dropping initial items when the player dies, as suggested by @LoneWolfHT.
A good start would be to simply prevent dropping initial items when the player dies, as suggested by @LoneWolfHT.
#1046
If a more complex implementation is required instead of #1046, we can reopen this PR again.