[2.0.47] feature-flag space_travel_required without tile prototype empty-space-tile doesn't offer to disable the mod

Bugs that are actually features.
User avatar
CaitSith2
Inserter
Inserter
Posts: 24
Joined: Wed Nov 10, 2021 8:09 pm
Contact:

[2.0.47] feature-flag space_travel_required without tile prototype empty-space-tile doesn't offer to disable the mod

Post by CaitSith2 »

What did you do?
Create a mod to have to have the mech-suit without needing to have space_age required.
Mod has feature flag "space_travel_required": true defined in info.json as required in order to enable flying armor.
No "empty-space" tile was defined, as I was unaware that this was required for the "space_travel_required" feature flag.

What happened?

Game pops up an error box 'tile prototype "empty-space" (tile) is missing.', and clicking OK immediately closes the game.


What did you expect to happen instead? It might be obvious to you, but do it anyway!

For the game to list the error, show all mods that have feature_flag "space_travel_required" to be shown, giving context as to the error, and to offer to disable the listed mods.


Does it happen always, once, or sometimes?

Always.


----

Ideally, flying armor should have its own feature flag rather than be lumped in with the "space_travel_required" feature flag.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15670
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.47] feature-flag space_travel_required without tile prototype empty-space-tile doesn't offer to disable the mod

Post by Rseding91 »

Thanks for the report however this is outside of what the mods startup error GUI was designed to handle.
If you want to get ahold of me I'm almost always on Discord.
User avatar
CaitSith2
Inserter
Inserter
Posts: 24
Joined: Wed Nov 10, 2021 8:09 pm
Contact:

Re: [2.0.47] feature-flag space_travel_required without tile prototype empty-space-tile doesn't offer to disable the mod

Post by CaitSith2 »

That feels inconsistent with everything else that triggers you to disable the mods that cause errors, instead of outright closing the game and leaving you to figure out exactly what mod caused the error on your own, if for example, somebody were to publish something to the mod portal blindly, and someone else downloads the mod.
Post Reply

Return to “Not a bug”