Phobos icon indicating copy to clipboard operation
Phobos copied to clipboard

Implement open-topped building support and fix building self-attack issue

Open Metadorius opened this issue 2 months ago • 2 comments

  • Fixed OpenTopped to 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

Metadorius avatar Sep 28 '25 23:09 Metadorius

Nightly build for this pull request:

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.

github-actions[bot] avatar Sep 28 '25 23:09 github-actions[bot]

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.

TaranDahl avatar Nov 15 '25 13:11 TaranDahl