From 81f35998dcff72c55e052ec1ffbedfc38366fd34 Mon Sep 17 00:00:00 2001 From: Damian-I Date: Tue, 18 Feb 2025 15:19:02 +0000 Subject: [PATCH] Add tablet object to reception room and game scenario - Load tablet image asset - Add tablet object to reception room JSON - Include tablet with locked status and contents in game scenario - Add meeting notes and master key to tablet contents --- assets/rooms/room_reception.json | 12 ++++++++++++ assets/scenarios/ceo_exfil.json | 25 +++++++++++++++++++++++++ index.html | 1 + 3 files changed, 38 insertions(+) diff --git a/assets/rooms/room_reception.json b/assets/rooms/room_reception.json index 38d006c..3601459 100644 --- a/assets/rooms/room_reception.json +++ b/assets/rooms/room_reception.json @@ -222,6 +222,18 @@ "width":48, "x":236.666666666667, "y":168.666666666667 + }, + { + "gid":242, + "height":48, + "id":11, + "name":"tablet", + "rotation":0, + "type":"", + "visible":true, + "width":48, + "x":384, + "y":336 }], "opacity":1, "type":"objectgroup", diff --git a/assets/scenarios/ceo_exfil.json b/assets/scenarios/ceo_exfil.json index ead7d23..3f863ae 100644 --- a/assets/scenarios/ceo_exfil.json +++ b/assets/scenarios/ceo_exfil.json @@ -30,6 +30,31 @@ "takeable": false, "requires": "password", "observations": "The reception's computer, currently locked" + }, + { + "type": "tablet", + "name": "Forgotten Tablet", + "observations": "A tablet device left behind by someone. It seems to be locked.", + "locked": true, + "lockType": "pin", + "requires": "1234", + "contents": [ + { + "type": "notes", + "name": "Meeting Notes", + "observations": "Confidential meeting notes about upcoming projects", + "readable": true, + "text": "Project Aurora launch scheduled for Q3. Security concerns need to be addressed.", + "takeable": true + }, + { + "type": "key", + "name": "Master Key", + "observations": "A key with high security markings", + "takeable": true, + "key_id": "master_key" + } + ] } ] }, diff --git a/index.html b/index.html index f793cca..9dc6315 100644 --- a/index.html +++ b/index.html @@ -222,6 +222,7 @@ this.load.image('safe', 'assets/objects/safe.png'); this.load.image('book', 'assets/objects/book.png'); this.load.image('workstation', 'assets/objects/workstation.png'); + this.load.image('tablet', 'assets/objects/tablet.png'); this.load.json('gameScenarioJSON', 'assets/scenarios/ceo_exfil.json'); gameScenario = this.cache.json.get('gameScenarioJSON');