Kitchen.sh (480B)
1 specific_kitchen() { 2 item="$1" 3 4 case "$item" in 5 Smartphone) 6 _msg "You take a selfie with some hipsters." 7 ;; 8 9 Plate_of_Bolognese_Sauce) 10 _msg "You eat the $item" 11 rm -f "$inventory/$item" 12 ;; 13 14 Chocolate_Milks) 15 _msg "You spill a bottle of chocolate milk in the sink." 16 dropitem "$item" 17 ;; 18 19 Condom_balloon) 20 _msg "The Christians are shocked that you're using contraception" 21 _msg "They break your balloon." 22 rm -f "$inventory/$item" 23 ;; 24 esac 25 }