26 lines
751 B
Bash
26 lines
751 B
Bash
#!/bin/bash
|
|
|
|
type_text() {
|
|
local text="$1"
|
|
local delay="$2"
|
|
local char
|
|
|
|
while IFS= read -r -n1 char; do
|
|
printf "%b" "$char"
|
|
sleep "$delay"
|
|
done <<< "$text"
|
|
|
|
printf "\n"
|
|
}
|
|
|
|
type_text "$(echo -e "\e[3m Du bist nun im Labyrinth der Daten gelandet und musst den Schlüssel finden. \e[0m")" 0.05
|
|
type_text "$(echo -e "\e[3m Du hast viele Objekte im Labyrinth kannst aber nicht genau sagen welche es ist. \e[0m")" 0.03
|
|
|
|
type_text "$(echo -e "\n")" 0.2
|
|
|
|
type_text "$(echo -e "\e[3m Woran du dich noch erinnerst ist: \e[0m")" 0.03
|
|
type_text "$(echo -e "\e[3m das Objekt ist 22bytes Schwer und Human Readable. \e[0m")" 0.03
|
|
|
|
type_text "$(echo -e "\n")" 0.2
|
|
|
|
type_text "$(echo -e "\033[3mAktuelles Level: 3\033[0m")" 0.02 |