From b82ccc8b904f83d5fbbb6f77dc980f50afef6f0b Mon Sep 17 00:00:00 2001 From: Miguel Campos Date: Tue, 30 Jul 2024 22:48:57 -0700 Subject: [PATCH] hide-and-seek: update achievements and multiplier --- libs/data/games/src/index.ts | 97 +++++++++++++++++++++++++++++++++++- 1 file changed, 95 insertions(+), 2 deletions(-) diff --git a/libs/data/games/src/index.ts b/libs/data/games/src/index.ts index 6e9dd68e..ed5c0443 100644 --- a/libs/data/games/src/index.ts +++ b/libs/data/games/src/index.ts @@ -31,11 +31,104 @@ const integratedGames: SeedableGameSchema[] = [ updatedAt: new Date('2024-08-01T00:00:00.000Z'), description: "

Hide and Seek is a puzzle game where you must find the hidden characters in the scene. You are given 60 seconds to find three unique characters. If you cannot find all three you'll lose the game. If you make too many mistakes you'll lose the game!
Can you find all the hidden players in time?

", - multiplier: 1, + multiplier: 3, leaderboard: false, cloudStorage: true, loot: [], - achievements: [], + achievements: [ + { + id: 'hide-and-seek:perfect', + version: 1, + gameId: 'hide-and-seek', + name: 'Play a Perfect Game', + description: + 'Find all three hidden characters without making a mistake', + iconUrl: + 'https://cdn.charity.games/_games/hide-and-seek/assets/achievements/perfect.png', + secret: false, + loot: [ + { + itemId: '4', + quantity: 1, + chance: 1, + }, + ], + }, + { + id: 'hide-and-seek:found-one', + version: 1, + gameId: 'hide-and-seek', + name: 'Find One', + description: 'Find at least one hidden character during a game', + iconUrl: + 'https://cdn.charity.games/_games/hide-and-seek/assets/achievements/found-one.png', + secret: false, + loot: [ + { + itemId: '4', + quantity: 1, + chance: 1, + }, + ], + }, + { + id: 'hide-and-seek:found-two', + version: 1, + gameId: 'hide-and-seek', + name: 'Find Two', + description: 'Find at least two hidden characters during a game', + iconUrl: + 'https://cdn.charity.games/_games/hide-and-seek/assets/achievements/found-two.png', + secret: false, + loot: [ + { + itemId: '4', + quantity: 1, + chance: 1, + }, + ], + }, + { + id: 'hide-and-seek:found-three', + version: 1, + gameId: 'hide-and-seek', + name: 'Find Three', + description: 'Find all three hidden characters during a game', + iconUrl: + 'https://cdn.charity.games/_games/hide-and-seek/assets/achievements/found-three.png', + secret: false, + loot: [ + { + itemId: '4', + quantity: 1, + chance: 1, + }, + ], + }, + ], + tasks: [ + { + name: 'Find one hidden character', + description: + 'Find one hidden character during a single game of Hide and Seek', + type: 'score', + score: 1, + }, + { + name: 'Find two hidden characters', + description: + 'Find two hidden characters during a single game of Hide and Seek', + type: 'score', + score: 2, + }, + { + name: 'Find all hidden characters', + description: + 'Find all three hidden characters during a single game of Hide and Seek', + type: 'score', + score: 3, + }, + ], }, { version: 3,