About on_research_queue_changed
From Factorio Mod Portalprovides an event called on_research_queue_changed that is raised at any change of research queue. It is ment to replace on_research_cancelled, on_research_finished and on_research_started. It uses the same interface as on_research_cancelled.
Provides an event called on_research_queue_changed that is raised at any change of research queue. It is ment to replace on_research_cancelled, on_research_finished and on_research_started. It uses almost the same interface as on_research_cancelled.
###How to use:
- In your mod, add a dependency to this mod.
- In your control.lua add a function like this:
local function InitialiseOnResearchQueueChanged() defines.events.on_research_queue_changed = remote.call("on_research_queue_changed", "get_event_name") script.on_event(defines.events.on_research_queue_changed, function (event) ... end) end
- call this function in the
on_inithandler and in theon_configuration_changedhandler - The event structure is almost exactly like that of
on_research_cancelled. The only difference is that the numbers for each technology are
=> -1 for cancelled, => 0 for completed and => 1 for started research.
###Remark:
- Since the mod monitors the research queue with some latency, it may not detect all changes. For example, if another mod manipulates the research queue directly and adds and removes a technology between two checks, this will not be detected in
on_research_queue_changed.
Highlights
From source dataFootprint
Rated a light load on a server.
License
Published under MIT.
Last update
Its author last shipped an update 5 yr ago.
on_research_queue_changed on Nxeon
From our catalogue- One-click install
- Supported on Nxeon Factorio servers. We download it from Factorio Mod Portal, place it, and restart the server.
- Server side
- Required on the server
- Server load
- light
- Smallest plan we suggest
- Factorio — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
- Latest build
- 1.0.2, released 2022-05-04
Recent builds
| Build | Released | Game versions | Loaders |
|---|---|---|---|
| 1.0.2 | 2022-05-04 | 1.1 | n/a |
| 1.0.1 | 2022-05-04 | 1.1 | n/a |
| 1.0.0 | 2022-05-04 | 1.1 | n/a |
Dependencies
- Required: Factorio Library
Declared by the newest build that lists any. Required ones are installed with it on one-click installs.
Run on_research_queue_changed on a Factorio server
Pick a server or deploy a new one above; it is installed in one click.
What kind of mod it is
From the catalogQuality of life & UI
Small conveniences, tweaks and interface improvements players notice straight away.
Runs on your server
From source side supportFactorio Mod Portal lists on_research_queue_changed as required on the server. Check its Factorio Mod Portal page to see whether players need it too.
Compatibility
- Game
- Factorio
- Runs on
- Serverrequired on the server
Verified at the source
- ✓Factorio Mod PortalOfficial listing, checked 2026-10-09Open ↗
- ✓Authorixu, as published on Factorio Mod Portal
- ✓LicenseMITFree
