Jump to content

Can't turn on/off equipped lantern while on mouse and keyboard


hoxi
  • Pending

Only the unequip action shows, I'm unsure of when this was introduced. You also can't turn it on either if you turn it off with a console command, just to be clear.

I'm still investigating the cause, but it's not in componentactions.lua, as when testing with playeractionpicker:GetInventoryActions([lantern inst here], true), it returns turn off, unequip, and examine, in that order, so the issue lies elsewhere.

Edit: found the issue, more thoroughly explained here as it's not necessarily an issue with the lantern.


Steps to Reproduce
  1. Equip a lantern. Doesn't matter if you're a local host client or not.
  2. Notice how you can't turn off the lantern anymore, only unequip it.



User Feedback


On further investigating, you're partially correct. This wasn't a thing for a while (or a long while, I might've confused it with DS), but only for mouse and keyboard, the input shows up and works properly when playing with a controller.

The issue lies in how a bunch of components and widgets handle things, related to right clicks, I made a separate report here. In this case though, the problem lies in that machine component actions require right click to be sent, which isn't normally sent and is implicit in most cases (like how you can't interact with items in the inventory with left click, besides examining).

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...