import { Tags } from '../Tags' ; import { Player } from '../../Player' ; import { PreludeCard } from './PreludeCard' ; import { Resources } from '../../Resources' ; import { CardName } from '../../CardName' ; import { CardRenderer } from '../render/CardRenderer' ; export class Biolab extends PreludeCard { constructor ( ) { super ( { name : CardName . BIOLAB , tags : [ Tags . SCIENCE ] , metadata : { cardNumber : 'P04' , renderData : CardRenderer . builder ( ( b ) => { b . production ( ( pb ) => pb . plants ( 1 ) ) . br ; b . cards ( 3 ) ; } ) , description : 'Increase your plant production 1 step. Draw 3 cards.' , } , } ) ; } public play ( player ) { player . addProduction ( Resources . PLANTS , 1 ) ; player . drawCard ( 3 ) ; return undefined ; } }