mirror of
https://github.com/cliffe/BreakEscape.git
synced 2026-02-20 13:50:46 +00:00
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:
@@ -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" }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user