Phobos
Phobos copied to clipboard
Implement open-topped building support and fix building self-attack issue
- Fixed
OpenToppedto work with buildings. - Fixed buildings giving an order to attack self when unloading (manifested with opentopped buildings and garrisons leaving buildings sometimes).
TODO: need to move UpdateTypeData_Foot thing related to OpenTopped to generic UpdateTypeData
Nightly build for this pull request:
- compiled-dll-1123127c5fe82cce4a2e52b8bf4715af2862c4a6.zip These artifacts will expire in 90 days and will not be available for download after that time.
This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.
There are many buildings using the occupant logic. It would be very troublesome to modify them one by one to OpenTopped.
It would be best to have a global switch, such as ReplaceOccupiableAsOpenTopped, to batch replace it on LoadFromINI.