dotg

a bitreich fosdem adventure
git clone git://parazyd.org/dotg.git
Log | Files | Refs

commit 23e936286f92c346e58b05bd6b73fcb2d5423a1e
parent ea1701e2419f2dd22a460f7b0b399b587aadf0ff
Author: parazyd <parazyd@dyne.org>
Date:   Sat, 24 Feb 2018 01:35:36 +0100

Plug both showers with dildos.

Diffstat:
Mact-i/Toilet2.sh | 10++++++++++
Mact-i/config | 1+
Mact-i/kitchen-sink.sh | 3++-
Mact-i/t1-shower.dcgi | 15++++++++++-----
Tact-i/t2-shower.dcgi | 0
Mact-i/usecases.csv | 2+-
6 files changed, 24 insertions(+), 7 deletions(-)

diff --git a/act-i/Toilet2.sh b/act-i/Toilet2.sh @@ -12,5 +12,15 @@ specific_toilet2() { Smartphone) _msg "You make a dick pic using the smartphone camera." ;; + + Black_dildo) + _msg "You stick the black dildo in the shower drain, + rendering it shut." + mv "$inventory/$item" "$toilet2/shower" + if [ -f "$kitchen/sink/Cheese" ]; then + _msg "You hear a strange noise coming from the NeXT machine." + rm -f "$inventory/.notyet" + fi + ;; esac } diff --git a/act-i/config b/act-i/config @@ -69,6 +69,7 @@ printf 1 > "$toilet1/shower/.notyet" printf 1 > "$toilet2/toilet/Water" printf 1 > "$toilet2/shower/Plastic_bag" +printf 1 > "$toilet2/shower/.notyet" printf 1 > "$toilet2/Cocaine" printf 1 > "$nextbox/Terminal" diff --git a/act-i/kitchen-sink.sh b/act-i/kitchen-sink.sh @@ -4,7 +4,8 @@ specific_talk_kitchensink() { Cheese) _msg "You place the cheese in the kitchen sink." mv "$inventory/$item" "$kitchen/sink" - if [ -f "$toilert1/shower/Black_dildo" ]; then + if [ -f "$toilet1/shower/Black_dildo" ] && \ + [ -f "$toilet2/shower/Black_dildo" ]; then _msg "You hear a strange noise coming from the NeXT machine." rm -f "$inventory/.notyet" fi diff --git a/act-i/t1-shower.dcgi b/act-i/t1-shower.dcgi @@ -3,18 +3,23 @@ . config . functions -if [ -f "$toilet1/shower/.notyet" ]; then - if [ -f "$toilet1/shower/Black_dildo" ]; then +case "$(basename -s .dcgi $0)" in + t1-shower) place="$toilet1/shower" ;; + t2-shower) place="$toilet2/shower" ;; +esac + +if [ -f "$place/.notyet" ]; then + if [ -f "$place/Black_dildo" ]; then _msg "You see a" - list_items_to take "$toilet1/shower" + list_items_to take "$place" _msg "stuck into the shower drain." else _msg "You find nothing in the shower." fi else - if [ -f "$toilet1/shower/Black_dildo" ]; then + if [ -f "$place/Black_dildo" ]; then _msg "You see a" - list_items_to take "$toilet1/shower" + list_items_to take "$place/shower" _msg "stuck into the shower drain." else _msg "You see a lab rat run into the shower drain and disappear!" diff --git a/act-i/t2-shower.dcgi b/act-i/t2-shower.dcgi diff --git a/act-i/usecases.csv b/act-i/usecases.csv @@ -5,7 +5,7 @@ Smartphone,Kitchen,Bedroom1,talk-20h,Toilet2,talk-host Plate_of_Bolognese_Sauce,talk-20h,Kitchen,Hipster_Area,Toilet1,Toilet2,talk-gentoo Beers,talk-girls,talk-nerds,talk-20h,talk-gentoo,anywhere Chocolate_Milks,talk-gentoo,talk-nerds,Kitchen,talk-20h -Black_dildo,Toilet1,Balcony,Bedroom1,Bedroom2,talk-girls,talk-20h,talk-hipster +Black_dildo,Toilet1,Toilet2,Balcony,Bedroom1,Bedroom2,talk-girls,talk-20h,talk-hipster Red_Lighter,talk-20h White_Lighter,talk-20h Locked_computer,talk-20h