mirror of
https://github.com/cliffe/BreakEscape.git
synced 2026-02-20 13:50:46 +00:00
- Move scenarios from app/assets/scenarios/ to scenarios/ - Update Mission model to use BreakEscape::Engine.root instead of Rails.root - Update seeds.rb to use engine root for scenario discovery - Update tests to use engine root for path assertions This ensures scenarios are found correctly in both mounted (Hacktivity) and standalone (test) environments. All 12 tests now passing with 19 assertions!
30 lines
912 B
Plaintext
30 lines
912 B
Plaintext
{
|
|
"scenario_brief": "Welcome to BreakEscape! You are a cyber investigator tasked with uncovering evidence of corporate espionage. Anonymous tips suggest the CEO has been selling company secrets, but you need proof.",
|
|
"showTitleScreen": true,
|
|
"startRoom": "reception",
|
|
"startItemsInInventory": [
|
|
{
|
|
"type": "lockpick",
|
|
"name": "Lock Pick Kit",
|
|
"takeable": true,
|
|
"observations": "A professional lock picking kit with various picks and tension wrenches"
|
|
}
|
|
],
|
|
"rooms": {
|
|
"reception": {
|
|
"type": "room_reception",
|
|
"connections": {
|
|
"north": "office1"
|
|
},
|
|
"objects": []
|
|
},
|
|
"office1": {
|
|
"type": "room_office",
|
|
"connections": {
|
|
"south": "reception"
|
|
},
|
|
"objects": []
|
|
}
|
|
}
|
|
}
|