Wire the first-shift tutorial into gameplay
Add the non-blocking prompt card, safe compliant visitor, action-driven advancement through the real wheel/inspection/warning/radio panels, persisted completion/skip, a Settings replay action and localized tutorial strings. Scripted tests/captures bypass the tutorial unless --tutorial is passed. Add a windowed smoke covering the full flow. Headless 237/237, Python 94/94, tutorial smoke passes.
This commit is contained in:
1 parent
76eb5e3a79
commit
86332cd401
12 files changed
+392
-15
No files matched your search
@@ -11,42 +11,50 @@ signal completed(skipped: bool)
|
||||
const BEATS := [
|
||||
{
|
||||
"id": "arrive",
|
||||
"prompt_key": "tutorial.arrive",
|
||||
"prompt": "Walk forward and look around. The entrance is behind you.",
|
||||
"event": "moved",
|
||||
},
|
||||
{
|
||||
"id": "focus",
|
||||
"prompt_key": "tutorial.focus",
|
||||
"prompt": "Look at the visitor. Press Tab or the mouse wheel to cycle targets.",
|
||||
"event": "cycled",
|
||||
},
|
||||
{
|
||||
"id": "wheel",
|
||||
"prompt_key": "tutorial.wheel",
|
||||
"prompt": "Open the action wheel with Space or left click.",
|
||||
"event": "wheel_opened",
|
||||
},
|
||||
{
|
||||
"id": "inspect",
|
||||
"prompt_key": "tutorial.inspect",
|
||||
"prompt": "Choose Inspect and read the access evidence.",
|
||||
"event": "inspected",
|
||||
},
|
||||
{
|
||||
"id": "direction",
|
||||
"prompt_key": "tutorial.direction",
|
||||
"prompt": "Close the panel and give a polite direction.",
|
||||
"event": "polite_direction",
|
||||
},
|
||||
{
|
||||
"id": "warning",
|
||||
"prompt_key": "tutorial.warning",
|
||||
"prompt": "Give a formal warning if the visitor persists. It arms the body camera.",
|
||||
"event": "formal_warning",
|
||||
"alternate_event": "body_camera",
|
||||
},
|
||||
{
|
||||
"id": "radio",
|
||||
"prompt_key": "tutorial.radio",
|
||||
"prompt": "Open the assistance radio and submit a short report.",
|
||||
"event": "radio_submitted",
|
||||
},
|
||||
{
|
||||
"id": "review",
|
||||
"prompt_key": "tutorial.review",
|
||||
"prompt": "Finish the shift and review what happened.",
|
||||
"event": "review_opened",
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user