dotg

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

Bedroom1.dcgi (397B)


      1 #!/bin/sh
      2 
      3 . config
      4 echo Bedroom1 > $savegame/room
      5 . functions
      6 . maps
      7 
      8 map_bedroom1
      9 
     10 cat <<EOM
     11 ## BEDROOM 1 (R1)
     12 
     13 You are in a small bedroom.
     14 
     15 You see a bed, closet, and a chair.
     16 
     17 EOM
     18 
     19 [ -f "$bedroom1/.notyet" ] || {
     20 	list_items_to take "$bedroom1" "foo"
     21 }
     22 
     23 cat <<EOM
     24 
     25 [1|Look into the closet|$path/r1-closet.dcgi|server|port]
     26 
     27 [1|Check inventory|$path/inventory.dcgi|server|port]
     28 EOM
     29 
     30 navigation