Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

isStructureAvailable(structure type[, player])

 

checks to see if a structure (specified by name, not constant) is available

checks that the player can build another structure of this type (ie. checks structure limits)

player param defaults to 'me' from 3.2 onwards