import { IProjectCard } from '../IProjectCard' ; import { Tags } from '../Tags' ; import { Card } from '../Card' ; import { CardType } from '../CardType' ; import { Player } from '../../Player' ; import { Resources } from '../../Resources' ; import { CardName } from '../../CardName' ; import { CardRenderer } from '../render/CardRenderer' ; export class AdaptedLichen extends Card implements IProjectCard { constructor ( ) { super ( { cardType : CardType . AUTOMATED , name : CardName . ADAPTED_LICHEN , tags : [ Tags . PLANT ] , cost : 9 , metadata : { description : 'Increase your Plant production 1 step.' , cardNumber : '048' , renderData : CardRenderer . builder ( ( b ) => b . production ( ( pb ) => pb . plants ( 1 ) ) ) , } , } ) ; } public play ( player ) { player . addProduction ( Resources . PLANTS , 1 ) ; return undefined ; } }