import { Tags } from '../Tags' ; import { Player } from '../../Player' ; import { PreludeCard } from './PreludeCard' ; import { CardName } from '../../CardName' ; import { CardRenderer } from '../render/CardRenderer' ; import { Units } from '../../Units' ; export class DomeFarming extends PreludeCard { constructor ( ) { super ( { name : CardName . DOME_FARMING , tags : [ Tags . PLANT , Tags . BUILDING ] , productionBox : Units . of ( { megacredits : 2 , plants : 1 } ) , metadata : { cardNumber : 'P07' , renderData : CardRenderer . builder ( ( b ) => { b . production ( ( pb ) => pb . megacredits ( 2 ) . plants ( 1 ) ) ; } ) , description : 'Increase your M€ production 2 steps and plant production 1 step.' , } , } ) ; } public play ( player ) { player . adjustProduction ( this . productionBox ) ; return undefined ; } }