Page 1 of 1

[Rsding91] [2.0.28] Factoriopedia - exclusive recipes wrong

Posted: Wed Jan 01, 2025 3:35 am
by Muche
Currently, recipes metallic/carbonic/oxide asteroid crushing/reprocessing and thruster fuel/oxidizer are exlusive to space platform.
Their definitions are (abridged to relevant stuff; note: crushings/reprocessings are limited via crusher's conditions, not recipe conditions):

Code: Select all

{
  type = "assembling-machine",
  name = "crusher",
  surface_conditions = { { property = "gravity", min = 0, max = 0 } },
}
{
  type = "recipe",
  name = "thruster-fuel", 
  surface_conditions = { { property = "gravity", min = 0, max = 0 } },
}
{
  type = "recipe",
  name = "thruster-oxidizer", 
  surface_conditions = { { property = "gravity", min = 0, max = 0 } },
}
Consider the following updates:

Code: Select all

data.raw["assembling-machine"]["crusher"].surface_conditions = { { property = "gravity", min = 0, max = 8 } }
data.raw["recipe"]["thruster-fuel"].surface_conditions = { { property = "gravity", min = 0, max = 8 } }
data.raw["recipe"]["thruster-oxidizer"].surface_conditions = { { property = "pressure", min = 0, max = 300 } }
Expected result: crushings/reprocessings and fuel are available on platform and Fulgora, oxidizer on platform and Aquilo.
Actual result: Fulgora claims exclusivity on crushings/reprocessings and fuel, Aquilo on oxidizer (recipes are still correctly available to be crafted on platform).
Factoriopedia-ZeroSurfaceCondition-ExclusiveRecipes.jpg
Factoriopedia-ZeroSurfaceCondition-ExclusiveRecipes.jpg (67.84 KiB) Viewed 976 times

Compare with:

Code: Select all

data.raw["assembling-machine"]["crusher"].surface_conditions = { { property = "gravity", min = 8, max = 10 } }
data.raw["recipe"]["thruster-fuel"].surface_conditions = { { property = "gravity", min = 8, max = 10 } }
data.raw["recipe"]["thruster-oxidizer"].surface_conditions = { { property = "pressure", min = 300, max = 800 } }
Expected and actual result: crushings/reprocessings and fuel are available on Fulgora and Nauvis, oxidizer on Aquilo and Fulgora, no-one is claiming exclusivity on these recipes.

Re: [Rsding91] [2.0.28] Factoriopedia - exclusive recipes wrong

Posted: Thu Jan 02, 2025 7:10 pm
by Rseding91
Thanks for the report. This is now fixed for the next release.

Re: [Rsding91] [2.0.28] Factoriopedia - exclusive recipes wrong

Posted: Tue Jan 07, 2025 9:06 am
by Xeridanus
I think I'm misunderstanding something here. Why would you want those recipes to be available and exclusive on those planets? It makes sense they're exclusive to Space Platforms and not planets. You can't barrel fuel or oxidiser so you can't make them planet side and unbarrel on the platform. You can't build thrusters or crushers on any planet so you can't actually use these recipes at all. What is actually broken here?

Re: [Rsding91] [2.0.28] Factoriopedia - exclusive recipes wrong

Posted: Tue Jan 07, 2025 9:20 am
by Rseding91
I believe the examples were just examples to show that “it’s not exclusive to a planet or platform, but it says it is”

Re: [Rsding91] [2.0.28] Factoriopedia - exclusive recipes wrong

Posted: Tue Jan 07, 2025 3:27 pm
by Muche
Indeed.
I was checking out Cerys mod, noted some recipes had that behaviour, then examined it and simplified it down.
(Chunk recipes were included as examples of recipes limited via crafting machine, fuel as a directly limited recipe, oxidizer to show invariance on planets and surface conditions.)