narc0tiq / YARM

Yet another variant of the Resource Monitor for Factorio
https://mods.factorio.com/mod/YARM
MIT License
54 stars 42 forks source link

Discard the site add timer in favor of triggering completion on cursor stack changed #57

Open narc0tiq opened 7 years ago

narc0tiq commented 7 years ago

Via IRC: \ Narc, speaking of YARM, I was just looking at it and wondering if you could make cursor-clearing immediately finish the current deposit. That could be paired with making the normal timeout much longer (or removing it entirely), useful for oil deposits \ Rhamphoryncus: I don't know if there's an event for changing the currently-held item, but we could probably do it as a hotkey default-bound to the clear-cursor key? \ Narc, there is an event, I checked \ Shiny. Then totally, yeah. \ http://lua-api.factorio.com/latest/events.html#on_player_cursor_stack_changed \ And also pair it with feedback on the newly-created field, i.e., give it a specific place in the UI to show what it's found so far and how much (and what its automatic name will be). \ yeah

Invalidates #5 (no need to show a timer that doesn't exist).