dotg

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

commit fbb4090a34602bcd45831df1f262b4eaf8ad24c8
parent 6aa16475f6d29760afb8f1a0f88e49f1d873ed7c
Author: parazyd <parazyd@dyne.org>
Date:   Fri, 23 Feb 2018 20:25:56 +0100

Add usage for the condom balloon.

Diffstat:
Aact-i/Balcony.sh | 12++++++++++++
Mact-i/functions | 4++++
Mact-i/talk-20h.sh | 10++++++++++
Mact-i/talk-gentoo.sh | 8+++++++-
Mact-i/talk-hipster.sh | 7+++++++
Mact-i/talk-nerds.sh | 4++++
Mact-i/usecases.csv | 2++
7 files changed, 46 insertions(+), 1 deletion(-)

diff --git a/act-i/Balcony.sh b/act-i/Balcony.sh @@ -0,0 +1,12 @@ +specific_balcony() { + item="$1" + + case "$item" in + Condom_balloon) + _msg "You use the balloon. A gust of wind makes it slip from your fingers. + + The balloon flies away." + rm -f "$inventory/$item" + ;; + esac +} diff --git a/act-i/functions b/act-i/functions @@ -213,6 +213,10 @@ use_specific() { . Hipster_Area.sh specific_talk_hipsterarea "$item" ;; + Balcony) + . Balcony.sh + specific_balcony "$item" + ;; Bedroom2) . Bedroom2.sh specific_bedroom2 "$item" diff --git a/act-i/talk-20h.sh b/act-i/talk-20h.sh @@ -31,6 +31,16 @@ specific_talk_20h() { mv "$inventory/$item" "$inventory/Condom_balloon" ;; + Condom_balloon) + _msg 'Your friend decorates the balloon with the mark of Satan. + + He says; "Here you go. You need Satan more than he needs you." + + You take the decorated balloon + ' + mv "$inventory/$item" "$inventory/Decorated_condom_balloon" + ;; + White_Lighter) _msg "Your friend asks for the red lighter." ;; diff --git a/act-i/talk-gentoo.sh b/act-i/talk-gentoo.sh @@ -2,7 +2,7 @@ specific_talk_gentoo() { item="$1" if [ -f "$hipsters/obese/.takingashit" ]; then - msg "The yoghurt did not bode well for the spaniard. He's in the toilet." + _msg "The yoghurt did not bode well for the spaniard. He's in the toilet." return fi @@ -65,5 +65,11 @@ specific_talk_gentoo() { Developing_NodeJS) _msg '"Man, nodejs sucks, man." - He says while gasping.' ;; + + Condom_balloon) + _msg "You show the condom balloon to the spaniard. He breaks it with his hands + and tucks the remaining latex away in his underwear." + rm -f "$inventory/$item" + ;; esac } diff --git a/act-i/talk-hipster.sh b/act-i/talk-hipster.sh @@ -26,5 +26,12 @@ specific_talk_hipster() { You're shocked." ;; + + Condom_balloon) + _msg "You repeatedly hit the Macbook hipster on the head with the balloon. + + The hipster pops it and continues to work on his WebGL portfolio." + rm -f "$inventory/$item" + ;; esac } diff --git a/act-i/talk-nerds.sh b/act-i/talk-nerds.sh @@ -57,6 +57,10 @@ specific_talk_nerds() { (Developer note: this is actually a good book, unrelated to the context it is presented in-game. Read it ;)" ;; + Condom_balloon) + _msg "The nerds break your balloon." + rm -f "$inventory/$item" + ;; esac fi # !nerdsmoved } diff --git a/act-i/usecases.csv b/act-i/usecases.csv @@ -13,6 +13,8 @@ White_Lighter,talk-20h Locked_computer,talk-20h Keychain_with_a_key,Bedroom2,anywhere Used_condom,Toilet1,Toilet2,talk-20h +Condom_balloon,talk-20h,talk-hipster,talk-gentoo,talk-nerds,Kitchen,Balcony +Decorated_condom_balloon,Kitchen,talk-girls Plastic_bag,Balcony,Toilet1,Toilet2 Old_yoghurt,talk-gentoo Rolling_tobacco,anywhere