Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```