tWork_Desk.sh - dotg - a bitreich fosdem adventure
HTML git clone https://git.parazyd.org/dotg
DIR Log
DIR Files
DIR Refs
---
tWork_Desk.sh (352B)
---
1 specific_workdesk() {
2 item="$1"
3
4 case "$item" in
5 Smashed_Macbook|Unlocked_Macbook)
6 if [ -f "$workdesk/Locked_computer" ]; then
7 _msg "You swap the locked computer with the $item."
8 mv "$workdesk/Locked_computer" "$inventory"
9 else
10 _msg "You place the $item on the work desk."
11 fi
12 mv "$inventory/$item" "$workdesk"
13 ;;
14 esac
15 }