#Harbor h=['harbor','ship','port','cove','bay'] if any(x in s for x in h): poi['icon']='icons/marker_ship.png' #Tower t=['tower'] if any(x in s for x in t): poi['icon']='icons/marker_tower.png' #Farm f=['farm','grove','homestead','collective','orchard','garden'] if any(x in s for x in f): poi['icon']='icons/marker_hoe.png' #Mine m=['mine','cave'] if any(x in s for x in m): poi['icon']='icons/marker_mine.png' #Village v=['village','town','city'] if any(x in s for x in v): poi['icon']='icons/marker_town.png' #Blacksmith b=['smith','forge'] if any(x in s for x in b): poi['icon']='icons/marker_anvil.png' #Factory y=['factory','refinery','mill'] if any(x in s for x in y): poi['icon']='icons/marker_factory.png'