Repository navigation
YAFC Support for Factorio 2.1 - #186
Closed
SpikesDivZero wants to merge 1 commit into
Closed
SpikesDivZero wants to merge 1 commit into
SpikesDivZero wants to merge 1 commit into
Conversation
Require now only loads the source once across the entire data lifecycle, and returns the cached result on subsequent calls. This means that, for instance, the old _G.yafc_turd_integration approach no longer works. Depends-On: pyanodon/pyalienlife#629 Refs: pyanodon/pybugreports#1576
SpikesDivZero
commented
Sep 18, 2026
| data.raw["assembling-machine"]["bioport"].fixed_recipe = nil | ||
|
|
||
| Biofluid = {} | ||
| require "__pyalienlife__/scripts/biofluid/biofluid-prototypes" |
Author
There was a problem hiding this comment.
I think this is safe to remove completely. biofluid-prototypes seems to define favorite_foods and taco_bell as being near-constant, and I didn't see anything in the core py mod suite that looked like it significantly modified those vars outside that file.
Contributor
There was a problem hiding this comment.
The handling for this needs to be completely different, the data setup is separate from biofluid-prototypes now. Just removing it isn't the right solution
Contributor
|
Using #196 instead, thank you for the PR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Require now only loads the source once across the entire data lifecycle, and returns the cached result on subsequent calls. This means that, for instance, the old _G.yafc_turd_integration approach no longer works.
Depends-On: pyanodon/pyalienlife#629
Refs: pyanodon/pybugreports#1576