tBedroom2.dcgi - dotg - a bitreich fosdem adventure HTML git clone https://git.parazyd.org/dotg DIR Log DIR Files DIR Refs --- tBedroom2.dcgi (530B) --- 1 #!/bin/sh 2 3 . config 4 echo Bedroom2 > $savegame/room 5 . functions 6 . maps 7 8 gotkey="yes" 9 [ -f "$bedroom2/.notyet" ] && gotkey="no" 10 11 case "$gotkey" in 12 yes) map_bedroom2_unlocked ;; 13 *) map_bedroom2_locked ;; 14 esac 15 16 _msg "## BEDROOM 2 (R2)" 17 18 case "$gotkey" in 19 yes) 20 _msg "You are in a small bedroom. 21 22 You see a bed, closet, and a chair." 23 24 list_items_to take "$bedroom2" 25 ;; 26 *) 27 _msg "You can not open the bedroom door. It seems it's locked." 28 ;; 29 esac 30 31 _msg "[1|Check inventory|$path/inventory.dcgi|server|port]" 32 33 navigation