I checked the API docs on cargo-bay, and noticed that it is declared that space age is required to use this, but in attempting to figure out exactly what feature flag needs to be defined to make a standalone cargo-bay mod, I noticed that Factorio with no mods whatsoever enabled, just fired right up, blissfully loading the cargo-bay mod I had created, without complaining about a missing feature flag.
What I had expected was to be told that I needed the Space travel feature flag to use this prototype, since the cargo-bay is related to space travel.
Cargo-bay prototype definable without space age
Re: Cargo-bay prototype definable without space age
Can you please post a mod showing this? Because when I test - it gives an error as expected.
If you want to get ahold of me I'm almost always on Discord.
Re: Cargo-bay prototype definable without space age
Tested on Factorio 2.0.63, and confirmed that the prototype for cargo-bay specifically was declared.
Also tested the mod against an explicit build that does NOT allow space age features, and I can still load the cargo-bay mod.
(Most of this is just the cargo-bay and all related calls taken from the space-age mod.)
(Also, this is not the first time something that was supposed to require space age for some reason does not.)
Also tested the mod against an explicit build that does NOT allow space age features, and I can still load the cargo-bay mod.
(Most of this is just the cargo-bay and all related calls taken from the space-age mod.)
(Also, this is not the first time something that was supposed to require space age for some reason does not.)
- Attachments
-
- factorio-current_no_space_age.log
- Factorio 2.0.60 base game build
- (7.06 KiB) Downloaded 6 times
-
- factorio-current.log
- Factorio 2.0.63 space age build
- (6.7 KiB) Downloaded 13 times
-
- cargo-bay_2.0.28.zip
- (6.35 MiB) Downloaded 14 times
Re: Cargo-bay prototype definable without space age
Fascinating. In debug, release, and final-release locally it gives the correct error. In the steam version and the zip off the website it does not.
If you want to get ahold of me I'm almost always on Discord.
Re: Cargo-bay prototype definable without space age
It looks like this is caused by a bug with the compiler version we're using for releases. I implemented a work-around until we can update the compiler and verify it's working correctly with the newer version.
If you want to get ahold of me I'm almost always on Discord.