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

Add City Repair settings to More Options screen #1386

Conversation

ayrtondenner
Copy link
Contributor

@ayrtondenner ayrtondenner commented Mar 24, 2024

This is a partial fix addressing #1319

  1. Add MaxTileRepair and SceneryRepairCostFactor settings and its values to Cityscape Options list
  2. Unifying identic logic instructions related to Battlescape Options and Cityscape Options

image

As you can see, this PR is just a partial fix since it does NOT allow the update of these settings values. But since this already adds a lot of updates, and since it seems that to complete this task it will be necessary to create a new form for numeric values - int and float - I decided to push this PR before doing any further work on this.

Obs.: I created lists to store settings name that are not bool, but either int or float. Please let me know if there's any better way to get these settings value instead.

@FilmBoy84
Copy link
Collaborator

Tested and changed values for visual feedback confirmation

All appears good, will merge this and leave #1319 open until a means to modify values is provided

image

@FilmBoy84 FilmBoy84 merged commit 37206e2 into OpenApoc:master Mar 31, 2024
3 checks passed
@ayrtondenner ayrtondenner deleted the add-city-repair-to-more-options-settings-screen branch April 13, 2024 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants