Hi devs!
Most importantly: Grand job on .15, you guys really delivered quite a thing there!
Now, some suggestions of a few things I feel are missing in the API.
1. LuaGameScript::read_blueprint_string(string, overwrite) → LuaItemStack
Reads the specified string, creates an item stack and puts it on the cursor. If the cursor is not empty and overwrite is not set, returns nil.
2. LuaItemStack::write_blueprint_string() → string
Returns the string that defines this blueprint.
3. Create a new static class LuaBlueprintLibrary
4. LuaBlueprintLibrary::get_libraries() → array of string
Returns the names of all libraries available to the player. (Basically the persistant storage, the game storage and the other player's storages)
5. LuaBlueprintLibrary::get_children(library) → array of LuaBlueprintLibraryEntry
Returns a list of all top-level entries in the specified library.
6. LuaBlueprintLibraryEntry::get_children() → array of LuaBlueprintLibraryEntry
Returns a list of children within this entry.
7. LuaBlueprintLibraryEntry::get_name() → string
Returns the name of this entry.
8. LuaBlueprintLibraryEntry::get_blueprint_icons() → array of Icon
Returns the icons of this entry.
9. LuaBlueprintLibraryEntry::get_type() → string
Returns either "blueprint" or "blueprint_book".
10. LuaBlueprintLibraryEntry::get_blueprint(overwrite) → LuaItemStack
Puts the blueprint on the cursor. If the cursor is not empty and overwrite is not set, returns nil.
You get the gist of it. The according setters of course also would be needed.
So, why do I think those things are needed?
Well, while the blueprint library in my eyes is the best addition to the game up to now, its interface lacks. Greatly.
It's like someone told me instead of the detailed view in my operation systems explorer I now have to use the tile view with the biggest icon size possible.
I don't tell you to change the interface of the in-game library, because there is nothing like "the one best interface that everyone likes".
But with the aformentioned additions to the library, it would enable us to "wrap" the functionality of the blueprint library and all its nice features in a functional interface.
Thanks for reading!
Cheers =)
Multiple suggestions concerning blueprints
Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Return to “Modding interface requests”
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
- ↳ Implemented in 2.0
- ↳ 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