#!/usr/bin/env python import generic import simpleCBs # Basic Treasures copper = generic.card("Copper", "0", treasure=True, supply=False, cbPlay=simpleCBs.add(money="1")) silver = generic.card("Silver", "3", treasure=True, supply=False, cbPlay=simpleCBs.add(money="2")) gold = generic.card("Gold", "6", treasure=True, supply=False, cbPlay=simpleCBs.add(money="3")) platinum = generic.card("Platinum", "9", treasure=True, supply=False, cbPlay=simpleCBs.add(money="5")) potion = generic.card("Potion", "4", treasure=True, supply=False, cbPlay=simpleCBs.add(money="p")) # Basic VPs estate = generic.card("Estate", "2", victory=True, supply=False, cbEndCount=simpleCBs.add(points=1)) duchy = generic.card("Duchy", "5", victory=True, supply=False, cbEndCount=simpleCBs.add(points=3)) province = generic.card("Province", "8", victory=True, supply=False, cbEndCount=simpleCBs.add(points=6)) colony = generic.card("Colony", "11", victory=True, supply=False, cbEndCount=simpleCBs.add(points=9)) curse = generic.card("Curse", "0", supply=False, cbEndCount=simpleCBs.add(points=-1)) # Base Set festival = generic.card("Festival", "5", action=True, cbPlay=lambda : {'actions': '+2', 'money': '+2', 'buys': '+1'}) laboratory = generic.card("Laboratory", "5", action=True, cbPlay=lambda : {'cards': '+2', 'actions': '+1'}) market = generic.card("Market", "5", action=True, cbPlay=lambda : {'actions': '+1', 'money': '+1', 'buys': '+1', 'cards': '+1'}) smithy = generic.card("Smithy", "4", action=True, cbPlay=lambda : {'cards': '+3'}) village = generic.card("Village", "3", action=True, cbPlay=lambda : {'cards': '+1', 'actions': '+2'}) woodcutter = generic.card("Woodcutter", "3", action=True, cbPlay=lambda : {'money': '+2', 'buys': '+1'})
#!/usr/bin/env python import generic from simpleCBs import add # Basic Treasures copper = generic.card("Copper", "0", treasure=True, supply=False, cbPlay=add(money="1")) silver = generic.card("Silver", "3", treasure=True, supply=False, cbPlay=add(money="2")) gold = generic.card("Gold", "6", treasure=True, supply=False, cbPlay=add(money="3")) platinum = generic.card("Platinum", "9", treasure=True, supply=False, cbPlay=add(money="5")) potion = generic.card("Potion", "4", treasure=True, supply=False, cbPlay=add(money="p")) # Basic VPs estate = generic.card("Estate", "2", victory=True, supply=False, cbEndCount=add(points=1)) duchy = generic.card("Duchy", "5", victory=True, supply=False, cbEndCount=add(points=3)) province = generic.card("Province", "8", victory=True, supply=False, cbEndCount=add(points=6)) colony = generic.card("Colony", "11", victory=True, supply=False, cbEndCount=add(points=9)) curse = generic.card("Curse", "0", supply=False, cbEndCount=add(points=-1)) # Base Set festival = generic.card("Festival", "5", action=True, cbPlay=add(actions=2, money="2", buys=1)) laboratory = generic.card("Laboratory", "5", action=True, cbPlay=add(actions=1, cards=2)) market = generic.card("Market", "5", action=True, cbPlay=add(actions=1, money="1", buys=1, cards=1)) smithy = generic.card("Smithy", "4", action=True, cbPlay=add(cards=3)) village = generic.card("Village", "3", action=True, cbPlay=add(actions=2, cards=1)) woodcutter = generic.card("Woodcutter", "3", action=True, cbPlay=add(money="2", buys=1)) # Adventurer: $6; Action; Reveal from deck until you get 2 treasures; discard all drawn non-treasures