mirror of
https://github.com/cliffe/BreakEscape.git
synced 2026-02-21 19:28:03 +00:00
Added clickable blackboard in the form of an object.
Need to add logic (maybe change method for blackboard)
This commit is contained in:
@@ -317,6 +317,18 @@
|
||||
"x":100.927703875072,
|
||||
"y":101.732793522267
|
||||
},
|
||||
{
|
||||
"gid":417,
|
||||
"height":48,
|
||||
"id":16,
|
||||
"name":"blackboard",
|
||||
"rotation":0,
|
||||
"type":"",
|
||||
"visible":true,
|
||||
"width":48,
|
||||
"x":329,
|
||||
"y":90
|
||||
},
|
||||
{
|
||||
"height":48,
|
||||
"id":15,
|
||||
@@ -325,7 +337,7 @@
|
||||
"type":"",
|
||||
"visible":true,
|
||||
"width":48,
|
||||
"x":390,
|
||||
"x":432,
|
||||
"y":144
|
||||
}
|
||||
|
||||
|
||||
@@ -72,6 +72,15 @@
|
||||
"text": "URGENT: Multiple unauthorized access attempts detected from CEO's office IP address",
|
||||
"observations": "A concerning IT department memo"
|
||||
},
|
||||
{
|
||||
"type": "blackboard",
|
||||
"name": "Office Blackboard",
|
||||
"takeable": false,
|
||||
"hasFingerprint": true,
|
||||
"fingerprintOwner": "ceo",
|
||||
"fingerprintQuality": 0.8,
|
||||
"observations": "A blackboard with some recent writing. The CEO was seen using it earlier."
|
||||
},
|
||||
{
|
||||
"type": "fingerprint_kit",
|
||||
"name": "Fingerprint Kit",
|
||||
|
||||
@@ -1483,6 +1483,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Add blackboard interaction
|
||||
if (data.scenarioData?.type === "blackboard") {
|
||||
alert("A blackboard with some recent writing. There might be fingerprints on the surface.");
|
||||
return;
|
||||
}
|
||||
|
||||
alert(message);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user