dotg

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

Bedroom2.sh (587B)


      1 specific_bedroom2() {
      2 	item="$1"
      3 
      4 	case "$item" in
      5 		Keychain_with_a_key)
      6 			_msg "You unlock the bedroom door. The key snaps and breaks, blocking the keyhole."
      7 			rm "$inventory/$item"
      8 			rm "$bedroom2/.notyet"
      9 			;;
     10 		Black_dildo)
     11 			if [ -f "$bedroom2/.notyet" ]; then
     12 				_msg "You hit the door with the $item repeatedly, but nothing happens."
     13 			else
     14 				if [ -f "$bedroom2/Unlocked_Macbook" ]; then
     15 					_msg "You smash the Macbook with the dildo."
     16 					mv "$bedroom2/Unlocked_Macbook" "$bedroom2/Smashed_Macbook"
     17 				else
     18 					_msg "You lick the $item"
     19 				fi
     20 			fi
     21 			;;
     22 	esac
     23 }