From bd07e33be8a87690482a412922c6ead90a316bdd Mon Sep 17 00:00:00 2001 From: Ezequiel Adrian Schwartzman Date: Tue, 12 Nov 2024 14:59:37 -0300 Subject: [PATCH] Added world preset --- ui/src/store/presets/world.ts | 818 ++-------------------------------- 1 file changed, 27 insertions(+), 791 deletions(-) diff --git a/ui/src/store/presets/world.ts b/ui/src/store/presets/world.ts index 7035cba..ab7e9ad 100644 --- a/ui/src/store/presets/world.ts +++ b/ui/src/store/presets/world.ts @@ -4,796 +4,32 @@ export default { creator: '', elements: [ { - height: 440, + height: 500, lock: { - config: false, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, + config: true, + position: true, + remove: true, + rotation: true, + size: true, + wals: true, }, rotation: 0, type: 'Image', - url: 'https://upload.wikimedia.org/wikipedia/commons/thumb/2/25/Chessboard_green_squares.svg/512px-Chessboard_green_squares.svg.png', - uuid: 'c41c01f0-a037-11ef-8b06-8597ca08db5f', + url: 'https://h5pstudio.ecampusontario.ca/sites/default/files/h5p/content/9451/images/image-5f6645b4ef14e.jpg', + uuid: '70ac68a0-a11f-11ef-bd7a-ff253897f346', version: 1, wals: [], - width: 468, - x: 1.5, - y: 1, + width: 1000, + x: 0, + y: 0, z: 1, }, { - display: { - mode: 'emoji', - value: '⚫️', - }, - height: 30, - lock: { - config: true, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, - }, - rotation: 0, - type: 'Piece', - uuid: 'd042d120-a037-11ef-8b06-8597ca08db5f', - version: 1, - wals: [], - width: 30, - x: -190.5, - y: -191, - z: 3, - }, - { - display: { - mode: 'emoji', - value: '⚫️', - }, - height: 30, - lock: { - config: true, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, - }, - rotation: 0, - type: 'Piece', - uuid: 'd1da6110-a037-11ef-8b06-8597ca08db5f', - version: 1, - wals: [], - width: 30, - x: -134.5, - y: -191, - z: 4, - }, - { - display: { - mode: 'emoji', - value: '⚫️', - }, - height: 30, - lock: { - config: true, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, - }, - rotation: 0, - type: 'Piece', - uuid: 'd57fc260-a037-11ef-8b06-8597ca08db5f', - version: 1, - wals: [], - width: 30, - x: -80.5, - y: -190, - z: 5, - }, - { - display: { - mode: 'emoji', - value: '⚫️', - }, - height: 30, - lock: { - config: true, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, - }, - rotation: 0, - type: 'Piece', - uuid: 'e82307b0-a037-11ef-8b06-8597ca08db5f', - version: 1, - wals: [], - width: 30, - x: -24.5, - y: -190, - z: 6, - }, - { - display: { - mode: 'emoji', - value: '⚫️', - }, - height: 30, - lock: { - config: true, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, - }, - rotation: 0, - type: 'Piece', - uuid: 'eab8a6b0-a037-11ef-8b06-8597ca08db5f', - version: 1, - wals: [], - width: 30, - x: 30.5, - y: -191, - z: 7, - }, - { - display: { - mode: 'emoji', - value: '⚫️', - }, - height: 30, - lock: { - config: true, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, - }, - rotation: 0, - type: 'Piece', - uuid: 'ed197a10-a037-11ef-8b06-8597ca08db5f', - version: 1, - wals: [], - width: 30, - x: 87.5, - y: -189, - z: 8, - }, - { - display: { - mode: 'emoji', - value: '⚫️', - }, - height: 30, - lock: { - config: true, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, - }, - rotation: 0, - type: 'Piece', - uuid: 'eefae440-a037-11ef-8b06-8597ca08db5f', - version: 1, - wals: [], - width: 30, - x: 143.5, - y: -190, - z: 9, - }, - { - display: { - mode: 'emoji', - value: '⚫️', - }, - height: 30, - lock: { - config: true, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, - }, - rotation: 0, - type: 'Piece', - uuid: 'f1ae6b80-a037-11ef-8b06-8597ca08db5f', - version: 1, - wals: [], - width: 30, - x: 196.5, - y: -189, - z: 10, - }, - { - display: { - mode: 'emoji', - value: '⚫️', - }, - height: 30, - lock: { - config: true, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, - }, - rotation: 0, - type: 'Piece', - uuid: 'f46d8b80-a037-11ef-8b06-8597ca08db5f', - version: 1, - wals: [], - width: 30, - x: -188.5, - y: -135, - z: 11, - }, - { - display: { - mode: 'emoji', - value: '⚫️', - }, - height: 30, - lock: { - config: true, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, - }, - rotation: 0, - type: 'Piece', - uuid: 'f5e31480-a037-11ef-8b06-8597ca08db5f', - version: 1, - wals: [], - width: 30, - x: -133.5, - y: -135, - z: 12, - }, - { - display: { - mode: 'emoji', - value: '⚫️', - }, - height: 30, - lock: { - config: true, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, - }, - rotation: 0, - type: 'Piece', - uuid: 'f8c9b9b0-a037-11ef-8b06-8597ca08db5f', - version: 1, - wals: [], - width: 30, - x: -81.5, - y: -135, - z: 13, - }, - { - display: { - mode: 'emoji', - value: '⚫️', - }, - height: 30, - lock: { - config: true, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, - }, - rotation: 0, - type: 'Piece', - uuid: 'fbc54670-a037-11ef-8b06-8597ca08db5f', - version: 1, - wals: [], - width: 30, - x: -22.5, - y: -134, - z: 14, - }, - { - display: { - mode: 'emoji', - value: '⚫️', - }, - height: 30, - lock: { - config: true, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, - }, - rotation: 0, - type: 'Piece', - uuid: 'fe250860-a037-11ef-8b06-8597ca08db5f', - version: 1, - wals: [], - width: 30, - x: 28.5, - y: -134, - z: 15, - }, - { - display: { - mode: 'emoji', - value: '⚫️', - }, - height: 30, - lock: { - config: true, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, - }, - rotation: 0, - type: 'Piece', - uuid: '007c65e0-a038-11ef-8b06-8597ca08db5f', - version: 1, - wals: [], - width: 30, - x: 85.5, - y: -135, - z: 16, - }, - { - display: { - mode: 'emoji', - value: '⚫️', - }, - height: 30, - lock: { - config: true, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, - }, - rotation: 0, - type: 'Piece', - uuid: '021b6fe0-a038-11ef-8b06-8597ca08db5f', - version: 1, - wals: [], - width: 30, - x: 142.5, - y: -135, - z: 17, - }, - { - display: { - mode: 'emoji', - value: '⚫️', - }, - height: 30, - lock: { - config: true, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, - }, - rotation: 0, - type: 'Piece', - uuid: '043d1760-a038-11ef-8b06-8597ca08db5f', - version: 1, - wals: [], - width: 30, - x: 196.5, - y: -133, - z: 18, - }, - { - display: { - mode: 'emoji', - value: '🔴', - }, - height: 30, - lock: { - config: true, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, - }, - rotation: 0, - type: 'Piece', - uuid: '1339c2e0-a038-11ef-8b06-8597ca08db5f', - version: 1, - wals: [], - width: 30, - x: -187.5, - y: 192, - z: 20, - }, - { - display: { - mode: 'emoji', - value: '🔴', - }, - height: 30, - lock: { - config: true, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, - }, - rotation: 0, - type: 'Piece', - uuid: '15982540-a038-11ef-8b06-8597ca08db5f', - version: 1, - wals: [], - width: 30, - x: -133.5, - y: 196, - z: 21, - }, - { - display: { - mode: 'emoji', - value: '🔴', - }, - height: 30, - lock: { - config: true, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, - }, - rotation: 0, - type: 'Piece', - uuid: '174b5380-a038-11ef-8b06-8597ca08db5f', - version: 1, - wals: [], - width: 30, - x: -78.5, - y: 194, - z: 22, - }, - { - display: { - mode: 'emoji', - value: '🔴', - }, - height: 30, - lock: { - config: true, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, - }, - rotation: 0, - type: 'Piece', - uuid: '193214e0-a038-11ef-8b06-8597ca08db5f', - version: 1, - wals: [], - width: 30, - x: -25.5, - y: 194, - z: 23, - }, - { - display: { - mode: 'emoji', - value: '🔴', - }, - height: 30, - lock: { - config: true, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, - }, - rotation: 0, - type: 'Piece', - uuid: '1b4b09d0-a038-11ef-8b06-8597ca08db5f', - version: 1, - wals: [], - width: 30, - x: 30.5, - y: 196, - z: 24, - }, - { - display: { - mode: 'emoji', - value: '🔴', - }, - height: 30, - lock: { - config: true, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, - }, - rotation: 0, - type: 'Piece', - uuid: '1d4ccd40-a038-11ef-8b06-8597ca08db5f', - version: 1, - wals: [], - width: 30, - x: 85.5, - y: 194, - z: 25, - }, - { - display: { - mode: 'emoji', - value: '🔴', - }, - height: 30, - lock: { - config: true, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, - }, - rotation: 0, - type: 'Piece', - uuid: '1f9117f0-a038-11ef-8b06-8597ca08db5f', - version: 1, - wals: [], - width: 30, - x: 138.5, - y: 194, - z: 26, - }, - { - display: { - mode: 'emoji', - value: '🔴', - }, - height: 30, - lock: { - config: true, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, - }, - rotation: 0, - type: 'Piece', - uuid: '21795ff0-a038-11ef-8b06-8597ca08db5f', - version: 1, - wals: [], - width: 30, - x: 196.5, - y: 194, - z: 27, - }, - { - display: { - mode: 'emoji', - value: '🔴', - }, - height: 42, - lock: { - config: true, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, - }, - rotation: 0, - type: 'Piece', - uuid: '2394c5e0-a038-11ef-8b06-8597ca08db5f', - version: 1, - wals: [], - width: 30, - x: -189.5, - y: 138, - z: 28, - }, - { - display: { - mode: 'emoji', - value: '🔴', - }, - height: 30, - lock: { - config: true, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, - }, - rotation: 0, - type: 'Piece', - uuid: '2545f850-a038-11ef-8b06-8597ca08db5f', - version: 1, - wals: [], - width: 30, - x: -136.5, - y: 139, - z: 29, - }, - { - display: { - mode: 'emoji', - value: '🔴', - }, - height: 30, - lock: { - config: true, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, - }, - rotation: 0, - type: 'Piece', - uuid: '277693f0-a038-11ef-8b06-8597ca08db5f', - version: 1, - wals: [], - width: 30, - x: -81.5, - y: 137, - z: 30, - }, - { - display: { - mode: 'emoji', - value: '🔴', - }, - height: 30, - lock: { - config: true, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, - }, - rotation: 0, - type: 'Piece', - uuid: '2960b0b0-a038-11ef-8b06-8597ca08db5f', - version: 1, - wals: [], - width: 30, - x: -24.5, - y: 139, - z: 31, - }, - { - display: { - mode: 'emoji', - value: '🔴', - }, - height: 30, - lock: { - config: true, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, - }, - rotation: 0, - type: 'Piece', - uuid: '2aeb4850-a038-11ef-8b06-8597ca08db5f', - version: 1, - wals: [], - width: 30, - x: 30.5, - y: 139, - z: 32, - }, - { - display: { - mode: 'emoji', - value: '🔴', - }, - height: 30, - lock: { - config: true, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, - }, - rotation: 0, - type: 'Piece', - uuid: '2cbc10b0-a038-11ef-8b06-8597ca08db5f', - version: 1, - wals: [], - width: 30, - x: 86.5, - y: 141, - z: 33, - }, - { - display: { - mode: 'emoji', - value: '🔴', - }, - height: 30, - lock: { - config: true, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, - }, - rotation: 0, - type: 'Piece', - uuid: '2e4bb160-a038-11ef-8b06-8597ca08db5f', - version: 1, - wals: [], - width: 30, - x: 141.5, - y: 138, - z: 34, - }, - { - display: { - mode: 'emoji', - value: '🔴', - }, - height: 30, - lock: { - config: true, - position: false, - remove: false, - rotation: false, - size: false, - wals: false, - }, - rotation: 0, - type: 'Piece', - uuid: '3046be10-a038-11ef-8b06-8597ca08db5f', - version: 1, - wals: [], - width: 30, - x: 196.5, - y: 138, - z: 35, - }, - { - height: 250, + canOnlyPickOwnPiece: true, + colorCoded: true, + createdPieces: [], + height: 202.03619909502268, + limit: 0, lock: { config: false, position: false, @@ -803,21 +39,21 @@ export default { wals: false, }, rotation: 0, - showTimers: true, - turnsLog: [], - type: 'TurnTracker', - uuid: 'b5ec7f90-a039-11ef-8b06-8597ca08db5f', + showNames: true, + size: 30, + type: 'PlayerPieceSource', + uuid: '80f89e90-a11f-11ef-bd7a-ff253897f346', version: 1, wals: [], - width: 200, - x: 354.5, - y: -16, - z: 36, + width: 113.5746606334842, + x: -353.23792557981255, + y: 60.274726630203318, + z: 2, }, ], isStewarded: false, - lastChangeAt: 1731335551423, - minMaxPlayers: [1, 12], + lastChangeAt: 1731434284003, + minMaxPlayers: [1, 4], name: 'World', players: [], status: 'library',