-
Notifications
You must be signed in to change notification settings - Fork 0
/
START_ESCAPE_ROOM
41 lines (29 loc) · 992 Bytes
/
START_ESCAPE_ROOM
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/bash
BOLD='\033[1m'
GREEN='\033[32m'
BLUE='\033[34m'
NC='\033[0m' # No Color
function text_to_uppercase(){
echo "$1" | tr '[:lower:]' '[:upper:]'
}
uppercase_text=$(text_to_uppercase "You have lost your memory, and this room helps you recover basic information about you")
welcome_title="----------------------------------------
${BOLD}${GREEN}Welcome to Escape Room Terminal${NC}
----------------------------------------
${BOLD}${BLUE}${uppercase_text}${NC}
${BOLD}STEP1${NC}
Create a folder at the same level as room1 and call it room2
${BOLD}STEP2${NC}
Create two empty files called GuessList.txt & First_Key.txt inside Room2 folder
${BOLD}STEP3${NC}
Get into the Room1 folder and run: ${BOLD} bash OPEN_SECOND_ROOM ${NC}
"
if [ ! -d "room1" ]; then
mkdir room1 &&
cp -r ./.game_sources-dont_open/.mc/.hammer . &&
mv room1/.hammer room1/OPEN_SECOND_ROOM &&
# chmod 777 room1 &&
echo -e "$welcome_title"
else
echo -e "$welcome_title"
fi