Volatile selection tool (cursor-only).
Posted: Mon Jul 09, 2018 3:37 pm
What?
A selection tool that can only exist in the cursor_stack.
Whaat?
In a recent FFF you mentioned that 0.17 will have a copy/paste functionality that does not require an item. I'd like to have this functionality for mods too, to be able to select an area and trigger an event on selection without cluttering up the inventory with numerous selection tools.
Current problems/Possible Implementations:
While it is currently possible to put a "selection-tool" into the players cursor when a custom hotkey is pressed there is no way to ensure that they don't drop it on the floor/put it in a chest/etcpp. So a property for selection tools like cursor_only = true that automatically destroys the tool when it leaves the cursor stack should work. (I don't care if it's an actual selection tool or something else, as long as it works :).
Usecase:
I'm trying to update my old mod ScreenshotHotkey to use a selection-tool that only exists while it is in use.
A selection tool that can only exist in the cursor_stack.
Whaat?
In a recent FFF you mentioned that 0.17 will have a copy/paste functionality that does not require an item. I'd like to have this functionality for mods too, to be able to select an area and trigger an event on selection without cluttering up the inventory with numerous selection tools.
Current problems/Possible Implementations:
While it is currently possible to put a "selection-tool" into the players cursor when a custom hotkey is pressed there is no way to ensure that they don't drop it on the floor/put it in a chest/etcpp. So a property for selection tools like cursor_only = true that automatically destroys the tool when it leaves the cursor stack should work. (I don't care if it's an actual selection tool or something else, as long as it works :).
Usecase:
I'm trying to update my old mod ScreenshotHotkey to use a selection-tool that only exists while it is in use.