I can make petrol from steel (recipe.select problem)

Bugs that are actually features.
Guinness2702
Burner Inserter
Burner Inserter
Posts: 5
Joined: Mon Jul 25, 2016 10:09 am
Contact:

I can make petrol from steel (recipe.select problem)

Post by Guinness2702 »

I am able to make bottled petroleum gas from steel, instead of from empty bottle and petroleum.

I think I know the problem.

bobplates 0.14.0 creates a recipe named "petroleum-gas-canister", meanwhile, marathon (1.1.5) does a Recipe.select on "gas-canister" and updates the ingredients to be steel x 3. Note that in the game, 3 steel is what is required to make a full petrol canister. I suspect that the Recipe.select is matching any recipe name containing the search string, rather than matching all of it.

I can't figure out exactly what game version I'm running, but it's 14.x via stream, so it should be the latest 14.x

Hopefully this is enough information to reproduce the problem, but there's a bit more in the reddit thread I posted: https://www.reddit.com/r/factorio/comme ... o_produce/
posila
Factorio Staff
Factorio Staff
Posts: 5440
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: I can make petrol from steel (recipe.select problem)

Post by posila »

Hi, thanks for the report.
There is no Recipe.select() in our API. It must be some helper metatable used by a mod (or mods).
Post Reply

Return to “Not a bug”