Files
BreakEscape/assets/rooms/room_reception.json
Damian-I 1889b1b1d9 Implement Bluetooth device scanning and proximity-based unlocking
- Add Bluetooth scanning constants and interval-based scanning
- Modify object interaction to check for Bluetooth device proximity
- Implement proximity-based unlocking for tablets
- Add debug logging for Bluetooth scanning and device detection
- Adjust tablet and scanner positioning in reception room

----
Fixed broken funcitons of previous bluetooth
2025-02-18 17:01:17 +00:00

357 lines
10 KiB
JSON

{ "compressionlevel":-1,
"height":9,
"infinite":false,
"layers":[
{
"data":[0, 3932, 0, 0, 0, 0, 0, 0, 3932, 0,
0, 3932, 0, 0, 0, 0, 0, 0, 3932, 0,
0, 3932, 3932, 3932, 3932, 3932, 3932, 3932, 3932, 0,
0, 3932, 3932, 3932, 3932, 3932, 3932, 3932, 3932, 0,
0, 3932, 3932, 3932, 3932, 3932, 3932, 3932, 3932, 0,
0, 3932, 3932, 3932, 3932, 3932, 3932, 3932, 3932, 0,
0, 3932, 3932, 3932, 3932, 3932, 3932, 3932, 3932, 0,
0, 3932, 3932, 3932, 3932, 3932, 3932, 3932, 3932, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"height":9,
"id":2,
"name":"floor",
"opacity":1,
"type":"tilelayer",
"visible":true,
"width":10,
"x":0,
"y":0
},
{
"data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 1282, 1283, 1283, 1283, 1283, 1283, 1283, 1283, 0,
0, 1358, 0, 0, 0, 0, 0, 0, 0, 0,
0, 1358, 0, 0, 0, 0, 0, 0, 0, 0,
0, 1358, 0, 0, 0, 0, 0, 0, 0, 0,
0, 1358, 0, 0, 0, 0, 0, 0, 0, 0,
0, 1358, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"height":9,
"id":10,
"name":"shadow",
"opacity":1,
"type":"tilelayer",
"visible":true,
"width":10,
"x":0,
"y":0
},
{
"data":[5531, 5684, 5684, 5684, 5684, 5684, 5684, 5684, 5685, 5611,
5607, 5760, 5760, 5760, 5760, 5760, 5760, 5760, 5761, 5610,
5683, 0, 0, 0, 0, 0, 0, 0, 0, 5686,
5683, 0, 0, 0, 0, 0, 0, 0, 0, 5686,
5683, 0, 0, 0, 0, 0, 0, 0, 0, 5686,
5683, 0, 0, 0, 0, 0, 0, 0, 0, 5686,
5683, 0, 0, 0, 0, 0, 0, 0, 0, 5686,
5683, 0, 0, 0, 0, 0, 0, 0, 0, 5686,
1311, 1469, 1469, 1469, 1469, 1469, 1469, 1469, 1469, 1310],
"height":9,
"id":8,
"name":"walls",
"opacity":1,
"type":"tilelayer",
"visible":true,
"width":10,
"x":0,
"y":0
},
{
"data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 26260, 0, 0, 0, 26260, 0, 0, 26260, 0,
0, 26276, 25169, 0, 25168, 26276, 0, 0, 26276, 0,
0, 26292, 25185, 0, 25184, 26292, 0, 0, 26292, 0,
0, 0, 0, 0, 17760, 18799, 0, 0, 18798, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"height":9,
"id":5,
"name":"props",
"opacity":1,
"type":"tilelayer",
"visible":true,
"width":10,
"x":0,
"y":0
},
{
"data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 22930, 0, 0, 22933, 0, 0, 0,
0, 0, 0, 22946, 22947, 22948, 22949, 0, 0, 0,
0, 0, 0, 22962, 22963, 22964, 22965, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"height":9,
"id":4,
"name":"tables",
"opacity":1,
"type":"tilelayer",
"visible":true,
"width":10,
"x":0,
"y":0
},
{
"data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"height":9,
"id":6,
"name":"devices",
"offsetx":0,
"offsety":-48,
"opacity":1,
"type":"tilelayer",
"visible":true,
"width":10,
"x":0,
"y":0
},
{
"data":[0, 0, 0, 0, 0, 25565, 25566, 0, 0, 0,
0, 0, 0, 0, 0, 25581, 25582, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 18767, 0,
0, 26260, 17745, 0, 17744, 0, 0, 0, 0, 0,
0, 26276, 25169, 0, 25168, 26275, 0, 0, 26275, 0,
0, 26292, 25185, 0, 25184, 26291, 0, 0, 26291, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"height":9,
"id":3,
"name":"props",
"opacity":1,
"type":"tilelayer",
"visible":true,
"width":10,
"x":0,
"y":0
},
{
"data":[0, 26030, 0, 0, 0, 0, 0, 0, 26030, 0,
0, 26046, 0, 0, 0, 0, 0, 0, 26046, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"height":9,
"id":9,
"name":"doors",
"opacity":1,
"type":"tilelayer",
"visible":true,
"width":10,
"x":0,
"y":0
},
{
"draworder":"topdown",
"id":7,
"name":"Object Layer 1",
"objects":[
{
"gid":207,
"height":48,
"id":1,
"name":"pc",
"properties":[
{
"name":"this is a test",
"type":"string",
"value":"test"
}],
"rotation":0,
"type":"",
"visible":true,
"width":48,
"x":142.6316,
"y":94.2802807017544
},
{
"gid":156,
"height":48,
"id":3,
"name":"phone",
"rotation":0,
"type":"",
"visible":true,
"width":48,
"x":290.421052631579,
"y":121.719298245614
},
{
"gid":13138,
"height":48,
"id":8,
"name":"key",
"rotation":0,
"type":"",
"visible":true,
"width":48,
"x":192.421052631579,
"y":96.4210526315789
},
{
"gid":242,
"height":48,
"id":10,
"name":"notes",
"rotation":0,
"type":"",
"visible":true,
"width":48,
"x":236.666666666667,
"y":168.666666666667
},
{
"height":48,
"id":11,
"name":"tablet",
"rotation":0,
"type":"",
"visible":true,
"width":48,
"x":430,
"y":380
},
{
"height":48,
"id":12,
"name":"bluetooth_scanner",
"rotation":0,
"type":"",
"visible":true,
"width":48,
"x":380,
"y":166
}
],
"opacity":1,
"type":"objectgroup",
"visible":true,
"x":0,
"y":0
}],
"nextlayerid":12,
"nextobjectid":11,
"orientation":"orthogonal",
"renderorder":"right-down",
"tiledversion":"1.11.0",
"tileheight":48,
"tilesets":[
{
"columns":16,
"firstgid":1,
"image":"images\/Modern_Office_Revamped\/Modern_Office_48x48.png",
"imageheight":2544,
"imagewidth":768,
"margin":0,
"name":"Modern_Office_48x48",
"spacing":0,
"tilecount":848,
"tileheight":48,
"tilewidth":48
},
{
"columns":76,
"firstgid":849,
"image":"images\/1_Interiors\/48x48\/Room_Builder_48x48.png",
"imageheight":5232,
"imagewidth":3648,
"margin":0,
"name":"Room_Builder_48x48",
"spacing":0,
"tilecount":8284,
"tileheight":48,
"tilewidth":48
},
{
"columns":16,
"firstgid":9133,
"image":"images\/1_Interiors\/48x48\/Interiors_48x48.png",
"imageheight":41232,
"imagewidth":768,
"margin":0,
"name":"Interiors_48x48",
"spacing":0,
"tilecount":13744,
"tileheight":48,
"tilewidth":48
},
{
"columns":16,
"firstgid":22877,
"image":"images\/1_Interiors\/48x48\/Theme_Sorter_Shadowless_48x48\/19_Hospital_Shadowless_48x48.png",
"imageheight":5280,
"imagewidth":768,
"margin":0,
"name":"19_Hospital_Shadowless_48x48",
"spacing":0,
"tilecount":1760,
"tileheight":48,
"tilewidth":48
},
{
"columns":16,
"firstgid":24637,
"image":"images\/1_Interiors\/48x48\/Theme_Sorter_Shadowless_48x48\/18_Jail_Shadowless_48x48.png",
"imageheight":2160,
"imagewidth":768,
"margin":0,
"name":"18_Jail_Shadowless_48x48",
"spacing":0,
"tilecount":720,
"tileheight":48,
"tilewidth":48
},
{
"columns":16,
"firstgid":25357,
"image":"images\/1_Interiors\/48x48\/Theme_Sorter_Shadowless_48x48\/1_Generic_Shadowless_48x48.png",
"imageheight":3744,
"imagewidth":768,
"margin":0,
"name":"1_Generic_Shadowless_48x48",
"spacing":0,
"tilecount":1248,
"tileheight":48,
"tilewidth":48
},
{
"columns":16,
"firstgid":26605,
"image":"images\/1_Interiors\/48x48\/Theme_Sorter_Shadowless_48x48\/11_Halloween_Shadowless_48x48.png",
"imageheight":2928,
"imagewidth":768,
"margin":0,
"name":"11_Halloween_Shadowless_48x48",
"spacing":0,
"tilecount":976,
"tileheight":48,
"tilewidth":48
}],
"tilewidth":48,
"type":"map",
"version":"1.10",
"width":10
}