Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/floppy/dataslate
Make usable reference booklets for your Warhammer 40k Kill Team
https://github.com/floppy/dataslate
40k hacktoberfest kill-team
Last synced: 27 days ago
JSON representation
Make usable reference booklets for your Warhammer 40k Kill Team
- Host: GitHub
- URL: https://github.com/floppy/dataslate
- Owner: Floppy
- License: other
- Created: 2019-11-25T22:22:41.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T09:40:54.000Z (2 months ago)
- Last Synced: 2024-10-29T11:46:00.912Z (2 months ago)
- Topics: 40k, hacktoberfest, kill-team
- Language: TypeScript
- Homepage: https://dataslate.rocks
- Size: 100 MB
- Stars: 17
- Watchers: 5
- Forks: 14
- Open Issues: 32
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Proper readme to come...
## Requirements
* NodeJS, version specified in package.json
* Yarn### Recommended
* [nodenv](https://github.com/nodenv/nodenv)
* [nodenv-package-json-engine](https://github.com/nodenv/nodenv-package-json-engine)## Extracting abilities from Battlescribe catalogue
```
xml sel -t -v "//*[@name='Description' or @name='Ability' or @name='Abilities']//text()" ../../BSData/wh40k-killteam/*.cat | tr '[:upper:]' '[:lower:]' | sed "s/\"/\"\"/g" | sed "s/^[ -]*//g;s/[^[[:alpha:]]]*$//g" | sed "s/^/\"/g" | sed "s/$/\",/g" | sort | uniq > abilities_new.csv
```## Rules
```
xml sel -N x="http://www.battlescribe.net/schema/catalogueSchema" -t -v "//x:rules/x:rule/x:description/text()" ../../BSData/wh40k-killteam/*.cat | tr '[:upper:]' '[:lower:]' | sed "s/\"/\"\"/g" > rules.csv
```