The mod sends the research state of a force (researched technologies,
levels, current research, progress and queue) whenever research changes,
and every minute for the progress. events-server-web keeps the latest state
and serves it at /kafkatorio/data/servers/{id}/research.
The web map has a research page (/servers/{id}/research, linked from the
header), with:
- progress, the current research and the queue
- the science packs needed for everything that's left
- every technology, filterable by status, science pack and name, with its
cost (including levelled technologies' count formulas)
- details: the total cost to reach a technology, its prerequisites, what it
leads to and what it unlocks
The technology tree comes from export_building_icons.py, which now also
exports technologies.json, items.json and technology/science pack icons.
Kafka deleted data older than 7 days, but the building, resource and
research views are rebuilt by reading their topics from the beginning, so
buildings disappeared after a restart. These topics are now kept forever.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>