-
Notifications
You must be signed in to change notification settings - Fork 0
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
Config option for evacuating hospital #25
Comments
What about changing it to a percentage of the current visitors? |
Yeah a percentage could work, I'll have a play with it and see if I can get a decent balance. How does one go about adding a config option these days? |
Look at config_finder.lua They are in two parts, there is a list of all the options and then each one has its own section further down. |
Had a thought about this too, the above would set a default config for the game that the player could change if they wanted (if the can find the config file). At what point will the inspector evacuate your hospital. This percentage of all the patients or more |
I have added two config variables
Testing would be appreciated. Note, this will only work for new games, no saves! Typically RepLossMinimum is less than EvacMinimum or will be ignored - the hospital will be evacuated anyway. If the total infected is less than both these variables but still > 0 i.e someone is still infected then just a fine will be applied with no reputation loss. This fits in with the fine strings from the original. This should give users flexibility about exactly when rep loss and evacuations are happening. |
Not seeing any change to the config file, did you add them to config finder? |
I did not put them in the config finder just added new config values to base_config.lua is this incorrect? |
If you look at the commits I have been making you can see where it's changed. |
If you have added them to base config that means there is no real option for the player to change the values unless they edit the lua file. |
Yes map maker, for all config values for epidemics I think we should only let the map maker change them then they can tweak the difficulty for potential players. Having it in the main config doesn't really make sense. |
Okay, I'll update my epidemics map - the one I sent you - with these at some point and that way map makers can refer to it when creating their own. |
Currently the hospital will be evacuated when more than 10 patients are still infected. Perhaps we should make this a variable in the config if people want to make the epidemic easier or harder.
The value 10 I just made up as it sounded reasonable.
The text was updated successfully, but these errors were encountered: