Hello everyone, I'm developing a Blueprint Repository and Build System for Factorio. As part of this tool, I'm making a Factorio mod that syncs an in-game blueprint inventory to a local filesystem repo, so the user can easily edit and develop blueprints/books while versioning/storing in a local git repo. It has some fairly complex change detection and syncing logic I'm pleased with. It's about 90% complete.
But I've run into an annoying hiccup I'm stuck on. I can't for the life of me figure out if there's any direct way to detect if the user has edited the description of a book or blueprint. There are no APIs for reading the description (only label), and none of the events seem to trigger for the book editing modal since it's not a custom GUI (side note, weirdly inconsistent that on_gui_clicked only works for custom guis, but on_gui_closed and on_gui_opened works for native guis).
If a user goes in and edits a book description I have no way of knowing in the mod that I can tell.
Of course I can resort to generating an export_stack and decoding once the book gui is closed but this really causes the interface/mod to slow down for large books since it has to export and decode the full nested tree of books. I tried this method and for a book like 10 Books of Rails and I end up with a 2-3 second delay every time I close one of the books or switch to another boo.
As a last resort I could add a button for the user to manually trigger change detection, but I was hoping to build a seamless editing/saving experience.
Anything I'm missing? Any other ideas?
Would love some API support from the devs to read/write blueprint/book descriptions, but not sure I can count on that happening anytime soon.
Any way to detect description changes? Hiccup in developing Blueprint Repository/Build System.
Place to get help with not working mods / modding interface.
-
- Manual Inserter
- Posts: 3
- Joined: Tue Aug 05, 2025 5:33 am
- Contact:
Jump to
- General
- ↳ Releases
- ↳ News
- ↳ General discussion
- ↳ Multiplayer
- ↳ Find Servers / Tools / Guides
- ↳ Show your Creations
- ↳ Videos
- ↳ Combinator Creations
- ↳ Mechanical Throughput Magic (circuit-free)
- ↳ Railway Setups
- ↳ Energy Production
- ↳ Medium/Big/Gigantic Sized Structures
- ↳ Fan Art
- ↳ Gameplay Help
- ↳ Spread the Word
- ↳ Off topic
- ↳ This Forum
- ↳ Celebration Party
- Support
- ↳ Gameplay Help
- ↳ Discover Factorio Wiki
- ↳ Discover Others Creations
- ↳ Discover Mods
- ↳ Discover Tools Around Factorio
- ↳ Technical Help
- ↳ Bug Reports
- ↳ Resolved for the next release
- ↳ Assigned
- ↳ Not a bug
- ↳ Pending
- ↳ 1 / 0 magic
- ↳ Duplicates
- ↳ Minor issues
- ↳ Desyncs with mods
- ↳ Won't fix.
- ↳ Resolved Problems and Bugs
- Factorio Direction
- ↳ Ideas and Suggestions
- ↳ Outdated/Not implemented
- ↳ Frequently Suggested / Link Collections
- ↳ Implemented Suggestions
- ↳ Development Proposals
- ↳ Balancing
- Contributions
- ↳ Mods
- ↳ Download mods
- ↳ Mod portal Discussion
- ↳ Mods
- ↳ Mod Packs / Libs / Special Interest
- ↳ 5dim's mod
- ↳ Angels Mods
- ↳ Atomic Power
- ↳ Bob's mods
- ↳ DyWorld
- ↳ F.A.R.L
- ↳ Fentus Challenge & Tool Mods
- ↳ Logistic Train Network
- ↳ MoMods
- ↳ Reika's Mods
- ↳ Resource Spawner Overhaul
- ↳ Yuoki Industries
- ↳ PyMods
- ↳ Questions, reviews and ratings
- ↳ Modding Discussions
- ↳ Modding discussion
- ↳ Modding help
- ↳ Ideas and Requests For Mods
- ↳ Modding interface requests
- ↳ Implemented mod requests
- ↳ Already exists
- ↳ Won't implement
- ↳ Documentation Improvement Requests
- ↳ Resolved Requests
- ↳ Development tools
- ↳ Tools
- ↳ Mod and installation managers
- ↳ Cheatsheets / Calculators / Viewers
- ↳ Development tools
- ↳ Special interest mods and libraries
- ↳ Modding Development
- ↳ Multiplayer / Dedicated Server
- ↳ Multiplayer Board
- ↳ Archive
- ↳ Maps and Scenarios
- ↳ Translations
- ↳ Texture Packs
- ↳ Fan Art
- ↳ Wiki Talk
- ↳ To be sorted
- ↳ Campaign / Scenario suggestions