def map_sprinkler(self, sx, sy, watered_crop='<STR_LIT>', watered_field='<STR_LIT:_>', dry_field='<STR_LIT:U+0020>', dry_crop='<STR_LIT:x>'):
<EOL>maplist = [list(s) for s in self.maplist]<EOL>for y, row in enumerate(maplist):<EOL><INDENT>for x, cell in enumerate(row):<EOL><INDENT>if sprinkler_reaches_cell(x, y, sx, sy, self.r):<EOL><INDENT>if cell == '<STR_LIT:x>':<EOL><INDENT>cell = watered_crop<EOL><DEDENT>else:<EOL><INDENT>cell = watered_field<EOL><DEDENT><DEDENT>else:<EOL><INDENT>cell = dry_crop if cell == '<STR_LIT:x>' else dry_field<EOL><DEDENT>maplist[y][x] = cell<EOL><DEDENT><DEDENT>maplist[sy][sx] = '<STR_LIT:O>'  <EOL>return '<STR_LIT:\n>'.join(['<STR_LIT>'.join(row) for row in maplist])<EOL>
Return a version of the ASCII map showing reached crop cells.