As reported by temple, some mirages were not properly taken into account in rP20875.
That is fixed, with in addition some anterior problems:
- Repairable properties were looked for in getEntityState, but never filled in the mirage component. This is added (although i'm not sure that's really useful)
- Repairable and Foundation info for mirage was transfered to the gui, but not displayed. This is added now. In both cases, it is the number of builders. As i said, i'm not sure we need it for repairable, but i think it is an important info for Foundations.
- There was a missing test on the return value of GetEntityState missing in unit_actions.js