From dc7e2d092ea0608b6ec00f82c02214c359376aa8 Mon Sep 17 00:00:00 2001 From: Jordan Weiler Date: Wed, 26 Feb 2025 22:57:06 -0800 Subject: [PATCH] Support remaining Agents of S.H.I.E.L.D. cards --- src/AppBundle/Command/ImportStdCommand.php | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/src/AppBundle/Command/ImportStdCommand.php b/src/AppBundle/Command/ImportStdCommand.php index d4c215ce..366e38dc 100644 --- a/src/AppBundle/Command/ImportStdCommand.php +++ b/src/AppBundle/Command/ImportStdCommand.php @@ -232,6 +232,7 @@ protected function execute(InputInterface $input, OutputInterface $output) } + $output->writeln(""); $output->writeln("Generate cards json."); $doctrine = $this->getContainer()->get('doctrine'); @@ -764,6 +765,15 @@ protected function getEntityFromData($entityName, $data, $mandatoryKeys, $foreig if ($cleanName == "Player Side Scheme") { $cleanName = "PlayerSideScheme"; } + if ($cleanName == "Evidence - Means") { + $cleanName = "EvidenceMeans"; + } + if ($cleanName == "Evidence - Motive") { + $cleanName = "EvidenceMotive"; + } + if ($cleanName == "Evidence - Opportunity") { + $cleanName = "EvidenceOpportunity"; + } $functionName = 'import' . $cleanName . 'Data'; $this->$functionName($entity, $data); } @@ -909,6 +919,21 @@ protected function importEnvironmentData(Card $card, $data) } } + protected function importEvidenceMeansData(Card $card, $data) + { + + } + + protected function importEvidenceMotiveData(Card $card, $data) + { + + } + + protected function importEvidenceOpportunityData(Card $card, $data) + { + + } + protected function importSideSchemeData(Card $card, $data) { $optionalKeys = [