Fixing the Left Click+Drag Conflict For Borgs
Posted: Sat Mar 30, 2019 1:03 am
Currently, if a borg (left) click+drags a humanoid's sprite onto themselves, they'll both buckle that humanoid to themselves and open up the interface/menu for managing the inventory of/stripping said humanoid. This is annoying, as the interface/menu will cause you to stop in your tracks when it appears and also blocks a large portion of your view, requiring you to click on the main screen again to move.
I have three ideas for fixes for this problem:
1. Intents: If the borg is on help intent when they left click+drag a humanoid's sprite onto themselves, they buckle that humanoid to themselves but don't open up the inventory menu. If the borg is on harm intent when they left click+drag a humanoid's sprite onto themselves, they open up the inventory menu but don't buckle that humanoid to themselves.
2. Active Tool: If the borg has no selected tool (none of their 3 hotbar slots are green) when they left click+drag a humanoid's sprite onto themselves, they buckle that humanoid to themselves but don't open up the inventory menu. If the borg does have a selected tool when they left click+drag a humanoid's sprite onto themselves, they open up the inventory menu but don't buckle that humanoid to themselves.
3. Special Tool: If the borg left click+drags a humanoid's sprite onto themselves, they open up the inventory menu but don't buckle that humanoid to themselves. All borgs receive a "buckling" tool that will buckle a humanoid to the borg that uses it if the borg left clicks on said humanoid with it active/selected. If the borg clicks on a compatible hat with the buckling tool, they'll start putting it on themselves, allowing them to wear swanky hats that they find without needing to ask a humanoid for help (for some of them, at least- as some are in vending machines and such). If the borg clicks on a turf with the buckling tool while someone is buckled to them, the borg gently puts their rider down on said turf without having to *spin them off/ask them to resist out. If the borg clicks on an object that someone is buckled to with the buckliing tool, the people buckled to that object are unbuckled from that object (like how clicking on a bed or chair with an empty hand as a humanoid unbuckles people from that object).
Which of the above fixes do you like the best? More importantly, would anyone be willing to write up a PR for any of the above fixes (the "Intents" option should just require one function to be changed, as far as I can tell, but I might be wrong)?
I have three ideas for fixes for this problem:
1. Intents: If the borg is on help intent when they left click+drag a humanoid's sprite onto themselves, they buckle that humanoid to themselves but don't open up the inventory menu. If the borg is on harm intent when they left click+drag a humanoid's sprite onto themselves, they open up the inventory menu but don't buckle that humanoid to themselves.
2. Active Tool: If the borg has no selected tool (none of their 3 hotbar slots are green) when they left click+drag a humanoid's sprite onto themselves, they buckle that humanoid to themselves but don't open up the inventory menu. If the borg does have a selected tool when they left click+drag a humanoid's sprite onto themselves, they open up the inventory menu but don't buckle that humanoid to themselves.
3. Special Tool: If the borg left click+drags a humanoid's sprite onto themselves, they open up the inventory menu but don't buckle that humanoid to themselves. All borgs receive a "buckling" tool that will buckle a humanoid to the borg that uses it if the borg left clicks on said humanoid with it active/selected. If the borg clicks on a compatible hat with the buckling tool, they'll start putting it on themselves, allowing them to wear swanky hats that they find without needing to ask a humanoid for help (for some of them, at least- as some are in vending machines and such). If the borg clicks on a turf with the buckling tool while someone is buckled to them, the borg gently puts their rider down on said turf without having to *spin them off/ask them to resist out. If the borg clicks on an object that someone is buckled to with the buckliing tool, the people buckled to that object are unbuckled from that object (like how clicking on a bed or chair with an empty hand as a humanoid unbuckles people from that object).
Which of the above fixes do you like the best? More importantly, would anyone be willing to write up a PR for any of the above fixes (the "Intents" option should just require one function to be changed, as far as I can tell, but I might be wrong)?