Missing constants in API Reference



  • I have found a few constants that are not in the API Reference.

    1. The room size (50x50).
    2. The types of terrain that you can get with the Room.lookAt() methods: swamp, wall, plain.

    I'm not sure if these are omitted from the docs, from the Game/global objects, or both.

    Cheers!



  • Some other constants that would be useful include:

    RANGE_FOR_BUILDING

    RANGE_FOR_REPAIRING

    RANGE_FOR_UPGRADING_CONTROLLER

    etc.



  • I think this is going to get more important once the open source server goes live and people can mod it 🙂 -- though more a feature request than a bug.

    Once it's properly Open Source, we can add this ourselves