Krastorio 2 Spaced Out


Overhaul merging Krastorio 2 with Space Age.

Overhaul
2 months ago
2.0
40.9K
Factorio: Space Age Icon Space Age Mod
Transportation Logistics Trains Combat Mining Fluids Logistic network Manufacturing Power Storage

i Compatibility for cooling tech card recipes

2 months ago

I am changing one of my mods to integrate better with k2so. When I change my mod's research pack to be like a tech card, the recipe generation in generate-tech-card-cooling.lua tries to modify my mod's recipe and it produces a lua error. The lua error is because it reads the icon field, whereas my research pack uses the icons field instead.

I don't want the cooling recipe for my research pack. I suggest for the recipe generation to skip any recipe that does not have 5 blank tech card inputs and 5 of the expected item outputs. This way, it would skip my recipe.

2 months ago

Hello,
Have you considered using kr-research-data category instead, it is craftable in research servers, but cooled recipe won't generate for it.

2 months ago

Thank you, that works.

a month ago

Was this the Particle Physics pack?
I'm getting this error now and this is the only reference I've found to it.

Failed to load mods: ...-out__/prototypes/updates/generate-tech-card-cooling.lua:14: attempt to index local 'science_pack' (a nil value)
stack traceback:
...-out__/prototypes/updates/generate-tech-card-cooling.lua:14: in main chunk
[C]: in function 'require'
Krastorio2-spaced-out/data-updates.lua:43: in main chunk

a month ago

Yes, this was for Particle Physics. I updated my mod shortly after that. The latest release works with Krastorio2-spaced-out, so I don't think Particle Physics is involved in the error you're asking about.

a month ago

Thanks. Yeah its being caused by an update that's incompatible with current now

New response