Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openttd alter setting that don't have AICONFIG_INGAME set #5644

Closed
DorpsGek opened this issue Jul 11, 2013 · 1 comment
Closed

openttd alter setting that don't have AICONFIG_INGAME set #5644

DorpsGek opened this issue Jul 11, 2013 · 1 comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

krinn opened the ticket and wrote:

Change to openttd (i'm using still 1.3.0) to handle difficulty setting now bypass AICONFIG_INGAME (well when not present i mean) and author restriction to alter a setting in game.
Use any AI with that setting :

AddSetting({name = "fairlevel",

description = "Alter how the AI act with others",
min_value = 0,
max_value = 2,
easy_value = 0,
medium_value = 1,
hard_value = 2,
custom_value = 2,
flags = 0
});

Now change difficulty in openttd competitor setting (the AI profile for difficulty), even kept gray, the fairlevel now will display the state of the new difficulty you have pick.
So it disable the flags that is set to not allow to change that setting.

Reported version: 1.3.1
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/5644
@DorpsGek
Copy link
Member Author

Rubidium closed the ticket.

Reason for closing: Fixed

In r25592


This comment was imported from FlySpray: https://bugs.openttd.org/task/5644

@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) bug labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant