~alienagain/lost_coordinates

e801a66b084db4c2c36e25094a95a0fbb5ca73b1 — terceranexus6 10 months ago de03d5a
fixing the same as before
3 files changed, 33 insertions(+), 10 deletions(-)

M MYDATA/PAULA/been_there_done_that
M MYDATA/PAULA/chosen_maps
M game.sh
M MYDATA/PAULA/been_there_done_that => MYDATA/PAULA/been_there_done_that +1 -0
@@ 1,1 1,2 @@
MAP_A
MAP_B

M MYDATA/PAULA/chosen_maps => MYDATA/PAULA/chosen_maps +1 -1
@@ 1,1 1,1 @@
MAP_B
MAP_A

M game.sh => game.sh +31 -9
@@ 68,8 68,13 @@ change_place(){
	current="$current2"
	#debug_this "current is $current"
	new_coor=""
	dont_go_here="no"


	while read -r line2; do
		if [ "$line2" == "MAP_B" ]; then
			dont_go_here="yes"
		fi
	done < been_there_done_that

	#try_again="yes"



@@ 96,18 101,34 @@ change_place(){
					clean
					echo -e "$SPACE"
					echo -e "$SPA_c Oops! you are already there, try again.\n"

					while read -r line; do
					echo -e "$SPA_C $line"
				done < NOTES_AND_COORDINATES
						echo -e "$SPA_C $line"
					done < NOTES_AND_COORDINATES

				echo -e "$SPA_C Which are the coordinates you want to go?"
				echo -e "$SPA_C Select among: A, B, C, D"
					echo -e "$SPA_C Which are the coordinates you want to go?"
					echo -e "$SPA_C Select among: A, B, C, D"

				echo -e "${bli_blue}"
					read -p"$SPA_C YOUR ANSWER > " CHOICE1
				echo -e "${NC}"
					echo -e "${bli_blue}"
						read -p"$SPA_C YOUR ANSWER > " CHOICE1
					echo -e "${NC}"

				#debug_this "you are currently in $current and are about to choose going to $CHOICE1"
				elif [ "$dont_go_here" == "yes" ]; then
					clean 
					echo -e "$SPACE"
					echo -e "There's nothing else to see there, you made very sure of it! Maybe choose another place:\n\n"
					dont_go_here="no"
					while read -r line; do
						echo -e "$SPA_C $line"
					done < NOTES_AND_COORDINATES

					echo -e "$SPA_C Which are the coordinates you want to go?"
					echo -e "$SPA_C Select among: A, B, C, D"

					echo -e "${bli_blue}"
						read -p"$SPA_C YOUR ANSWER > " CHOICE1
					echo -e "${NC}"

				else
					if [ "$CHOICE1" = "A" ]; then


@@ 913,9 934,10 @@ SCENARY_A(){

	else

		echo -e "$SPA_C There's nothing else here to check.\n\n"
		echo -e "$SPA_C There's nothing else here to check in this area, you made sure of that.\n\n"
		continue_


	fi