Can we add an on_research_cancelled event that includes which research was cancelled. It should be called for both the current research and for ones in the queue.
My use case is I react to the number of a specific infinite research being done/queued in relation to an ingame maximum. When there is as much research queued as the ingame maximum I disabled the technology. At present I can use completed and started to catch 90% of the use cases, but if a research is cancelled and another not started my mod is int he dark.
I use the events rather than polling to make it reactive and simplier code.
Place to ask discuss and request the modding support of Factorio. Don't request mods here.
1 post • Page 1 of 1
Users browsing this forum: No registered users