diff --git a/rulebook/src/media.d/.data.sh b/rulebook/src/media.d/.data.sh new file mode 100644 index 0000000..5237d91 --- /dev/null +++ b/rulebook/src/media.d/.data.sh @@ -0,0 +1,17 @@ +#! /usr/bin/env bash + +set -euo pipefail + +if ! which qrcode; then + go install github.com/skip2/go-qrcode/qrcode@latest +fi + +cd "$(dirname "$(realpath "$BASH_SOURCE")")" +cat ../../../srv/data.yaml \ +| yq .routes \ +| jq -r keys[] \ +| grep diag \ +| while read -r line; do + f="${line##*/}.png" + qrcode "https://25-bday-qt.home.blapointe.com/${line#/}" > "$f" +done diff --git a/rulebook/src/media.d/bard.png b/rulebook/src/media.d/bard.png new file mode 100644 index 0000000..9b31dac Binary files /dev/null and b/rulebook/src/media.d/bard.png differ diff --git a/rulebook/src/media.d/clank.png b/rulebook/src/media.d/clank.png new file mode 100644 index 0000000..3a7d121 Binary files /dev/null and b/rulebook/src/media.d/clank.png differ diff --git a/rulebook/src/media.d/death-tea.png b/rulebook/src/media.d/death-tea.png new file mode 100644 index 0000000..a5b6fec Binary files /dev/null and b/rulebook/src/media.d/death-tea.png differ diff --git a/rulebook/src/media.d/ilmaris-rifle.png b/rulebook/src/media.d/ilmaris-rifle.png new file mode 100644 index 0000000..44d285f Binary files /dev/null and b/rulebook/src/media.d/ilmaris-rifle.png differ diff --git a/rulebook/src/media.d/katari.png b/rulebook/src/media.d/katari.png new file mode 100644 index 0000000..ca79a7a Binary files /dev/null and b/rulebook/src/media.d/katari.png differ diff --git a/rulebook/src/media.d/legendary-returning-blade.png b/rulebook/src/media.d/legendary-returning-blade.png new file mode 100644 index 0000000..3125ed7 Binary files /dev/null and b/rulebook/src/media.d/legendary-returning-blade.png differ diff --git a/rulebook/src/media.d/rogue.png b/rulebook/src/media.d/rogue.png new file mode 100644 index 0000000..8ab3f76 Binary files /dev/null and b/rulebook/src/media.d/rogue.png differ diff --git a/rulebook/src/media.d/stardrop.png b/rulebook/src/media.d/stardrop.png new file mode 100644 index 0000000..853c2b8 Binary files /dev/null and b/rulebook/src/media.d/stardrop.png differ diff --git a/rulebook/src/media.d/tiny-red-ooze.png b/rulebook/src/media.d/tiny-red-ooze.png new file mode 100644 index 0000000..5530d3d Binary files /dev/null and b/rulebook/src/media.d/tiny-red-ooze.png differ diff --git a/rulebook/src/media.d/young-ice-dragon.png b/rulebook/src/media.d/young-ice-dragon.png new file mode 100644 index 0000000..e6dc0dc Binary files /dev/null and b/rulebook/src/media.d/young-ice-dragon.png differ