Updated isApplicable to take into account danger.
Moved initialization of tile data to terrain generator.