From 492563c00631a51db9597b6a6fb080380b47e72e Mon Sep 17 00:00:00 2001 From: jonathanbordes <119431732+jonathanbordes@users.noreply.github.com> Date: Mon, 5 Feb 2024 11:11:21 +0100 Subject: [PATCH] Update white.sh --- adventure/rooms/white.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/adventure/rooms/white.sh b/adventure/rooms/white.sh index 30c4063f..203a2d17 100755 --- a/adventure/rooms/white.sh +++ b/adventure/rooms/white.sh @@ -52,11 +52,16 @@ while true; do xdg-open "https://www.youtube.com/embed/Yk-WRXKysXM" ;; u ) leverstate=`cat ../logic/leverlogic.ben` + leverstate2=`cat ../logic/leverlogic2.ben` if [ "$leverstate" = "on" ]; then ./kroo.sh exit else + if [ "$leverstate2" = "on" ]; then + .kroo3.sh + else echo "Vous cherchez une ouverture... Pas la moindre. Impossible d'entrer sans commettre une effraction..." + fi fi ;; * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";;