kitchen-sink.dcgi (724B)
1 #!/bin/sh 2 3 . config 4 echo kitchen-sink > $savegame/room 5 . functions 6 . maps 7 8 map_kitchen 9 10 cat <<EOM 11 ## KITCHEN (KIT) 12 13 You are at the kitchen sink. 14 EOM 15 16 if [ -f "$hipsters/obese/.inkitchensink" ]; then 17 _msg "You see the obese spaniard taking a shit in the kitchen sink. 18 A rat won't be able to exit here." 19 else 20 if ! [ -f "$kitchen/sink/.notyet" ]; then 21 _msg "You see a rat disappear into the sink drain!" 22 printf 1 > "$inventory/.sawratinsink" 23 fi 24 25 if [ -f "$inventory/.sawratinsink" ]; then 26 _msg "You have to catch this rat you saw." 27 fi 28 29 _msg "In the sink you see:" 30 list_items_to take "$kitchen/sink" 31 fi 32 33 cat <<EOM 34 35 [1|Check inventory|$path/inventory.dcgi|server|port] 36 37 [1|Exit|$path/Kitchen.dcgi|server|port] 38 EOM