import { AchievementType , AchievementRewardType , Achievement } from '../../../../shared/interfaces' ; import { Player } from '../../../../shared/models' ; export class Impossible extends Achievement { static readonly statWatches = [ 'Item/Collectible/Find' ] ; static readonly type = AchievementType . Explore ; static descriptionForTier ( tier ) { const baseStr = `Cheater! You get a title.` ; return baseStr ; } static calculateTier ( player ) { return player . $collectibles . has ( 'How Did You Even Get Out Here' ) ? 1 : 0 ; } static rewardsForTier ( tier ) { const baseRewards = [ { type : AchievementRewardType . Title , title : 'Literal Cheater' } ] ; return baseRewards ; } }