~alienagain/lost_coordinates

886c6de51842ca35e041ee03748611da17d9806e — terceranexus6 10 months ago e801a66
I added a new scenary to get the radio, adn something is not working in the scenario selection, but I'm tired af, that's the problem of my future self
4 files changed, 136 insertions(+), 10 deletions(-)

M MYDATA/PAULA/BACKPACK
M MYDATA/PAULA/SAVING_CARTRIDGE_PAULA
A MYDATA/PAULA/mysterious_words
M game.sh
M MYDATA/PAULA/BACKPACK => MYDATA/PAULA/BACKPACK +2 -0
@@ 8,3 8,5 @@ Clothes
Camera

black device
radio
radio

M MYDATA/PAULA/SAVING_CARTRIDGE_PAULA => MYDATA/PAULA/SAVING_CARTRIDGE_PAULA +1 -1
@@ 1,1 1,1 @@
episode7
episode6

A MYDATA/PAULA/mysterious_words => MYDATA/PAULA/mysterious_words +10 -0
@@ 0,0 1,10 @@
Haya
hayad
Afra
investigaciones
sensores
lab
Shaas
plantas
exhilio
hayad

M game.sh => game.sh +123 -9
@@ 98,7 98,7 @@ change_place(){
			#debug_this "I enter here"

				if [ "$CHOICE1" == $current ]; then
					clean
					clear
					echo -e "$SPACE"
					echo -e "$SPA_c Oops! you are already there, try again.\n"



@@ 115,7 115,7 @@ change_place(){

				#debug_this "you are currently in $current and are about to choose going to $CHOICE1"
				elif [ "$dont_go_here" == "yes" ]; then
					clean 
					clear 
					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"


@@ 244,7 244,7 @@ episode1(){
	#SPA_C=$1

	echo -e "${white}"
	echo -e "$SPA_C Some researchers claimed the so called left abandoned Generalife moon wasn't\n$SPA_C as abandoned as it was believed to be. It was difficult to believe, taking into account\n$SPA_C the scarce resources and capricious storms. Living there must be a challenge, to say\n$SPA_C the least."
	echo -e "$SPA_C Some researchers claimed the so called left abandoned Afra moon wasn't\n$SPA_C as abandoned as it was believed to be. It was difficult to believe, taking into account\n$SPA_C the scarce resources and capricious storms. Living there must be a challenge, to say\n$SPA_C the least."
	
	echo -e "\n\n$SPA_C This gives you shivers.\n\n"
	echo -e "$SPA_C Are you into calmness, or into adventure?${NC} ${blue}you ask yourself"


@@ 263,7 263,7 @@ episode1(){
		elif [ "$PERSONALITY" = "2" ]; then
			clear
			echo -e "$SPACE"
			echo -e "$SPA_C Therefore, regardless if the tattle about Generalife Moon communities is real or not, this\n$SPA_C seems like a nice opportunity to discover something new."
			echo -e "$SPA_C Therefore, regardless if the tattle about Afra Moon communities is real or not, this\n$SPA_C seems like a nice opportunity to discover something new."
			go_on="yes"
		else 
			clear


@@ 310,7 310,7 @@ episode2(){
	echo -e "$NAME\n$PERSONALITY" > CHARACTER_DETAILS

	echo -e "$SPA_C Of course you didn't go there with the hands empty. You have some ${yellow}coordinates${NC} and\n$SPA_C ${yellow}notes${NC} that were handed by you by the previous researchers. Although everything seems"
	echo -e "$SPA_C confusing, they swear for all the Ancients and the Non-Tes they didn’t go to Generalife,\n$SPA_C and the origin of their notes is not quoted. The documentation is fairly clear, but... Is it all"
	echo -e "$SPA_C confusing, they swear for all the Ancients and the Non-Tes they didn’t go to Afra,\n$SPA_C and the origin of their notes is not quoted. The documentation is fairly clear, but... Is it all"
	echo -e "$SPA_C speculations? For a linguist like you, lerning the origins of the sources is as relevant as a \n$SPA_C dictionary. The very same thing is different from one context to another. This also happens\n$SPA_C when it comes to tech. Anyhoo! not your problem. You were asked to take a look and recover\n$SPA_C as much documentation as possible.\n\n$SPA_C The rest is up to you."
	continue_ 



@@ 620,7 620,7 @@ episode6(){
		clear
		echo -e "$SPACE"

		echo -e "$SPA_C According to your notes, days are shorter in Generalife. Nevertheless, you "
		echo -e "$SPA_C According to your notes, days are shorter in Afra. Nevertheless, you "
		echo -e "$SPA_C feel as tired as a regular 20-hours day, so you decide to make a tent to rest "
		echo -e "$SPA_C a bit. After choosing a strategic spot dafe from wind and avalanches, you set "
		echo -e "$SPA_C up the tent and unfold the sleeping bag. It's surprisingly comfy, although it's "


@@ 695,7 695,7 @@ episode7(){
	clear
	echo -e "$SPACE"
	echo -e "$SPA_C This is episode7!"
		continue_
	continue_

	#debug_this "COOR is $COOR"



@@ 947,8 947,122 @@ SCENARY_C(){
	clear
	echo -e "$SPACE"
	echo -e "$SPA_C ${bli_blue}[MAP: LOADING POSITION...ARRIVED AT DESTINATION]${NC}\n\n"
	#C
	echo "TODO"
	echo -e "$SPA_C While you are arriving in the selected location you realize the surroundings seems less "
	echo -e "$SPA_C chaotic and easier to cross. This is strange, since the weather is almost the same. Maybe "
	echo -e "$SPA_C a bit less cooler, there's not snow anymore, but it's not that different. You are wondering "
	echo -e "$SPA_C about this, looking around when suddenly, there it is. A cabin made of dirty transparent "
	echo -e "$SPA_C wood, alongside which seemed to be another cabin, but destroyed. "
	continue_

	echo -e "$SPA_C You stop in front of the transparent-wood one. The cabin doesn't look like yours. You try to "
	echo -e "$SPA_C look on the inside from where you are, but it's way too dirty to see clearly."
	continue_

	echo -e "$SPA_C Carefully you open the door, which offers no resistance. it creaks a bit before letting you in. The "
	echo -e "$SPA_C whole place is filled with different sort of plants, of various sizes and  colors. They seems to have "
	echo -e "$SPA_C gone wild while alone in there for a long time. It's like a tiny forest, which is weird in place like that. "
	echo -e "$SPA_C You look around amazed and suddenly your shoulder hits something mechanical, you instinctly try "
	echo -e "$SPA_C to grab this unkown thing, but instead of falling in the floor it seems to unfold itself, it's been there "
	echo -e "$SPA_C for a long time because some dust also populated the air after the unfolding. It seems to be a laptop, "
	echo -e "$SPA_C you've seen one of those back in your planet: it has a e-paper screen and a keyboard, but it doesn't "
	echo -e "$SPA_C seems to be working anymore. Although sometimes the e-paper screen keeps showing some ghost words" 
	echo -e "$SPA_C when it's been broken."
	continue_

	echo -e "$SPA_C You try to understand some of those ghost words, they seem to be  written in one of the languages "
	echo -e "$SPA_C commonly used in your planet. there are a couple of layers colliding in the same broken screen, which "
	echo -e "$SPA_C makes it more difficult to understand, but you think you can get  the following results:"
	continue_

	echo -e "$SPA_C from the first layer:\n"
	echo -e "$SPA_C Haya"
	echo "Haya" > mysterious_words 
	echo -e "$SPA_C hayad"
	echo "hayad" >> mysterious_words
	echo -e "$SPA_C Afra"
	echo "Afra" >> mysterious_words
	echo -e "$SPA_C investigaciones"
	echo "investigaciones" >> mysterious_words
	echo -e "$SPA_C sensores"
	echo "sensores" >> mysterious_words
	echo -e "$SPA_C lab\n\n"
	echo "lab" >> mysterious_words
	echo -e "$SPA_C from the second layer:\n"
	echo -e "$SPA_C Shaas"
	echo "Shaas" >> mysterious_words
	echo -e "$SPA_C plantas"
	echo "plantas" >> mysterious_words
	echo -e "$SPA_C exhilio"
	echo "exhilio" >> mysterious_words
	echo -e "$SPA_C hayad"
	echo "hayad" >> mysterious_words

	continue_

	echo -e "$SPA_C Apart from Afra, these meant nothing to you. Well, you know that investigaciones means "
	echo -e "$SPA_C researchings, sensores is sensors, plantas is plants and exhilio is exile. But you don't make "
	echo -e "$SPA_C any sense of all.  Just in case  you note them down in the notebook. "

	echo -e "\n\n$SPA_C ${yellow} The words have been noted down in a page called mysterious_words in your notebook${NC}"
	continue_

	echo -e "$SPA_C You take some time to look at the plants, some of them look familiar, but changed. Probably the "
	echo -e "$SPA_C soil and conditions of Afra affected their natural growth. After a while you realize you've been "
	echo -e "$SPA_C listening to a faint melody, like something muffled. You wonder if there's some sort of abandoned "
	echo -e "$SPA_C device over there and start looking around. When you walk away the cabin the melody is even more "
	echo -e "$SPA_C muffled so you slowly go back trying to trace the source of the sound. It seems to be... buried? You "
	echo -e "$SPA_C don't want to bury around because the plants seems to have created a home out of the place, so "
	echo -e "$SPA_C you try to listen where is exactly buried to avoid making a mess of their place, but whenever you come "
	echo -e "$SPA_C close to in the dirt, there's the melody as well. You are there, skeeling in the ground, looking at a "
	echo -e "$SPA_C bunch of flowers with a puzzled face. What's going on? How is the music everywhere in the dirt? "

	continue_

	echo -e "$SPA_C It's starting to feel eerie so you stand up and go search around in the rests of the destroyed cabin. "
	echo -e "$SPA_C Everything seems to be lost. There were broken sand and solar batteries over there, your guess is it's "
	echo -e "$SPA_C an abandoned researching cabin, like yours but destroyed by a storm or something like that. You dig "
	echo -e "$SPA_C around the rests and a bleeping led grabs your attention. It's all dirty, like the laptop, but it looks like "
	echo -e "$SPA_C it's working. You inspect the device, it looks like a regular radio but nothing is being received. After "
	echo -e "$SPA_C inspecting it better you realize the led is alongside a button which says <<TRANSMITTING>>. "
	continue_

	echo -e "$SPA_C What is it transmitting? Maybe you can try to investigate in which frequency is later. Do you take it "
	echo -e "$SPA_C with you?\n\n"

	echo -e "$SPA_C 1 - YES\n$SPA_C 2 - NO\n\n"
	echo -e "${bli_blue}"
			read -p"$SPA_C YOUR ANSWER > " TAKETHERADIO
	echo -e "${NC}"

	keep_going="no"

	while [ "$keep_going" == "no" ]; do

		#debug_this "radio is $TAKETHERADIO"

		if [ "$TAKETHERADIO" == "1" ]; then
			echo "radio" >> BACKPACK
			echo -e "$SPA_C you take the radio and put it in your backback"
			continue_
			keep_going="yes"
		elif [ "$TAKETHERADIO" == "2" ]; then
			echo -e "$SPA_C you don't pick up the radio. Who know what is transmitting?\n$SPA_C better leave it alone."
			continue_
			keep_going=yes
		else
			clean 
			echo -e "$SPACE"
			echo -e "$SPA_C What again?" 
			echo -e "$SPA_C Do you take the radio with you?\n\n"

			echo -e "$SPA_C 1 - YES\n$SPA_C 2 - NO\n\n"
			echo -e "${bli_blue}"
					read -p"$SPA_C YOUR ANSWER > " TAKETHERADIO
			echo -e "${NC}"
		fi

	done

}

SCENARY_D(){