mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 07:08:00 +01:00
Enables right click, alt click, ctrl click for alt-click item window (#83179)
## About The Pull Request This fix enables most of the clicks that have been disabled in the alt click menu up to this point. However, I did have to cut out the pointing thing it would do for right clicking. The only thing you aren't able to do with the new alt-click menu at this point is dragging items onto each other, pointing, and the shift-click context menu. Maybe we'll leave that for another PR, because I think I'd have to rewrite core components of TGUI for that? ## Why It's Good For The Game Lets you perform almost all of the alternative and right click functions on things you have alt-clicked the tiles for. I believe this outweighs the benefits of pointing at stuff on a tile instead. ## Changelog The alt-click item panel now lets you perform most of the alternative click options. 🆑 Bisar qol: Most of the alternate click modes (right click, control clicking, shift clicking, etc) have been enabled in the alt-click item menu. fix: You will no longer point at things you right-click in the alt-click item menu. /🆑
This commit is contained in:
@@ -36,6 +36,11 @@
|
||||
modifiers += "middle=1;"
|
||||
if(params["shift"])
|
||||
modifiers += "shift=1;"
|
||||
if(params["alt"])
|
||||
modifiers += "alt=1;"
|
||||
if(params["right"])
|
||||
modifiers += "right=1;"
|
||||
|
||||
|
||||
user.ClickOn(thing, modifiers)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user