diff --git a/src/pages/agent-office/assets/office-map.json b/src/pages/agent-office/assets/office-map.json index e2ab349..9422f0f 100644 --- a/src/pages/agent-office/assets/office-map.json +++ b/src/pages/agent-office/assets/office-map.json @@ -1,46 +1,72 @@ { + "cols": 32, + "rows": 20, "tileSize": 32, - "cols": 20, - "rows": 14, - "layers": { - "floor": [ - [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1], - [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1], - [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1], - [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1], - [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1], - [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1], - [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1], - [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1], - [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1], - [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1], - [2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1], - [2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1], - [2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1], - [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1] - ] - }, + "floor": [ + [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,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0], + [0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0], + [0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] + ], "furniture": [ - {"type": "desk", "x": 2, "y": 1, "label": "Stock"}, - {"type": "desk", "x": 7, "y": 1, "label": "Music"}, - {"type": "desk", "x": 12, "y": 1, "label": "Blog"}, - {"type": "desk", "x": 17, "y": 1, "label": "Realestate"}, - {"type": "table", "x": 8, "y": 6, "w": 4, "h": 2, "label": "회의 테이블"}, - {"type": "sofa", "x": 1, "y": 10, "label": "휴게실"}, - {"type": "coffee", "x": 3, "y": 10, "label": "☕"}, - {"type": "desk", "x": 14, "y": 10, "w": 5, "h": 2, "label": "CEO"} + {"type": "desk_monitor", "col": 3, "row": 3, "agent": "stock", "monitors": 3}, + {"type": "desk_monitor", "col": 10, "row": 3, "agent": "music", "monitors": 1, "accent": "instrument"}, + {"type": "desk_monitor", "col": 17, "row": 3, "agent": "blog", "monitors": 2, "accent": "papers"}, + {"type": "desk_monitor", "col": 24, "row": 3, "agent": "realestate", "monitors": 2, "accent": "briefcase"}, + {"type": "desk_monitor", "col": 14, "row": 7, "agent": "lotto", "monitors": 1, "accent": "dice"}, + {"type": "meeting_table","col": 13, "row": 11,"width": 6, "height": 2}, + {"type": "sofa", "col": 2, "row": 17}, + {"type": "coffee_machine","col": 5, "row": 16}, + {"type": "bookshelf", "col": 27, "row": 16, "height": 3}, + {"type": "plant", "col": 1, "row": 1}, + {"type": "plant", "col": 30, "row": 1}, + {"type": "plant", "col": 1, "row": 14}, + {"type": "plant", "col": 30, "row": 14}, + {"type": "water_cooler", "col": 8, "row": 17} ], "waypoints": { - "stock_desk": {"x": 2, "y": 2}, - "music_desk": {"x": 7, "y": 2}, - "blog_desk": {"x": 12, "y": 2}, - "realestate_desk": {"x": 17, "y": 2}, - "meeting_table": {"x": 9, "y": 7}, - "break_room": {"x": 2, "y": 11}, - "ceo_desk": {"x": 16, "y": 11} + "desk_stock": {"col": 3, "row": 4}, + "desk_music": {"col": 10, "row": 4}, + "desk_blog": {"col": 17, "row": 4}, + "desk_realestate": {"col": 24, "row": 4}, + "desk_lotto": {"col": 14, "row": 8}, + "meeting": {"col": 16, "row": 13}, + "break_room": {"col": 4, "row": 17}, + "coffee": {"col": 6, "row": 17}, + "water_cooler": {"col": 8, "row": 18} }, - "colors": { - "1": "#3a3a50", - "2": "#4a3a2a" + "blocked": [ + [3,3],[4,3],[5,3], + [10,3],[11,3], + [17,3],[18,3],[19,3], + [24,3],[25,3],[26,3], + [14,7],[15,7], + [13,11],[14,11],[15,11],[16,11],[17,11],[18,11], + [13,12],[14,12],[15,12],[16,12],[17,12],[18,12], + [2,17],[3,17], + [5,16],[6,16], + [27,16],[27,17],[27,18], + [8,17] + ], + "tileTypes": { + "0": "wall", + "1": "floor", + "2": "floor_break" } }