import { IProjectCard } from '../IProjectCard' ; import { Card } from '../Card' ; import { CardType } from '../CardType' ; import { Player } from '../../Player' ; import { Resources } from '../../Resources' ; import { CardName } from '../../CardName' ; import { CardRequirements } from '../CardRequirements' ; import { CardRenderer } from '../render/CardRenderer' ; import { Size } from '../render/Size' ; import { all } from '../Options' ; export class Zeppelins extends Card implements IProjectCard { constructor ( ) { super ( { cardType : CardType . AUTOMATED , name : CardName . ZEPPELINS , cost : 13 , victoryPoints : 1 , requirements : CardRequirements . builder ( ( b ) => b . oxygen ( 5 ) ) , metadata : { cardNumber : '129' , renderData : CardRenderer . builder ( ( b ) => { b . production ( ( pb ) => { pb . megacredits ( 1 ) . slash ( ) ; pb . city ( { size : Size . SMALL , all } ) . asterix ( ) ; } ) ; } ) , description : 'Requires 5% oxygen. Increase your M€ production 1 step for each City tile ON MARS.' , } , } ) ; } public play ( player ) { player . addProduction ( Resources . MEGACREDITS , player . game . getCitiesInPlayOnMars ( ) , { log : true } ) ; return undefined ; } }