I have a problem. This code doesn't work:
Code: Select all
AddSetting({name = "maintain", description = "Maintain existing shuttle services every ... days", min_value = -1, max_value = 9999,easy_value = -1, medium_value = -1, hard_value = -1, custom_value = -1, flags = 0|AICONFIG_INGAME});
AddLabels("maintain", {_-1="decide automatic",_0="never"});
I don't know how to add a Label to a negative number. I tried with adding spaces but I wasn't successful.
If I remove " _-1="decide automatic" " it works, but it would be very nice if I could avoid one additional option for the automatic maintainance interval.
I plan a new AI-Project and I already see, that I will need to use a lot of options to interact with it. So place in preference menu is very valuble.

Maybe someone had tried this too and can help me.