Select new contents for blueprint with parameterized formula referencing an 'ingredient of' parameter will not maintain static value.
The issue I found is that if the stack size (or likely any variable) in a formula points to a parameter, say [P1] that is also marked as an ingredient of another parameter, say [P0], then when re-selecting contents it will run the formula as if the stack size is 1, setting the placed object to the formula result instead of maintaining the static value. Thus, the reconfigured blueprint loses the entire entry for said parameters because the numerical value changed. This can be avoided by setting the static value to the predicted result of the formula, but likely this seems to be a bug as placing the unconfigured blueprint should maintain the static values (as it does when not pointed to an ingredient).
As per my example, the final three parameters filled in with 777, 666, 555 will paste the formula instead of said static value. Each formula references the stack size of P1, which is marked as an ingredient of P0. Thus, the formula runs as if stack size is 1, outputting as such:
((p1_s)*cr*12)-((p1_s)*80) = 496
((p1_s)*cr*12)-((p1_s)*(80*2)) = 416
(p1_s)*80 = 80
Simply removing P1's "ingredient of:" field will run the expected result, the pasted blueprint will maintain the 777/666/555 values and can be reconfigured with select new contents properly.
If a player wants to paste such a blueprint without setting the parameters to modify it and then reselect new contents, the expected result would be to paste only the static value in parameter field and not run any formulas referencing undefined parameters so that players can easily modify blueprints as such without having to fill the static value as the formula result.
[Kovarex] [2.0.23] BP parameter formula 'ingredient of' parameter pastes formula instead of static value.
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