take.dcgi - dotg - Day Of The GrParazyd | |
git clone git://bitreich.org/dotg git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d… | |
Log | |
Files | |
Refs | |
Tags | |
--- | |
take.dcgi (986B) | |
--- | |
1 #!/bin/sh | |
2 | |
3 . ./config | |
4 . ./functions | |
5 | |
6 case "$(basename $2)" in | |
7 Plate_of_Bolognese_Sauce) | |
8 #rm -f "$toilet1/.notyet" | |
9 rm -f "$hipster/obese/.takingashit" | |
10 ;; | |
11 | |
12 Keychain_with_a_key) | |
13 if [ -f "$bedroom1/.notyet" ]; then | |
14 _msg '"Umm, that is not something you should be … | |
15 | |
16 The girls do not let you take the keys.' | |
17 | |
18 _msg "[1|Exit|$path/$(cat $savegame/room).dcgi|s… | |
19 return | |
20 fi | |
21 _msg "The girls smile at you and let you take it." | |
22 ;; | |
23 | |
24 Water|Vomit) | |
25 _msg "You use the plastic bag and fill it up with $(base… | |
26 [1|Exit|$path/$(cat $savegame/room).dcgi|server|… | |
27 mv "$inventory/Plastic_bag" "$inventory/Plastic_bag_of_$… | |
28 return | |
29 ;; | |
30 | |
31 shower|toilet) | |
32 _msg "The thing is built into the house. You don't manag… | |
33 _msg "[1|Exit|$path/$(cat $savegame/room).dcgi|server|po… | |
34 return | |
35 ;; | |
36 esac | |
37 | |
38 take_item "$2" | |
39 | |
40 cat <<EOM | |
41 | |
42 You took the $(basename $2). | |
43 | |
44 [1|Exit|$path/$(cat $savegame/room).dcgi|server|port] | |
45 EOM |