Steal 1 resource card from the owner of an adjacent settlement or city.
You may only play one development card during your turn -- either one
knight or one progress card.
>;
break;
case 'vp':
description = <>
1 victory point.
You only reveal your victory point cards when the game is over, either
when you or an opponent
reaches 10+ victory points on their turn and declares
victory!
>;
break;
case 'progress-road-1':
case 'progress-road-2':
description = <>
Play 2 new roads as if you had just built them.
This is still limited by the number of roads you have. If you do not have enough roads
remaining, or if there are no valid road building locations, the number of roads
you can place will be reduced.
You currently have {priv.roads} roads remaining.
>;
break;
case 'progress-monopoly':
description = <>
When you play this card, you will select 1 type of resource.
All other players must give you all their resource cards of that type.
>;
break;
case 'progress-year-of-plenty':
description = <>
Take any 2 resources from the bank. Add them to your hand. They can be
2 of the same resource or 1 of two differ resources.
>;
break;
default:
description = <>Unknown card type {lookup}>;
break;
};
let canPlay = false;
if (cardActive.type === 'vp') {
let points = priv.points;
priv.development.forEach(item => {
if (item.type === 'vp') {
points++;
}
});
canPlay = points >= 10;
if (!canPlay && !cardActive.played) {
description = <>{description}
You do not have enough victory points to play this card yet. You can currently reach {points} points.