aboutsummaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* fix linkable rules and support nestingFlorian Fischer2025-07-031-22/+7
|
* support cards including their pathFlorian Fischer2025-07-031-1/+3
|
* add boss overview pagesFlorian Fischer2025-07-031-0/+303
|
* retrieve draft rates in card listingsFlorian Fischer2025-07-032-4/+21
|
* remove __init__.py since scripts/ is not a packageFlorian Fischer2025-05-191-0/+0
|
* improve code styleFlorian Fischer2025-05-191-24/+36
|
* improve hover link creationFlorian Fischer2025-05-191-11/+30
| | | | | | | * read the complete file from stdin * support links from outside the html root by specifying a path prefix to the card listings * small code cleanups
* data.py: support card names containing their setFlorian Fischer2025-05-191-2/+5
|
* update pylint.rcFlorian Fischer2025-05-191-354/+421
|
* fix mode and typo in scriptsFlorian Fischer2025-05-182-1/+1
|
* make rules in html linkableFlorian Fischer2025-05-181-0/+44
|
* introduce new boss typeFlorian Fischer2025-04-041-1/+1
|
* maps: use strip block chomp operatorFlorian Fischer2023-01-251-2/+1
| | | | | The YAML strip block chomp operator causes all trailing newlines to be stripped from the map definition.
* use absolute image path when invoking generate_card_hover_links.pyFlorian Fischer2022-01-041-4/+8
|
* use python to generate card listingsFlorian Fischer2022-01-041-0/+51
| | | | | | | | | | The previous make/shell based approach results in only a single placeholder id 'placeholder-0' because we invoke generate_card.py for each card which will initialize the placeholder id count each time with 0. Now we generate the whole car listing in python which greatly reduces the number of program invocations and allows the placeholder id to be incremented for each listed card.
* improve scriptsFlorian Fischer2022-01-044-25/+90
| | | | | | | | * move more generic code handling data to data.py * fix markdown generation in generate_deck.py * make gen_hoverable_link more flexible by introducing callbacks to generate the relevant link components. * fix the link targets for hoverable links in the generated card markdown
* fix mypy invocation for newer mypy versionFlorian Fischer2022-01-041-1/+1
| | | | | Mypy >= 0.780 complained about finding a source file multiple times once via the passed path and once in the module scripts.
* remove unused argument in generate_map_imgFlorian Fischer2022-01-041-2/+2
|
* fix pylint not handling local imports correctlyFlorian Fischer2022-01-041-1/+1
|
* generalize hover link creation and use them in card listingsFlorian Fischer2022-01-032-7/+38
|
* generate_card: use latex fields for unit statsFlorian Fischer2022-01-021-1/+1
|
* generate_map_img: add vertical gateFlorian Fischer2021-12-121-2/+2
|
* use selector to choose correct tower tileFlorian Fischer2021-12-121-14/+26
| | | | | A selector string contains all 4 directions: [left, right, up, down] in that order.
* generate_deck: add markdown generation and improve codeFlorian Fischer2021-12-121-6/+9
|
* improve fortification tilesFlorian Fischer2021-12-121-30/+79
|
* scripts: improve code qualityFlorian Fischer2021-12-123-5/+3
|
* Merge branch 'tyrant'Florian Fischer2021-12-101-1/+13
|\
| * generate_card: als print unit stats without effect italicFlorian Fischer2021-12-101-1/+1
| |
| * generate_card.py: fix intension without effect generationFlorian Fischer2021-12-101-2/+5
| |
| * intermeddiate tyrant commitFlorian Fischer2021-12-091-0/+9
| |
* | [generatecard_hover_links] fix popups not beeing in the viewportFlorian Fischer2021-12-101-2/+23
|/
* hover links: don't be pseudo fancyFlorian Fischer2021-12-081-1/+1
| | | | TODO: be really fancy and position the popup properly
* ignore __pycache__Florian Fischer2021-12-081-0/+1
|
* generate_deck: format and move data related code into data.pyFlorian Fischer2021-12-081-17/+4
|
* html: add script generating hoverable card links with image previewsFlorian Fischer2021-12-083-0/+93
|
* [html] add decks page and cleanup makefileFlorian Fischer2021-12-061-1/+1
|
* add deck support and three decksFlorian Fischer2021-12-061-0/+94
| | | | | | | | | Add script to geenrate latex file containing all cards in a deck. Add make rules to generate and build the deck latex. Add decks: * spell slinger * recruiter rush * approach
* generate_card.py: prefix full actions with '\faRedo:'Florian Fischer2021-11-201-1/+1
|
* [generate_card.py] assert against useless use of listsFlorian Fischer2021-10-101-0/+2
|
* [generate_card] fix use of not decalred latex_valueFlorian Fischer2021-10-101-2/+6
|
* [de/rules] use Spiel-/ and Unterhaltskosten for play and upkeep costFlorian Fischer2021-10-101-2/+2
|
* [generate_card] generalize list filed handling, add babelFlorian Fischer2021-10-101-29/+50
| | | | | | | * Use lists wehere appropriate * Fix some typos * Rename thieve to thief * units add \n after upkeep cost
* [generate_map_img] fix pylint warnings and type hintsFlorian Fischer2021-10-101-10/+16
|
* [scripts/generate_card] fix type hintsFlorian Fischer2021-10-101-5/+5
|
* [scripts/generate_card] support multiple full_actionsFlorian Fischer2021-10-101-14/+33
|
* add unfinished potions setFlorian Fischer2021-10-081-1/+9
| | | | | | | | | | | Potions are designed as a different on field resource to diversify game play. Potions may be used offensively or defensively. They are a on field equivalent to spells with harder timing restrictions, public information but artifact synergies and thus should be cheaper than their spell equivalent. In particular because unused spells can be used to generate resource by discarding two cards. Played potions are "dead" until they are used.
* [scripts/Makefile] improve check-pylint and add check-mypyFlorian Fischer2021-10-071-2/+5
|
* [generate_card.py] translate durabilityFlorian Fischer2021-10-071-1/+1
|
* [maps] add new tyrant map, tiles and improve map generation scriptFlorian Fischer2021-09-131-51/+154
|
* [generate_card] add latex_name supportFlorian Fischer2021-04-281-1/+1
|