Make inventory left and right clicks agree
Install bass_buttons from Chapter 12 as a Global Script. Leave Use Selected Verb enabled on bass_items. The adapter listens to that widget’s item event before its built-in interaction runs.
| Input | Adapter state | Result |
|---|---|---|
| Left-click an item | Clear an old selection; choose Look. | The built-in item interaction examines it. |
| Right-click an item | Clear an old selection; choose Walk. | The built-in item interaction selects it. |
| Hover | No selection change. | The pointer can inspect the strip without using anything. |
| Use a selected item on a target | The object’s explicit right-use route executes the target. | The matching item rule supplies the result. |
The selected-item world route in this tutorial is right-click. The original can apply a carried item with either button in relevant contexts. Extending left-click selected-item use is a separate input rule; do not silently replace left-look everywhere.
The script is scoped to bass_items. If you change that element ID, update the script too. It should not rewrite inventory clicks in every other interface in this book.
