Files
BreakEscape/docs/password-minigame-example.json

162 lines
4.3 KiB
JSON

{
"name": "Password Minigame Example",
"description": "Example scenario showing how to use the password minigame",
"rooms": {
"office": {
"id": "office",
"name": "Office",
"image": "room_office.png",
"map": "room_office.json",
"position": { "x": 0, "y": 0 },
"connections": []
}
},
"objects": [
{
"id": "secure_door",
"name": "Secure Door",
"type": "door",
"room": "office",
"x": 400,
"y": 300,
"image": "door.png",
"lockType": "password",
"requires": "admin123",
"passwordHint": "The default administrator password",
"showHint": true,
"showKeyboard": false,
"maxAttempts": 3,
"locked": true,
"observations": "A secure door with a password keypad."
},
{
"id": "computer_terminal",
"name": "Computer Terminal",
"type": "computer",
"room": "office",
"x": 200,
"y": 200,
"image": "computer.png",
"lockType": "password",
"requires": "cyber2024",
"passwordHint": "Current year with cyber prefix",
"showHint": true,
"showKeyboard": true,
"maxAttempts": 5,
"postitNote": "Password: cyber2024",
"showPostit": true,
"locked": true,
"observations": "A computer terminal requiring password access."
},
{
"id": "safe_box",
"name": "Safe Box",
"type": "container",
"room": "office",
"x": 600,
"y": 400,
"image": "safe.png",
"lockType": "password",
"requires": "treasure",
"showHint": false,
"showKeyboard": true,
"maxAttempts": 2,
"locked": true,
"contents": [
{
"id": "secret_document",
"name": "Secret Document",
"type": "document",
"image": "document.png",
"takeable": true,
"observations": "A classified document containing sensitive information."
}
],
"observations": "A heavy safe box with a digital keypad."
},
{
"id": "office_computer",
"name": "Office Computer",
"type": "container",
"room": "office",
"x": 300,
"y": 300,
"image": "computer.png",
"lockType": "password",
"requires": "desktop123",
"showHint": false,
"showKeyboard": true,
"maxAttempts": 3,
"postitNote": "Password: desktop123",
"showPostit": true,
"locked": true,
"contents": [
{
"id": "project_files",
"name": "Project Files",
"type": "document",
"takeable": true,
"observations": "Important project documentation."
},
{
"id": "meeting_notes",
"name": "Meeting Notes",
"type": "notes",
"takeable": true,
"readable": true,
"text": "Meeting notes about the upcoming project deadline..."
},
{
"id": "encryption_key",
"name": "Encryption Key",
"type": "key",
"takeable": true,
"observations": "A digital encryption key file."
}
],
"observations": "An office computer with desktop access. Desktop mode will be automatically enabled. Password is on the sticky note!"
},
{
"id": "tablet_device",
"name": "Executive Tablet",
"type": "container",
"room": "office",
"x": 500,
"y": 200,
"image": "tablet.png",
"lockType": "password",
"requires": "tablet2024",
"showHint": false,
"showKeyboard": true,
"maxAttempts": 3,
"postitNote": "Tablet password: tablet2024",
"showPostit": true,
"locked": true,
"contents": [
{
"id": "executive_notes",
"name": "Executive Notes",
"type": "notes",
"takeable": true,
"readable": true,
"text": "Confidential executive meeting notes..."
},
{
"id": "financial_data",
"name": "Financial Data",
"type": "document",
"takeable": true,
"observations": "Sensitive financial information."
}
],
"observations": "An executive tablet device. Desktop mode will be automatically enabled. Password is written on the sticky note."
}
],
"victoryConditions": [
{
"type": "collect_item",
"itemId": "secret_document"
}
]
}