Default House AI Repair Logic #302
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds a new key to houses used by WAE, which denotes whether future buildings they place have the "AI Repairable" flag automatically set or not.
This key is set to
trueorfalsewhen mappers use the "Enable/Disable Building Repair" buttons, respectively. New text is also added to show it, both in the confirmation message and also in the house statistics.This is useful since in most cases, mappers that use the Enable Building Repair typically want to make sure all structures for that house (typically used by AI) are automatically repaired, but currently it only applies to current structures, not future structures.
Automatically saves and loads as a key from/to the map for each house via INI reading/writing logic.