Jump to content

Items or tools picked up with Right-Click go to the currently active slot (if available)


Luckless

Recommended Posts

So, I honestly thought this was a functionality already, or that it was in the past, but it's pretty self-explanatory;

When a player picks up, say a bowl, or a pickaxe, via the RightClickPickup behavior, it should prioritize the currently selected active slot, and if it's empty, allow the item to go into there. Currently, say I have slot 8 (empty) selected on my hotbar, and pick up a bowl, it'll go into slot 2, or whatever is the first available, but I think it would be much nicer (as a QoL toggle, or setting), to go to my active slot, allowing me to eat straight away, or use said tool without having to now scroll to it. 

This would also allow me to set my hotbar upon picking up the items, instead of having to re-arrange them later.

I had tried looking into modding this behavior, and found it fell under the vssurvivalmod/BlockBehavior/BehaviorRightClickPickup.cs @ OnBlockInteractStart(), but was unable to append this functionality onto an already existing item. This is more likely due to my inexperience when it comes to modding this game.

Edited by Luckless
added link to .cs file
  • Like 2
Link to comment
Share on other sites

Speaking of which, it would be nice if right-clicking on a placed torch with either a lit torch or nothing selected removed the torch. If you have a torch selected, right-click, left-click to renew your torches. It's a thing of beauty and a joy forever.

Edited by Thorfinn
Link to comment
Share on other sites

1 hour ago, Thorfinn said:

it would be nice if right-clicking on a placed torch with either a lit torch or nothing selected removed the torch

I'm kind of surprised this isn't already a thing, since right clicking a torch currently doesn't do anything (nor would it negatively interact with lighting on-hand torches since that's shift + right-click)!

Link to comment
Share on other sites

On 3/11/2023 at 9:38 AM, Luckless said:

I'm kind of surprised this isn't already a thing, since right clicking a torch currently doesn't do anything (nor would it negatively interact with lighting on-hand torches since that's shift + right-click)!

As a matter of fact if you hold right click at an unlit torch while holding one that is lit, will attempt to light it and right after it is lit, will attempt to place the torch you are holding next to the face of the previously unlit torch that you are aiming at.

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.