Scripted the main part of the trap map.