Selene: Lunar Exploitation


Explore and exploit Nauvis's closest neighbour, its moon Selene. Mine new metals, transform your use of solar energy and unlock powerful new technologies.

Content
9 days ago
2.0 - 2.1
316
Planets Combat Armor Environment Mining Fluids Logistic network Manufacturing Power Storage

b Startup error with Planet Muluna: oxygen fluid temperature range (15-15)

a month ago

Hi, thanks for making Selene, I'm really enjoying it!

I ran into a startup error when Selene 1.0.2 is used together with Planet Muluna (2.9.6) on Factorio 2.1.24:

Error while running setup for recipe prototype "atmosphere-oxygen-separation" (recipe):
Recipe product 'oxygen' has invalid temperature: 25. Outside fluid temperature range: 15-15.
Cause, as far as I can tell: Selene's prototypes/fluid.lua defines the oxygen fluid with default_temperature = 15 and no max_temperature, so the valid range becomes 15-15. Since other mods also use a shared oxygen fluid (Muria defines it as 0-200), Selene's definition replaces theirs, and Muluna's atmosphere-oxygen-separation recipe, which outputs oxygen at 25°C, then fails validation.

A possible fix would be to only define oxygen if it doesn't already exist, or to give it a wider range, e.g. max_temperature = 100.

For now I'm working around it locally by widening the range in data-final-fixes. Thanks again for your work!

a month ago

Glad to hear you're enjoying it!

You're right about the error and the fix - I hadn't realised not specifying a max temperature would result in the allowed range being so restrictive. Oxygen gas now has a higher max temp and the crash is fixed in this latest version. Thanks for your help!

New response