Introduction
Introduction Statistics Contact Development Disclaimer Help
More fixes for the British. - dotg - Day Of The GrParazyd
git clone git://bitreich.org/dotg git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d…
Log
Files
Refs
Tags
---
commit 539e72d05b1a7b5ec9d4f1a82e76281eaf6234a2
parent 6e4c5d0f380d7957187f23dbf8d70682600acf5e
Author: parazyd <[email protected]>
Date: Thu, 1 Mar 2018 20:46:37 +0100
More fixes for the British.
Diffstat:
M act-i/Bench.dcgi | 40 ++++++++++-------------------…
M act-i/Bench.sh | 20 ++++++++------------
2 files changed, 21 insertions(+), 39 deletions(-)
---
diff --git a/act-i/Bench.dcgi b/act-i/Bench.dcgi
@@ -10,7 +10,7 @@ map_bench
if [ ! -f "$inventory/.starttime" ]; then
date +%s > "$inventory/.starttime"
fi
-difftime=$(($(date +%s) - $(cat "$inventory/.starttime")))
+difftime=$(($(date +%s) - $(cat "$inventory/.starttime")))
cat <<EOM
## THE BENCH
@@ -45,45 +45,31 @@ EOM
case "$(($RANDOM % 7))" in
0)
- cat <<EOM
-You see a cat walking by, look into her eyes. She turns around.
-EOM
+ _msg "You see a cat walking by, look into her eyes. She turns …
;;
1)
- cat <<EOM
-A police car is driving by, asking you, if you saw some cat. You do
-not know French so you just say something in British English and the
-police turns around quickly.
-EOM
+ _msg "A police car is driving by, asking you, if you saw some …
+ not know French so you just say something in British E…
+ police turns around quickly."
;;
2)
- cat <<EOM
-Your Smartphone is playing the notification tone of the "Waaaazzzuup?"
-messenger.
-EOM
+ _msg 'Your Smartphone is playing the notification tone of the …
+ messenger.'
printf 1 > "$inventory/.newmessage"
;;
3)
- cat <<EOM
-Some drunk people walk by singing songs and smashing trash bins.
-You are scared.
-EOM
+ _msg "Some drunk people walk by singing songs and smashing tra…
+ You are scared."
;;
4)
- cat <<EOM
-Some people walk by talking and greeting you.
-EOM
+ _msg "Some people walk by talking and greeting you."
;;
5)
- cat <<EOM
-You hear moaning and some elve is hanging out of the window naked with
-someone behind her. You are missing out all the fun.
-EOM
+ _msg "You hear moaning and some elf is hanging out of the wind…
+ someone behind her. You are missing out all the fun."
;;
*)
- cat <<EOM
-Nothing happened.
-EOM
+ _msg "Nothing happened."
;;
esac
diff --git a/act-i/Bench.sh b/act-i/Bench.sh
@@ -5,17 +5,16 @@ specific_bench() {
Smartphone)
if [ -f "$inventory/.newmessage" ];
then
- _msg "Your friend texted you: »Here is
- something for you.« He attached a music."
+ _msg "Your friend texted you:
+ »Here is something for you.«
+ He attached a music file:"
parapluutje
_msg "A small package with a parachute is slow…
- landing next to you. You open it."
+ landing next to you. You open it."
- ritem="$(printf
- "Beers\nChocolate_Milks\nBlack_dildo\nGoogle_A…
- | shuf | head -n 1)"
+ ritem="$(printf "Beers\nChocolate_Milks\nBlack…
_msg "Your friend sent you $ritem. You are
thankful in the cold."
@@ -33,8 +32,7 @@ specific_bench() {
;;
Black_dildo)
- _msg "You wonder what the people at the party are
- doing."
+ _msg "You wonder what the people at the party are doin…
;;
Google_Ad_coupons)
@@ -42,8 +40,7 @@ specific_bench() {
;;
Developing_NodeJS)
- _msg "You make a nice fire from this book. This is
- heartwarming."
+ _msg "You make a nice fire from this book. This is hea…
;;
Also_sprach_Zarathustra)
@@ -63,8 +60,7 @@ specific_bench() {
;;
The_C_Programming_Language)
- _msg "You write some patches for your friend's software
- and commit them."
+ _msg "You write some patches for your friend's softwar…
;;
To_Kill_a_Mockingbird)
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.