2020-11-13 11:36:05 +01:00
|
|
|
title = No sleep required
|
2021-01-11 19:16:35 +01:00
|
|
|
cards = file-new file-delete file-rename
|
2020-11-13 11:36:05 +01:00
|
|
|
|
|
|
|
[description]
|
|
|
|
|
2021-01-11 19:16:35 +01:00
|
|
|
Actually, you decide that you don't need any sleep.
|
2020-11-13 11:36:05 +01:00
|
|
|
|
2021-01-11 19:16:35 +01:00
|
|
|
Because of that, you won't require a bed, and can build some other piece of furniture from the wood!
|
2020-11-13 11:36:05 +01:00
|
|
|
|
|
|
|
|
|
|
|
[setup]
|
|
|
|
|
|
|
|
echo A yellow cupboard with lots of drawers. > cupboard
|
|
|
|
echo A really big yellow shelf. > shelf
|
|
|
|
echo A comfortable, yellow bed with yellow cushions. > bed
|
|
|
|
|
|
|
|
[win]
|
|
|
|
|
2021-01-11 19:16:35 +01:00
|
|
|
# Rename the bed into something else, and give it a new description!
|
|
|
|
NUM_FILES="$(ls | wc -l)"
|
|
|
|
! test -f bed && test "$NUM_FILES" -ge 3 && ! grep -r "yellow bed" .
|
2020-11-13 11:36:05 +01:00
|
|
|
|
|
|
|
[congrats]
|
|
|
|
|
|
|
|
Neat! It even still looks a bit comfortable!
|
2021-01-11 19:16:35 +01:00
|
|
|
|
|
|
|
You head out, eager for your first lesson at time travel school!
|