Sorry I've not been around much, had some ill health and operations recently but feeling a lot better now
I've been updating some docs on the wiki and noticed a few changes to the JS API constants in recent releases:
BEING_DEMOLISHED - this seems to have disappeared somewhere between 3.1 Beta 7..10. Without it, there's no way to know if a building is in the state of demolition (via it's structureObj.status property). If a building is being demolished and the truck gets destroyed, how would a script know to get another truck sent out to finish the demolition? This can cause further issues because structureIdle() could return 'true' for a building that's partially demolished (should a Laser Satellite be able to fire if the LASSAT building is partly demolished?). Can we bring this constant back?
PLAYER_DATA, RESEARCH_DATA - I noticed these two new constants in 3.1 Beta 11. I couldn't find any docs on them - anyone got details of what they are? Also, is PLAYER_DATA related to, or intended to deprecate, the global var 'playerData'? - found what these are, see comment below.


