Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

override recipes? #71

Open
rayanth opened this issue Oct 9, 2023 · 1 comment
Open

override recipes? #71

rayanth opened this issue Oct 9, 2023 · 1 comment

Comments

@rayanth
Copy link

rayanth commented Oct 9, 2023

is it possible to override a recipe? with both my SE and SE-K2 mod sets, I've noticed that the recipe for Satellite Telemetry says it produces 0 Satellite telemetry... I'm figuring this is 'special code' in the game rather than a proper recipe, thus leading to Foreman thinking it produces 0, but it ultimately means it's a lot harder to work out the flow for the related science packs.
image

If I could simply override the recipe to say it creates 100 telemetry, it'd make this part of planning much less of a headache, but I can't find a way to do that.

@DanielKote
Copy link
Owner

There is a way to override the recipe (by either editing the .pjson file or adding a separate .json file with the 'changes' you want to add to the preset). Unfortunately in this case it wont help you - the issue is actually due to a bug in the software:

Factorio has (at the time of making the launch result code) limited the amount of items you can receive back to a single stack, but allowed you to send multiple items to get more (ex: sending 1 space sci pack results in 1 fish; sending 100 results in 100; sending 200 results in 100 (stack size limit). In order to 'optimize' the recipe you want to send as much of the 'input' item to get as much of the 'output' per rocket while not wasting the input (so recipe will default to 100 space sci packs + 100 rocket parts -> 100 fish instead of the 1 pack + 100 parts -> 1 fish).

The bug I made was that if the launch products are set higher than a single stack (ex: telemetry data of 200 when it stacks to 50), it will 'optimize' to 0 items sent, which will also set the results to 0*200 = 0.

I am currently on a business trip and thus unable to work on this. Once I get back I will fix up the bug (and read up on the rest of the issues that have accumulated) and see if I cant push the next version of foreman out by some time next week (say - oct 18th?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants