Package: krcg-cli
KRCG CLICLI tool for V:tES, using
the VEKNofficial card texts,
theTournament Winning Deck Archive (TWDA)andKRCGrulings list.Portions of the materials are the copyrights and trademarks of Paradox Interactive AB,
and are used with permission. All rights reserved.
For more information please visitwhite-wolf.com.InstallYou need to havePython 3installed on your system.krcg-cliis a standard Python package, you can install it usingpip:pipinstallkrcg-cliUsageAn internet connection is required to initialize krcg with official VEKN data
(cards list and TWDA):Use the help command for a full documentation of the tool:krcg--helpAnd also extensive help on each sub-command:krcg[COMMAND]--helpContributeContributions are welcome !This CLI is an offspring of theKRCGpython package, so please refer to that repository for issues, discussions
and contributions guidelines.ExamplesGet a card text (case is not relevant, some abbreviations / misspellings are understood):$krcgcardkrcg
KRCGNewsRadio[Master][2P]--(#101067)Uniquelocation.
Locktogiveaminionyoucontrol+1intercept.
Lockandburn1pooltogiveaminioncontrolledbyanotherMethuselah+1intercept.This provides rulings, if any:$krcgcard".44 magnum".44Magnum[Equipment][2P]--(#100001)Weapon:gun.
Strike:2Rdamage,with1optionalmaneuvereachcombat.

--Rulings
Providesonlyonymaneuvereachcombat,evenifthebearerchanges.[LSJ19980302-2]Theoptionalmaneuvercannotbeusedifthestrikecannotbeused(eg.{HiddenLurker}).[LSJ20021028]Use the-loption to get ruling links:$krcgcard-l".44 magnum".44Magnum[Equipment][2P]--(#100001)Weapon:gun.
Strike:2Rdamage,with1optionalmaneuvereachcombat.

--Rulings
Providesonlyonymaneuvereachcombat,evenifthebearerchanges.[LSJ19980302-2]Theoptionalmaneuvercannotbeusedifthestrikecannotbeused(eg.{HiddenLurker}).[LSJ20021028][LSJ19980302-2]:https://groups.google.com/d/msg/rec.games.trading-cards.jyhad/9YVFkeiL3Js/4UZXMyicluwJ[LSJ20021028]:https://groups.google.com/g/rec.games.trading-cards.jyhad/c/g0GGiVIxyis/m/35WA-O9XrroJSearch for cards matching a number of criteria$krcgsearch--typereaction--trait"Black Hand"FollowtheBlood
Ministry
TruthinInk
WatchCommanderSearch for specific card text$krcgsearch--text"this equipment card represents a location"Catacombs
Dartmoor,England
Inveraray,Scotland
LivingManse
Local1111LyndhurstEstate,NewYork
PalatialEstate
Pier13,PortofBaltimore
RuinsofCeoris
RuinsofVillersAbbey,Belgium
...Search cards by artist$krcgsearch--artist"Ron Spencer"AntediluvianAwakening
ArcanumInvestigator
BangNakh—Tiger'sClaws
Bauble
BlessingofDurgaSyn
BloodAgony
BloodShield
BloodTearsofKephran
Bonecraft
BrassKnuckles
...Search cards by set$krcgsearch--set"Black Hand"AbyssalHunter
Acrobatics
AlphaGlint
Amaranth
Ambush
AnaRitaMontaña
AnimalMagnetism
...List TWDA decks containing a card:$krcgdeck"Fame"--572decks--[steveholmer]WeenieswithBlazingGuns[portoct99]None[rtpa2]" I'll be your dog"[rtpa2k]' I'llbeyourdog!'[valentine] None[normbsl] Who sez guns don'twin?[kotb]KissoftheBrujah
...Display any TWDA deck:$krcgdeck2016gncbg[2016gncbg]===================================================GermanNC2016Bochum,Germany
December3rd20163R+F19players
BramvanStappen

--2gw6.5+1.5vpinthefinal

DeckName:weenieanimalismminimal:"Ich bin eine von wir"played(untested)attheGermanNationals03.12.2016,Bochum

Crypt(12cards,min=8,max=21,avg=3.75)-----------------------------------------
2xStick3ANINosferatuantitribu:4
1xJaneyPickman6ANIPROforGangrelantitribu:4
1xCélesteLamontagne5ANIPROforGangrelantitribu:4
1xEffieLowery5ANISPIobfAhrimane:4
1xSahana5ANIpreprospiAhrimane:4
1xYuriKerezenski5ANIausforvicbishopTzimisce:4
1xBeetleman4ANIobfNosferatu:4
1xBobbyLemon4ANIproGangrel:3
1xMouse2aniNosferatu:3
1xZip2aniRavnos:3
1xLisaNoble1aniCaitiff:3

Library(90cards)Master(12)5xBloodDoll
1xDirectIntervention
1xFame
1xKRCGNewsRadio
1xPentex(TM)Subversion
2xPowerbase:Montreal
1xRack,The

Action(14)2xAbbot
1xAranthebes,TheImmortal
1xArmyofRats
10xDeepSong

Equipment(1)1xSniperRifle

Retainer(7)1xMr.Winthrop
6xRavenSpy

Reaction(18)5xCats' Guidance3x Delaying Tactics4x Forced Awakening5x On the Qui Vive1x Wake with Evening'sFreshness

Combat(38)16xAidfromBats
2xCanineHorde
11xCarrionCrows
1xPackAlpha
6xTasteofVitae
2xTerrorFrenzyDisplay all decks that won a tournament of 50 players or more in 2018:$krcgdeck--players50--from2018--to2019--5decks--[2018igpadhs]None[2018eclcqwp]Deardiary,todayIfeellikeawraith..Liquidation[2018ecday1wp]MMA.MPA(EC2018)[2018ecday2wp]EC2018win[2018pncwp]DeadlykittensDisplay all winning decks for a given player:krcgdeck"Ben Peal"--35decks--[dragoncon99]None[benrcp2k]Wonderwall[newjerseycc]ShortLeashBleed[aftermath]None
...List cards most associated with a given card in TWD:$krcgaffinity"Fame"TasteofVitae(in57%ofdecks,typically3-6copies)DelayingTactics(in33%ofdecks,typically1-3copies)Dragonbound(in32%ofdecks,typically1copy)Powerbase:Montreal(in31%ofdecks,typically1copy)ImmortalGrapple(in28%ofdecks,typically6-11copies)CarrionCrows(in28%ofdecks,typically6-11copies)HavenUncovered(in27%ofdecks,typically1-4copies)CarltonVanWyk(in27%ofdecks,typically1copy)Bum'sRush(in27%ofdecks,typically1-8copies)List most played cards of a given type, clan or discipline:$krcgtop-dani
CarrionCrows(playedin346decks,typically5-10copies)Cats'Guidance(playedin328decks,typically2-6copies)RavenSpy(playedin279decks,typically1-6copies)CanineHorde(playedin247decks,typically1-3copies)ArmyofRats(playedin211decks,typically1-2copies)AidfromBats(playedin204decks,typically5-14copies)DeepSong(playedin195decks,typically3-10copies)SensetheSavageWay(playedin171decks,typically2-6copies)GuardDogs(playedin119decks,typically1-4copies)NanaBuruku(playedin93decks,typically2-4copies)Build a deck from any given cards based on TWDA:$krcgbuild"Fame""Carrion Crows"Createdby:KRCG

Inspiredby:-2020mdmlfNanarchBuruku-2019r6vhAksinya+Nana+Anarch+Ani4.0-2019bncfbResistênciaAnarch
...

Crypt(12cards,min=4,max=29,avg=4.08)-----------------------------------------
1xStick3ANINosferatuantitribu:4
1xBeetleman4ANIobfNosferatu:4
1xBobbyLemon4ANIproGangrel:3
3xNanaBuruku8ANIPOTPREGuruhi:4
1xCélesteLamontagne5ANIPROforGangrelantitribu:4
1xPetra5ANIOBFausNosferatu:4
4xAnarchConvert1-none-Caitiff:ANY

Library(90cards)Master(30;4trifle)7xAnarchRevolt
1xArchonInvestigation
8xAshurTablets
1xDirectIntervention
2xDreamsoftheSphinx
1xFame
2xHavenUncovered
3xLiquidation
1xPentex(TM)Subversion
3xVessel
1xWiderView

Action(11)1xArmyofRats
10xDeepSong

Retainer(4)4xRavenSpy

Reaction(9)4xCats'Guidance
2xDelayingTactics
3xOntheQuiVive

Combat(36)13xAidfromBats
2xCanineHorde
10xCarrionCrows
4xTargetVitals
4xTasteofVitae
3xTerrorFrenzyFormat a decklist into another format - also note that krcg commands can be piped.krcgdeck2016gncbg|krcgformat-flackey>2016gncbg.txtCompute an optimal tournament seating$krcgseating-v168,2,12,15,7,14,9,13,6,16,1,3,10,4,5,1115,6,10,14,11,7,8,1,4,13,16,2,12,9,3,52,5,7,6,14,3,4,8,16,15,11,9,1,10,13,12
---------------------------------details---------------------------------
Round1:[[8,2,12,15],[7,14,9,13],[6,16,1,3],[10,4,5,11]]Round2:[[15,6,10,14],[11,7,8,1],[4,13,16,2],[12,9,3,5]]Round3:[[2,5,7,6],[14,3,4,8],[16,15,11,9],[1,10,13,12]]R10.00OK(predator-prey)R20.00OK(opponentthrice)R30.00OK(availablevps)R40.00OK(opponenttwice)R50.00OK(fifthseat)R60.00OK(position)R70.00OK(sameseat)R81.12NOK(startingtransfers):meanis7.50,[4,7,10,16]have6,[3,5,9,13]have9R90.00OK(positiongroup)You can also compute a modified seating if players leave early or arrive late.
For example, to remove player 6 and 9 and add player 18 in round 2, just list round 1
as played and add and remove players as needed.$krcgseating-p8,2,12,15,7,14,9,13,6,16,1,3,10,4,5,11--remove69--add18-v8,2,12,15,7,14,9,13,6,16,1,3,10,4,5,1111,1,15,7,12,5,18,13,16,2,14,3,4,8,1015,11,16,5,14,2,13,8,1,4,18,12,3,10,7
---------------------------------details---------------------------------
Round1:[[8,2,12,15],[7,14,9,13],[6,16,1,3],[10,4,5,11]]Round2:[[11,1,15,7,12],[5,18,13,16,2],[14,3,4,8,10]]Round3:[[15,11,16,5,14],[2,13,8,1,4],[18,12,3,10,7]]R10.00OK(predator-prey)R20.00OK(opponentthrice)R30.00OK(availablevps)R410.00NOK(opponenttwice):2-8,2-13,3-10,4-8,4-10,5-11,5-16,7-12,11-15,12-15
R50.00OK(fifthseat)R60.00OK(position)R70.00OK(sameseat)R80.81NOK(startingtransfers):meanis8.36,[2,11,14]have7,[1,3,4,7,10,12,13,16]have9R90.00OK(positiongroup)Note that removed and added players are not considered in vps and transfers rules (R3, R8)