Super Farm

by plexpt

🍎🍊🍇 add new delightful fruits, new fruit processing machines, vegetables, animal products, baking, wine making, restaurants, agricultural expansions, trade systems, decorative items, energy sources, technology branches, creatures, and events.

Overhaul
4 months ago
2.0
3.90K
Factorio: Space Age Icon Space Age Mod
Environment Mining Fluids Manufacturing Power

b Restaurant Science Pack probably not registered correctly

2 months ago
(updated 2 months ago)

Hi

I ran into a problem with Igrys and your mod; Igrys iterates over all science packs and needs them in data.raw["lab"] inputs as well as data.raw["tool"] (which all of the science packs of other mods I used are - only restaurant science pack is in data.raw["lab"] inputs only and not in data.raw["tool"]).

I believe that is bvecause you add the pack to the labs as input here https://github.com/factorio-plexpt/fruit/blob/90ff9406a9f814a24e4ab9b2e4c1e56f586b9db3/data-updates.lua#L4 which occurs in data_updates, but you add the tool here https://github.com/factorio-plexpt/fruit/blob/90ff9406a9f814a24e4ab9b2e4c1e56f586b9db3/data/orders.lua#L77 in orders which is called in data_fixes stage https://github.com/factorio-plexpt/fruit/blob/90ff9406a9f814a24e4ab9b2e4c1e56f586b9db3/data-final-fixes.lua#L1.

I think that's why when Igrys tries to process the pack it's not consistently in the data arrays, I think the tool should probably be added in an earlier stage, maybe data_updates (I don't know).

Is there a way you can fix this? Thank you!

Edit: see here https://mods.factorio.com/mod/Igrys/discussion/687a2e8b86d9b798df20c19e

a month ago

I dont have time recently

a month ago
(updated a month ago)

Yeah same crash cause here as well, science pack seems created in the wrong stage, should be created in the data stage.

New response