0

In screeps, I can see swamps using my browser window. However, I can find no way for my script to detect if the terrain is a swamp except for having my creeps walk around marking swamps they encounter as they go. Are there any other ways to detect swamps?