on_player_cursor_stack_changed only fires when the player's cursor_stack changes, not when the cursor_ghost changes. Can we get an event for changes to the cursor_ghost as well, maybe on_player_cursor_ghost_changed?
For mods with special handling when the player's holding their item on the cursor, it'd be great to be able to apply the same behavior to the ghost cursor.
Thanks!
Event request: on_player_cursor_ghost_changed
-
- Fast Inserter
- Posts: 128
- Joined: Thu Feb 08, 2018 8:25 am
- Contact:
Re: Event request: on_player_cursor_ghost_changed
Second this.
Re: Event request: on_player_cursor_ghost_changed
I'm updating one of my mods for SA 2.0 and I was wondering if this maybe got implemented?
Thanks!![🧡](//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f9e1.svg)
UPDATE:
So it maybe seems like the `on_player_cursor_stack_changed` event also triggers when a the ghost on the cursor changes. Could use better documentation, but works!
Thanks!
UPDATE:
So it maybe seems like the `on_player_cursor_stack_changed` event also triggers when a the ghost on the cursor changes. Could use better documentation, but works!