M MYDATA/PAULA/BACKPACK => MYDATA/PAULA/BACKPACK +1 -2
@@ 8,5 8,4 @@ Clothes
Camera
black device
-radio
-radio
+radio device
M MYDATA/PAULA/SAVING_CARTRIDGE_PAULA => MYDATA/PAULA/SAVING_CARTRIDGE_PAULA +1 -1
@@ 1,1 1,1 @@
-episode6
+episode7
M MYDATA/PAULA/chosen_maps => MYDATA/PAULA/chosen_maps +1 -1
@@ 1,1 1,1 @@
-MAP_A
+MAP_B
M game.sh => game.sh +4 -1
@@ 659,6 659,7 @@ episode6(){
change_place
#debug_this "new coor is $COOR"
+ COOR=$(cat chosen_maps)
if [ "$COOR" == "MAP_A" ]; then
SCENARY_A
@@ 759,6 760,8 @@ SCENARY_B(){
fi
done < BACKPACK
+ debug_this "the radio is $have_the_radio"
+
# if you do, you could have thought of using it in the past or not
if [ "$have_the_radio" == "yes" ]; then
echo -e "$SPA_C But you might be able to do something, just in case."
@@ 1041,7 1044,7 @@ SCENARY_C(){
#debug_this "radio is $TAKETHERADIO"
if [ "$TAKETHERADIO" == "1" ]; then
- echo "radio" >> BACKPACK
+ echo "radio device" >> BACKPACK
echo -e "$SPA_C you take the radio and put it in your backback"
continue_
keep_going="yes"
A issues.md => issues.md +13 -0
@@ 0,0 1,13 @@
+#ISSUES
+
+##01 - the radio choices in SCENARY B are broken.
+
+It shows both options in `if [ "$line3" == "MAP_A" ]; then`, this is because you are using an IF ELSE in a file that allow several inputs. So both conditions might happen. Rethink this mess.
+
+
+##02 - the scenary selector always says at first choice "choose another"
+I'm ot sure why, it should only show this when map_A already happened and you pick it.
+
+
+
+