Changing settings based on other settings (and their values)
-
- Long Handed Inserter
- Posts: 76
- Joined: Mon Jan 15, 2024 10:10 pm
- Contact:
Changing settings based on other settings (and their values)
I want to be able to change a setting based on the value of another setting, or at least disable+hide different settings based on the value of a setting, like a dropdown menu selected by another dropdown menu. This would be very useful, as it allows other mods to add other things to my mod which i am making, which enables different recipes based on a setting. I then use another setting to chose which of the new recipes to unlock in control.lua, which is all implemented in the library the mod creates (it also adds some examples)
Re: Changing settings based on other settings (and their values)
This is technically not possible. Settings defined based off the value of settings is the definition of an infinite loop. Every time it would run it could get a different result.
So sorry, but this can never be done.
So sorry, but this can never be done.
If you want to get ahold of me I'm almost always on Discord.