diff --git a/adventure/game_map.png b/adventure/game_map.png new file mode 100644 index 00000000..e0004253 Binary files /dev/null and b/adventure/game_map.png differ diff --git a/adventure/rooms/end.sh b/adventure/rooms/end.sh index 58b79da5..5a84c0bd 100755 --- a/adventure/rooms/end.sh +++ b/adventure/rooms/end.sh @@ -15,7 +15,7 @@ do done <"$file1" echo sleep 1 -echo "Voic la fin de cette petite aventure." +echo "Voici la fin de cette petite aventure." echo sleep 4 echo "Vous venez de visiter la forêt où s'est posé Astroport ONE." @@ -25,7 +25,7 @@ echo "Une oeuvre habitable. Un jardin sur sol vivant. Un progamme pair à pair i sleep 4 echo echo "Les terraformeurs" -echo "En quête de la meilleure façon de vivre sur le vaisseau spatal Terre..." +echo "En quête de la meilleure façon de vivre sur le vaisseau spatial Terre..." echo sleep 5 echo "Vous aussi ouvrez votre Ambassade." diff --git a/adventure/rooms/gameroom.sh b/adventure/rooms/gameroom.sh index ba851b14..c9734fe9 100755 --- a/adventure/rooms/gameroom.sh +++ b/adventure/rooms/gameroom.sh @@ -1,4 +1,8 @@ #!/bin/bash +MY_PATH="`dirname \"$0\"`" # relative +MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized +ME="${0##*/}" + clear # Initialise the Title Art file1="../art/titleart.ben" @@ -55,16 +59,22 @@ while true; do echo echo echo "____ Astroport déclenche à 20:12 la synchronisation de ses ambassades..." - echo "Rapport 2022 : /ipfs/QmUtGpGeMZvwp47ftqebVmoFWCmvroy5wEtWsKvWvDWJpR" + echo "Rapport 2022 : https://ipfs.asycn.io/ipfs/QmUtGpGeMZvwp47ftqebVmoFWCmvroy5wEtWsKvWvDWJpR" sleep 3 echo echo "ASTROPORT ONE" echo "VISA pour le vaisseau spatial TERRE." - read -p "Appuyez sur [ENTER] pour activer votre Station Astroport.ONE" - espeak "Astroport Command" > /dev/null 2>&1 - - ~/.zen/Astroport.ONE/command.sh + if [[ -d ~/.zen/Astroport.ONE ]]; then + read -p "Appuyez sur [ENTER] pour activer votre Station Astroport.ONE" + espeak "Astroport Command" > /dev/null 2>&1 + ~/.zen/Astroport.ONE/command.sh + else + espeak "Please Install Astroport" > /dev/null 2>&1 + echo "Install Astroport.ONE ..." + echo "bash <(wget -qO- https://raw.githubusercontent.com/papiche/Astroport.ONE/master/install.sh)" + ./end.sh + fi fi exit ;; diff --git a/adventure/rooms/start.sh b/adventure/rooms/start.sh index ebb3fb6a..39dd66bf 100755 --- a/adventure/rooms/start.sh +++ b/adventure/rooms/start.sh @@ -62,7 +62,7 @@ while true; do exit ;; w ) ./green.sh exit ;; - u ) echo "Vous ouvrez votre sac il contient une tente, des vêtements, un termos, une scie pliante et un couteau" ;; # Something to say? You can also just echo. + u ) echo "Vous ouvrez votre sac il contient une tente, des vêtements, un thermos, une scie pliante et un couteau" ;; # Something to say? You can also just echo. h ) echo "Comment avez-vous pu arriver ici.? Des souvenirs vous reviennent... https://web.archive.org/web/20211129105224/https://oasis.astroport.com/a-quel-jeu-voulons-nous-jouer/" ;; * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; esac