Enhance FlagStationMinigame and scenario structure

- Added functionality to complete tasks via the objectives manager in FlagStationMinigame, improving gameplay interaction.
- Updated scenario.json.erb to replace flags_submitted with specific SSH and privilege flag submissions, enhancing clarity in task objectives.
- Introduced new task types in the scenario schema to support task completion mechanics, ensuring better integration of gameplay elements.
This commit is contained in:
Z. Cliffe Schreuders
2025-12-04 08:40:25 +00:00
parent 289c0ce1c7
commit e1d3b1ff2c
3 changed files with 35 additions and 9 deletions

View File

@@ -383,11 +383,12 @@
"properties": {
"type": {
"type": "string",
"enum": ["give_item", "unlock_door", "emit_event", "reveal_secret"]
"enum": ["give_item", "unlock_door", "emit_event", "reveal_secret", "complete_task"]
},
"item_name": { "type": "string" },
"target_room": { "type": "string" },
"event_name": { "type": "string" },
"taskId": { "type": "string" },
"description": { "type": "string" }
}
}