mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-08 11:30:12 +08:00
improve quests
This commit is contained in:
1 parent
f657f633b4
commit
d64a4ae81d
4 files changed
+74
-18
No files matched your search
@@ -12,9 +12,9 @@ stages:
|
||||
task: 輸入 `echo help` 來朗誦咒語
|
||||
condition:
|
||||
pwd:
|
||||
- '^/home/commander$'
|
||||
- ^/home/commander$
|
||||
command:
|
||||
- echo [Hh]elp
|
||||
- ^echo [Hh]elp$
|
||||
responses:
|
||||
- type: narrative
|
||||
content:
|
||||
@@ -39,9 +39,9 @@ stages:
|
||||
- help
|
||||
condition:
|
||||
pwd:
|
||||
- '^/home/commander$'
|
||||
- ^/home/commander$
|
||||
command:
|
||||
- ls
|
||||
- ^ls$
|
||||
responses:
|
||||
- type: narrative
|
||||
content:
|
||||
@@ -65,9 +65,9 @@ stages:
|
||||
- find-scroll
|
||||
condition:
|
||||
pwd:
|
||||
- '^/home/commander$'
|
||||
- ^/home/commander$
|
||||
command:
|
||||
- cat forgotten_scroll.txt
|
||||
- ^cat forgotten_scroll.txt$
|
||||
responses:
|
||||
- type: dialogue
|
||||
speaker: Unix 精靈
|
||||
@@ -83,9 +83,9 @@ stages:
|
||||
- read-forgotten-scroll
|
||||
condition:
|
||||
pwd:
|
||||
- '^/home/commander$'
|
||||
- ^/home/commander$
|
||||
command:
|
||||
- echo [Hh]ello\s*[Ww]orld
|
||||
- ^echo [Hh]ello\s*[Ww]orld$
|
||||
responses:
|
||||
- type: narrative
|
||||
content:
|
||||
|
||||
Reference in new issue
Block a user