Merge remote-tracking branch 'origin/main'
46
artwork/achievements/README.md
Normal file
|
|
@ -0,0 +1,46 @@
|
||||||
|
# Vanuatu achievement artwork
|
||||||
|
|
||||||
|
Original warm island vector compositions for the 16 existing achievements.
|
||||||
|
Tracking: https://codeberg.org/boardgamers/boardgamers/issues/595
|
||||||
|
|
||||||
|
## Provenance and editing
|
||||||
|
|
||||||
|
All geometry in `scripts/achievement-art.mjs` was newly drawn for this change;
|
||||||
|
no publisher art, photographs, downloaded icons, fonts, or traced paths are inputs.
|
||||||
|
The original geometry in that script and its generated SVG/PNG artwork is dedicated
|
||||||
|
to the public domain under CC0-1.0 (https://creativecommons.org/publicdomain/zero/1.0/).
|
||||||
|
System sans-serif is used only to render supplementary threshold digits.
|
||||||
|
|
||||||
|
`viewer/art.js` at baseline commit `9fefc927595df49b939cad14e96d068a0b7ecf3e`
|
||||||
|
provides semantic vocabulary only: sail/boat, build/hut, point/shell, coin/vatu,
|
||||||
|
explore/chest, tourist/pawn, marker/stack, dike and water. No path or source bytes
|
||||||
|
from it are copied. This avoids assumptions about publisher derivative rights.
|
||||||
|
|
||||||
|
Run `pnpm install --frozen-lockfile`, install Playwright Chromium if needed, then
|
||||||
|
`pnpm art:achievements`. The generator is the editable source; individual SVGs
|
||||||
|
are also editable vector exports. Chromium renders transparent 256px PNGs offline,
|
||||||
|
with no server or database. The export manifest records source and asset SHA-256s.
|
||||||
|
Regenerate after changing or formatting the generator. Renderer/font differences
|
||||||
|
may change raster bytes; use the checked-in PNGs as the reviewed upload candidates.
|
||||||
|
Contact sheets show 32/48/64/96px circular images on light and dark backgrounds.
|
||||||
|
|
||||||
|
Count-specific victories contain exactly 2/3/4/5 outrigger boats respectively.
|
||||||
|
Four huts and three occupied islands are literal. Score/cash/treasure/tourism
|
||||||
|
numbers represent thresholds, not counts of decorative objects. Flood survival
|
||||||
|
uses an eight-dot completed-round ring and dike without a victory flag; flood
|
||||||
|
victory has a flag. The no-characters award uses a crossed empty card beside
|
||||||
|
action tokens, not a portrait. Ordinary tourism pawns denote visitors only.
|
||||||
|
|
||||||
|
## Contract and review
|
||||||
|
|
||||||
|
`baseline.json` is the revision-1 manifest from engine 0.2.1. Tests require identical
|
||||||
|
IDs/names/descriptions, a pinned unchanged evaluator hash, protocol-0.11 schema,
|
||||||
|
complete asset references, exact boat counts, unique hashes and decoded dimensions.
|
||||||
|
Engine 0.2.2 / manifest revision 2 changes only icon references and revision.
|
||||||
|
|
||||||
|
Canonical release target is Codeberg `boardgamers/vanuatu`, branch `main`;
|
||||||
|
configured public mirror is GitHub `boardgamers/vanuatu`, branch `main`.
|
||||||
|
No assets or engine have been uploaded or activated. Independent code and actual
|
||||||
|
visual review are required before publication. Do not use broad metadata publisher
|
||||||
|
scripts: subsequent publication must upload only these 16 keys and activate only
|
||||||
|
the exact tested engine package, preserving viewer/settings/visibility metadata.
|
||||||
BIN
artwork/achievements/achievement-duel-victory.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
1
artwork/achievements/achievement-duel-victory.svg
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#285c60" stroke="#efd49a" stroke-width="3"/><g stroke="#344e47" stroke-width="2.5" stroke-linejoin="round" stroke-linecap="round"><path d="M14 88Q24 80 35 88T57 88T79 88T111 88M25 99Q36 92 47 99T69 99T98 99" fill="none" stroke="#a9ded5"/><g transform="translate(64 43) scale(0.65)"><path d="M-30 6Q-36-3-19-10L3-15 25-6Q40 8 20 14L-13 17Z" fill="#efd49a" /><path d="M-22 3-11-7 7-8 22 1 12 7-10 9Z" fill="#6ca57b" /></g><g transform="translate(65 28) scale(0.55)"><path d="M0 23V-17" fill="none" /><path d="M0-17H24L17-8 24 0H0Z" fill="#f3ae42" /></g><g data-boat="true" transform="translate(33 70) rotate(15) scale(0.85)"><path d="M-21 9H23L13 19H-11Z" fill="#f3ae42" /><path d="M0 8V-23L18 5H0Z" fill="#fff1c9" /><path d="M-19 24H20M-10 14V24M11 14V24" fill="none" /></g><g data-boat="true" transform="translate(91 77) rotate(-15) scale(0.85)"><path d="M-21 9H23L13 19H-11Z" fill="#e9a982" /><path d="M0 8V-23L18 5H0Z" fill="#fff1c9" /><path d="M-19 24H20M-10 14V24M11 14V24" fill="none" /></g></g></svg>
|
||||||
|
After Width: | Height: | Size: 1.1 KiB |
BIN
artwork/achievements/achievement-fifty-points.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
1
artwork/achievements/achievement-fifty-points.svg
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#285c60" stroke="#efd49a" stroke-width="3"/><g stroke="#344e47" stroke-width="2.5" stroke-linejoin="round" stroke-linecap="round"><path d="M14 88Q24 80 35 88T57 88T79 88T111 88M25 99Q36 92 47 99T69 99T98 99" fill="none" stroke="#a9ded5"/><g transform="translate(64 82) scale(1.25)"><path d="M-30 6Q-36-3-19-10L3-15 25-6Q40 8 20 14L-13 17Z" fill="#efd49a" /><path d="M-22 3-11-7 7-8 22 1 12 7-10 9Z" fill="#6ca57b" /></g><g transform="translate(45 70) scale(0.7)"><path d="M-14-3H14V18H-14Z" fill="#eab168" /><path d="M-21-2 0-22 21-2Z" fill="#c76a40" /><path d="M-4 18V5H5V18" fill="#3a5550" /></g><g transform="translate(82 71) scale(0.7)"><path d="M-14-3H14V18H-14Z" fill="#eab168" /><path d="M-21-2 0-22 21-2Z" fill="#c76a40" /><path d="M-4 18V5H5V18" fill="#3a5550" /></g><g transform="translate(64 41) scale(0.85)"><path d="M-21-10Q0-29 21-10L7 17H-7Z" fill="#fff0c2" /><path d="M-13-9-4 11M0-15V11M13-9 4 11" fill="none" /></g><g stroke="none"><rect x="43" y="91" width="42" height="25" rx="12" fill="#fff1ce"/><text x="64" y="110" text-anchor="middle" font-family="sans-serif" font-size="21" font-weight="bold" fill="#294e50">50</text></g></g></svg>
|
||||||
|
After Width: | Height: | Size: 1.3 KiB |
BIN
artwork/achievements/achievement-four-huts.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
1
artwork/achievements/achievement-four-huts.svg
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#285c60" stroke="#efd49a" stroke-width="3"/><g stroke="#344e47" stroke-width="2.5" stroke-linejoin="round" stroke-linecap="round"><path d="M14 88Q24 80 35 88T57 88T79 88T111 88M25 99Q36 92 47 99T69 99T98 99" fill="none" stroke="#a9ded5"/><g transform="translate(64 74) scale(1.45)"><path d="M-30 6Q-36-3-19-10L3-15 25-6Q40 8 20 14L-13 17Z" fill="#efd49a" /><path d="M-22 3-11-7 7-8 22 1 12 7-10 9Z" fill="#6ca57b" /></g><g transform="translate(44 49) scale(0.75)"><path d="M-14-3H14V18H-14Z" fill="#eab168" /><path d="M-21-2 0-22 21-2Z" fill="#c76a40" /><path d="M-4 18V5H5V18" fill="#3a5550" /></g><g transform="translate(84 49) scale(0.75)"><path d="M-14-3H14V18H-14Z" fill="#eab168" /><path d="M-21-2 0-22 21-2Z" fill="#c76a40" /><path d="M-4 18V5H5V18" fill="#3a5550" /></g><g transform="translate(43 78) scale(0.75)"><path d="M-14-3H14V18H-14Z" fill="#eab168" /><path d="M-21-2 0-22 21-2Z" fill="#c76a40" /><path d="M-4 18V5H5V18" fill="#3a5550" /></g><g transform="translate(85 78) scale(0.75)"><path d="M-14-3H14V18H-14Z" fill="#eab168" /><path d="M-21-2 0-22 21-2Z" fill="#c76a40" /><path d="M-4 18V5H5V18" fill="#3a5550" /></g></g></svg>
|
||||||
|
After Width: | Height: | Size: 1.2 KiB |
BIN
artwork/achievements/achievement-full-table-victory.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
1
artwork/achievements/achievement-full-table-victory.svg
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#285c60" stroke="#efd49a" stroke-width="3"/><g stroke="#344e47" stroke-width="2.5" stroke-linejoin="round" stroke-linecap="round"><path d="M14 88Q24 80 35 88T57 88T79 88T111 88M25 99Q36 92 47 99T69 99T98 99" fill="none" stroke="#a9ded5"/><g transform="translate(64 65) scale(0.6)"><path d="M-30 6Q-36-3-19-10L3-15 25-6Q40 8 20 14L-13 17Z" fill="#efd49a" /><path d="M-22 3-11-7 7-8 22 1 12 7-10 9Z" fill="#6ca57b" /></g><g transform="translate(65 54) scale(0.5)"><path d="M0 23V-17" fill="none" /><path d="M0-17H24L17-8 24 0H0Z" fill="#f3ae42" /></g><g data-boat="true" transform="translate(64 25) rotate(0) scale(0.53)"><path d="M-21 9H23L13 19H-11Z" fill="#f3ae42" /><path d="M0 8V-23L18 5H0Z" fill="#fff1c9" /><path d="M-19 24H20M-10 14V24M11 14V24" fill="none" /></g><g data-boat="true" transform="translate(101.09120413551099 51.94833721937705) rotate(72) scale(0.53)"><path d="M-21 9H23L13 19H-11Z" fill="#e9a982" /><path d="M0 8V-23L18 5H0Z" fill="#fff1c9" /><path d="M-19 24H20M-10 14V24M11 14V24" fill="none" /></g><g data-boat="true" transform="translate(86.92362483940646 95.55166278062295) rotate(144) scale(0.53)"><path d="M-21 9H23L13 19H-11Z" fill="#e9a982" /><path d="M0 8V-23L18 5H0Z" fill="#fff1c9" /><path d="M-19 24H20M-10 14V24M11 14V24" fill="none" /></g><g data-boat="true" transform="translate(41.07637516059356 95.55166278062295) rotate(216) scale(0.53)"><path d="M-21 9H23L13 19H-11Z" fill="#e9a982" /><path d="M0 8V-23L18 5H0Z" fill="#fff1c9" /><path d="M-19 24H20M-10 14V24M11 14V24" fill="none" /></g><g data-boat="true" transform="translate(26.908795864489008 51.94833721937705) rotate(288) scale(0.53)"><path d="M-21 9H23L13 19H-11Z" fill="#e9a982" /><path d="M0 8V-23L18 5H0Z" fill="#fff1c9" /><path d="M-19 24H20M-10 14V24M11 14V24" fill="none" /></g></g></svg>
|
||||||
|
After Width: | Height: | Size: 1.9 KiB |
BIN
artwork/achievements/achievement-island-victory.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
1
artwork/achievements/achievement-island-victory.svg
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#285c60" stroke="#efd49a" stroke-width="3"/><g stroke="#344e47" stroke-width="2.5" stroke-linejoin="round" stroke-linecap="round"><path d="M14 88Q24 80 35 88T57 88T79 88T111 88M25 99Q36 92 47 99T69 99T98 99" fill="none" stroke="#a9ded5"/><g transform="translate(64 84) scale(1.4)"><path d="M-30 6Q-36-3-19-10L3-15 25-6Q40 8 20 14L-13 17Z" fill="#efd49a" /><path d="M-22 3-11-7 7-8 22 1 12 7-10 9Z" fill="#6ca57b" /></g><g transform="translate(57 65) scale(1.25)"><path d="M-14-3H14V18H-14Z" fill="#eab168" /><path d="M-21-2 0-22 21-2Z" fill="#c76a40" /><path d="M-4 18V5H5V18" fill="#3a5550" /></g><g transform="translate(77 40) scale(0.9)"><path d="M0 23V-17" fill="none" /><path d="M0-17H24L17-8 24 0H0Z" fill="#f3ae42" /></g></g></svg>
|
||||||
|
After Width: | Height: | Size: 862 B |
BIN
artwork/achievements/achievement-nine-vatus.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
1
artwork/achievements/achievement-nine-vatus.svg
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#285c60" stroke="#efd49a" stroke-width="3"/><g stroke="#344e47" stroke-width="2.5" stroke-linejoin="round" stroke-linecap="round"><path d="M14 88Q24 80 35 88T57 88T79 88T111 88M25 99Q36 92 47 99T69 99T98 99" fill="none" stroke="#a9ded5"/><path d="M42 43Q29 63 32 86Q64 111 96 86Q99 63 86 43Z" fill="#c9864b" /><ellipse cx="64" cy="44" rx="24" ry="10" fill="#354d49"/><circle cx="48" cy="42" r="10" fill="#f6d385"/><path d="M44 38l4 8 4-8" fill="none" /><circle cx="64" cy="36" r="10" fill="#f6d385"/><path d="M60 32l4 8 4-8" fill="none" /><circle cx="79" cy="44" r="10" fill="#f6d385"/><path d="M75 40l4 8 4-8" fill="none" /><g stroke="none"><rect x="43" y="91" width="42" height="25" rx="12" fill="#fff1ce"/><text x="64" y="110" text-anchor="middle" font-family="sans-serif" font-size="21" font-weight="bold" fill="#294e50">9</text></g></g></svg>
|
||||||
|
After Width: | Height: | Size: 971 B |
BIN
artwork/achievements/achievement-no-characters-victory.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
|
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#285c60" stroke="#efd49a" stroke-width="3"/><g stroke="#344e47" stroke-width="2.5" stroke-linejoin="round" stroke-linecap="round"><path d="M14 88Q24 80 35 88T57 88T79 88T111 88M25 99Q36 92 47 99T69 99T98 99" fill="none" stroke="#a9ded5"/><rect x="65" y="35" width="31" height="48" rx="5" fill="#fff0cd" stroke-dasharray="5 4"/><path d="M71 76 89 42" fill="none" stroke="#b15e42"/><g transform="translate(36 39) scale(0.9)"><path d="M0 23V-17" fill="none" /><path d="M0-17H24L17-8 24 0H0Z" fill="#f3ae42" /></g><ellipse cx="43" cy="77" rx="20" ry="8" fill="#d57b4e"/><ellipse cx="43" cy="68" rx="20" ry="8" fill="#d57b4e"/><ellipse cx="43" cy="59" rx="20" ry="8" fill="#d57b4e"/></g></svg>
|
||||||
|
After Width: | Height: | Size: 812 B |
BIN
artwork/achievements/achievement-quartet-victory.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
1
artwork/achievements/achievement-quartet-victory.svg
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#285c60" stroke="#efd49a" stroke-width="3"/><g stroke="#344e47" stroke-width="2.5" stroke-linejoin="round" stroke-linecap="round"><path d="M14 88Q24 80 35 88T57 88T79 88T111 88M25 99Q36 92 47 99T69 99T98 99" fill="none" stroke="#a9ded5"/><g transform="translate(64 64) scale(0.64)"><path d="M-30 6Q-36-3-19-10L3-15 25-6Q40 8 20 14L-13 17Z" fill="#efd49a" /><path d="M-22 3-11-7 7-8 22 1 12 7-10 9Z" fill="#6ca57b" /></g><g transform="translate(64 54) scale(0.5)"><path d="M0 23V-17" fill="none" /><path d="M0-17H24L17-8 24 0H0Z" fill="#f3ae42" /></g><g data-boat="true" transform="translate(64 28) rotate(0) scale(0.57)"><path d="M-21 9H23L13 19H-11Z" fill="#f3ae42" /><path d="M0 8V-23L18 5H0Z" fill="#fff1c9" /><path d="M-19 24H20M-10 14V24M11 14V24" fill="none" /></g><g data-boat="true" transform="translate(101 64) rotate(90) scale(0.57)"><path d="M-21 9H23L13 19H-11Z" fill="#e9a982" /><path d="M0 8V-23L18 5H0Z" fill="#fff1c9" /><path d="M-19 24H20M-10 14V24M11 14V24" fill="none" /></g><g data-boat="true" transform="translate(64 100) rotate(180) scale(0.57)"><path d="M-21 9H23L13 19H-11Z" fill="#e9a982" /><path d="M0 8V-23L18 5H0Z" fill="#fff1c9" /><path d="M-19 24H20M-10 14V24M11 14V24" fill="none" /></g><g data-boat="true" transform="translate(27 64) rotate(-90) scale(0.57)"><path d="M-21 9H23L13 19H-11Z" fill="#e9a982" /><path d="M0 8V-23L18 5H0Z" fill="#fff1c9" /><path d="M-19 24H20M-10 14V24M11 14V24" fill="none" /></g></g></svg>
|
||||||
|
After Width: | Height: | Size: 1.5 KiB |
BIN
artwork/achievements/achievement-rising-waters-victory.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
|
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#285c60" stroke="#efd49a" stroke-width="3"/><g stroke="#344e47" stroke-width="2.5" stroke-linejoin="round" stroke-linecap="round"><path d="M14 88Q24 80 35 88T57 88T79 88T111 88M25 99Q36 92 47 99T69 99T98 99" fill="none" stroke="#a9ded5"/><g transform="translate(59 77) scale(1.2)"><path d="M-30 6Q-36-3-19-10L3-15 25-6Q40 8 20 14L-13 17Z" fill="#efd49a" /><path d="M-22 3-11-7 7-8 22 1 12 7-10 9Z" fill="#6ca57b" /></g><g transform="translate(53 59) scale(1)"><path d="M-14-3H14V18H-14Z" fill="#eab168" /><path d="M-21-2 0-22 21-2Z" fill="#c76a40" /><path d="M-4 18V5H5V18" fill="#3a5550" /></g><g transform="translate(73 36) scale(0.8)"><path d="M0 23V-17" fill="none" /><path d="M0-17H24L17-8 24 0H0Z" fill="#f3ae42" /></g><path d="M13 92Q23 63 48 75T83 70Q111 46 110 80Q99 101 75 97T13 106Z" fill="#469cac" /><path d="M22 89Q35 76 53 85T88 80" fill="none" stroke="#d5eee1"/></g></svg>
|
||||||
|
After Width: | Height: | Size: 1,011 B |
BIN
artwork/achievements/achievement-seventy-five-points.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
1
artwork/achievements/achievement-seventy-five-points.svg
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#285c60" stroke="#efd49a" stroke-width="3"/><g stroke="#344e47" stroke-width="2.5" stroke-linejoin="round" stroke-linecap="round"><path d="M14 88Q24 80 35 88T57 88T79 88T111 88M25 99Q36 92 47 99T69 99T98 99" fill="none" stroke="#a9ded5"/><g transform="translate(64 86) scale(1.35)"><path d="M-30 6Q-36-3-19-10L3-15 25-6Q40 8 20 14L-13 17Z" fill="#efd49a" /><path d="M-22 3-11-7 7-8 22 1 12 7-10 9Z" fill="#6ca57b" /></g><path d="M25 81H103V89H25ZM35 65H93V75H35Z" fill="#bf975a" /><g transform="translate(43 67) scale(0.56)"><path d="M-14-3H14V18H-14Z" fill="#eab168" /><path d="M-21-2 0-22 21-2Z" fill="#c76a40" /><path d="M-4 18V5H5V18" fill="#3a5550" /></g><g transform="translate(85 67) scale(0.56)"><path d="M-14-3H14V18H-14Z" fill="#eab168" /><path d="M-21-2 0-22 21-2Z" fill="#c76a40" /><path d="M-4 18V5H5V18" fill="#3a5550" /></g><g transform="translate(64 55) scale(0.6)"><path d="M-14-3H14V18H-14Z" fill="#eab168" /><path d="M-21-2 0-22 21-2Z" fill="#c76a40" /><path d="M-4 18V5H5V18" fill="#3a5550" /></g><g transform="translate(64 29) scale(0.8)"><path d="M-21-10Q0-29 21-10L7 17H-7Z" fill="#fff0c2" /><path d="M-13-9-4 11M0-15V11M13-9 4 11" fill="none" /></g><path d="M35 28 29 22M93 28 99 22M64 8V3" fill="none" stroke="#f3b850"/><g stroke="none"><rect x="43" y="91" width="42" height="25" rx="12" fill="#fff1ce"/><text x="64" y="110" text-anchor="middle" font-family="sans-serif" font-size="21" font-weight="bold" fill="#294e50">75</text></g></g></svg>
|
||||||
|
After Width: | Height: | Size: 1.6 KiB |
BIN
artwork/achievements/achievement-three-islands.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
1
artwork/achievements/achievement-three-islands.svg
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#285c60" stroke="#efd49a" stroke-width="3"/><g stroke="#344e47" stroke-width="2.5" stroke-linejoin="round" stroke-linecap="round"><path d="M14 88Q24 80 35 88T57 88T79 88T111 88M25 99Q36 92 47 99T69 99T98 99" fill="none" stroke="#a9ded5"/><path d="M64 39 31 83 96 83Z" fill="none" stroke-dasharray="4 5" stroke="#e9d7a6"/><g transform="translate(64 36) scale(0.65)"><path d="M-30 6Q-36-3-19-10L3-15 25-6Q40 8 20 14L-13 17Z" fill="#efd49a" /><path d="M-22 3-11-7 7-8 22 1 12 7-10 9Z" fill="#6ca57b" /></g><g transform="translate(64 26) scale(0.6)"><path d="M-14-3H14V18H-14Z" fill="#eab168" /><path d="M-21-2 0-22 21-2Z" fill="#c76a40" /><path d="M-4 18V5H5V18" fill="#3a5550" /></g><g transform="translate(33 83) scale(0.65)"><path d="M-30 6Q-36-3-19-10L3-15 25-6Q40 8 20 14L-13 17Z" fill="#efd49a" /><path d="M-22 3-11-7 7-8 22 1 12 7-10 9Z" fill="#6ca57b" /></g><g transform="translate(33 73) scale(0.6)"><path d="M-14-3H14V18H-14Z" fill="#eab168" /><path d="M-21-2 0-22 21-2Z" fill="#c76a40" /><path d="M-4 18V5H5V18" fill="#3a5550" /></g><g transform="translate(95 83) scale(0.65)"><path d="M-30 6Q-36-3-19-10L3-15 25-6Q40 8 20 14L-13 17Z" fill="#efd49a" /><path d="M-22 3-11-7 7-8 22 1 12 7-10 9Z" fill="#6ca57b" /></g><g transform="translate(95 73) scale(0.6)"><path d="M-14-3H14V18H-14Z" fill="#eab168" /><path d="M-21-2 0-22 21-2Z" fill="#c76a40" /><path d="M-4 18V5H5V18" fill="#3a5550" /></g></g></svg>
|
||||||
|
After Width: | Height: | Size: 1.5 KiB |
BIN
artwork/achievements/achievement-tourism-twelve.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
1
artwork/achievements/achievement-tourism-twelve.svg
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#285c60" stroke="#efd49a" stroke-width="3"/><g stroke="#344e47" stroke-width="2.5" stroke-linejoin="round" stroke-linecap="round"><path d="M14 88Q24 80 35 88T57 88T79 88T111 88M25 99Q36 92 47 99T69 99T98 99" fill="none" stroke="#a9ded5"/><g transform="translate(64 78) scale(1.4)"><path d="M-30 6Q-36-3-19-10L3-15 25-6Q40 8 20 14L-13 17Z" fill="#efd49a" /><path d="M-22 3-11-7 7-8 22 1 12 7-10 9Z" fill="#6ca57b" /></g><g transform="translate(42 53) scale(0.8)"><path d="M-14-3H14V18H-14Z" fill="#eab168" /><path d="M-21-2 0-22 21-2Z" fill="#c76a40" /><path d="M-4 18V5H5V18" fill="#3a5550" /></g><g transform="translate(86 53) scale(0.8)"><path d="M-14-3H14V18H-14Z" fill="#eab168" /><path d="M-21-2 0-22 21-2Z" fill="#c76a40" /><path d="M-4 18V5H5V18" fill="#3a5550" /></g><circle cx="47" cy="71" r="5" fill="#fff2ce"/><path d="M43 77h8l3 14h-14Z" fill="#fff2ce" /><circle cx="65" cy="71" r="5" fill="#fff2ce"/><path d="M61 77h8l3 14h-14Z" fill="#fff2ce" /><circle cx="83" cy="71" r="5" fill="#fff2ce"/><path d="M79 77h8l3 14h-14Z" fill="#fff2ce" /><g transform="translate(64 26) scale(0.45)"><path d="M-21-10Q0-29 21-10L7 17H-7Z" fill="#fff0c2" /><path d="M-13-9-4 11M0-15V11M13-9 4 11" fill="none" /></g><g stroke="none"><rect x="43" y="91" width="42" height="25" rx="12" fill="#fff1ce"/><text x="64" y="110" text-anchor="middle" font-family="sans-serif" font-size="21" font-weight="bold" fill="#294e50">12</text></g></g></svg>
|
||||||
|
After Width: | Height: | Size: 1.5 KiB |
BIN
artwork/achievements/achievement-treasure-six.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
1
artwork/achievements/achievement-treasure-six.svg
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#285c60" stroke="#efd49a" stroke-width="3"/><g stroke="#344e47" stroke-width="2.5" stroke-linejoin="round" stroke-linecap="round"><path d="M14 88Q24 80 35 88T57 88T79 88T111 88M25 99Q36 92 47 99T69 99T98 99" fill="none" stroke="#a9ded5"/><g transform="translate(64 86) scale(1.2)"><path d="M-30 6Q-36-3-19-10L3-15 25-6Q40 8 20 14L-13 17Z" fill="#efd49a" /><path d="M-22 3-11-7 7-8 22 1 12 7-10 9Z" fill="#6ca57b" /></g><g transform="translate(64 65) scale(1)"><path d="M-24 0V-13Q0-29 24-13V0Z" fill="#d69b48" /><path d="M-25 0H25V25H-25Z" fill="#a96237" /><path d="M-14 0V25M14 0V25" fill="none" stroke="#f2c872" stroke-width="5"/><path d="M-4 0H4V10H-4Z" fill="#fff0c2" /></g><g transform="translate(36 91) scale(0.4)"><path d="M-21-10Q0-29 21-10L7 17H-7Z" fill="#fff0c2" /><path d="M-13-9-4 11M0-15V11M13-9 4 11" fill="none" /></g><g stroke="none"><rect x="43" y="91" width="42" height="25" rx="12" fill="#fff1ce"/><text x="64" y="110" text-anchor="middle" font-family="sans-serif" font-size="21" font-weight="bold" fill="#294e50">6</text></g></g></svg>
|
||||||
|
After Width: | Height: | Size: 1.2 KiB |
BIN
artwork/achievements/achievement-treasure-twelve.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
1
artwork/achievements/achievement-treasure-twelve.svg
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#285c60" stroke="#efd49a" stroke-width="3"/><g stroke="#344e47" stroke-width="2.5" stroke-linejoin="round" stroke-linecap="round"><path d="M14 88Q24 80 35 88T57 88T79 88T111 88M25 99Q36 92 47 99T69 99T98 99" fill="none" stroke="#a9ded5"/><g transform="translate(64 62) scale(1.3)"><path d="M-24-6-17-28H24L28-6Z" fill="#d69b48" /><g transform="translate(-10 -6) scale(0.45)"><path d="M-21-10Q0-29 21-10L7 17H-7Z" fill="#fff0c2" /><path d="M-13-9-4 11M0-15V11M13-9 4 11" fill="none" /></g><g transform="translate(9 -10) scale(0.55)"><path d="M-21-10Q0-29 21-10L7 17H-7Z" fill="#fff0c2" /><path d="M-13-9-4 11M0-15V11M13-9 4 11" fill="none" /></g><path d="M-25 0H25V25H-25Z" fill="#a96237" /><path d="M-14 0V25M14 0V25" fill="none" stroke="#f2c872" stroke-width="5"/><path d="M-4 0H4V10H-4Z" fill="#fff0c2" /></g><g transform="translate(29 84) scale(0.5)"><path d="M-21-10Q0-29 21-10L7 17H-7Z" fill="#fff0c2" /><path d="M-13-9-4 11M0-15V11M13-9 4 11" fill="none" /></g><g transform="translate(99 84) scale(0.5)"><path d="M-21-10Q0-29 21-10L7 17H-7Z" fill="#fff0c2" /><path d="M-13-9-4 11M0-15V11M13-9 4 11" fill="none" /></g><g stroke="none"><rect x="43" y="91" width="42" height="25" rx="12" fill="#fff1ce"/><text x="64" y="110" text-anchor="middle" font-family="sans-serif" font-size="21" font-weight="bold" fill="#294e50">12</text></g></g></svg>
|
||||||
|
After Width: | Height: | Size: 1.4 KiB |
BIN
artwork/achievements/achievement-trio-victory.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
1
artwork/achievements/achievement-trio-victory.svg
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#285c60" stroke="#efd49a" stroke-width="3"/><g stroke="#344e47" stroke-width="2.5" stroke-linejoin="round" stroke-linecap="round"><path d="M14 88Q24 80 35 88T57 88T79 88T111 88M25 99Q36 92 47 99T69 99T98 99" fill="none" stroke="#a9ded5"/><g transform="translate(64 67) scale(0.65)"><path d="M-30 6Q-36-3-19-10L3-15 25-6Q40 8 20 14L-13 17Z" fill="#efd49a" /><path d="M-22 3-11-7 7-8 22 1 12 7-10 9Z" fill="#6ca57b" /></g><g data-boat="true" transform="translate(64 32) rotate(0) scale(0.68)"><path d="M-21 9H23L13 19H-11Z" fill="#f3ae42" /><path d="M0 8V-23L18 5H0Z" fill="#fff1c9" /><path d="M-19 24H20M-10 14V24M11 14V24" fill="none" /></g><g data-boat="true" transform="translate(33 87) rotate(-20) scale(0.68)"><path d="M-21 9H23L13 19H-11Z" fill="#e9a982" /><path d="M0 8V-23L18 5H0Z" fill="#fff1c9" /><path d="M-19 24H20M-10 14V24M11 14V24" fill="none" /></g><g data-boat="true" transform="translate(95 87) rotate(20) scale(0.68)"><path d="M-21 9H23L13 19H-11Z" fill="#e9a982" /><path d="M0 8V-23L18 5H0Z" fill="#fff1c9" /><path d="M-19 24H20M-10 14V24M11 14V24" fill="none" /></g><g transform="translate(66 60) scale(0.5)"><path d="M0 23V-17" fill="none" /><path d="M0-17H24L17-8 24 0H0Z" fill="#f3ae42" /></g></g></svg>
|
||||||
|
After Width: | Height: | Size: 1.3 KiB |
BIN
artwork/achievements/achievement-weather-the-waters.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
1
artwork/achievements/achievement-weather-the-waters.svg
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#285c60" stroke="#efd49a" stroke-width="3"/><g stroke="#344e47" stroke-width="2.5" stroke-linejoin="round" stroke-linecap="round"><path d="M14 88Q24 80 35 88T57 88T79 88T111 88M25 99Q36 92 47 99T69 99T98 99" fill="none" stroke="#a9ded5"/><circle cx="112" cy="64" r="4" fill="#f6d793"/><circle cx="97.94112549695429" cy="97.94112549695427" r="4" fill="#f6d793"/><circle cx="64" cy="112" r="4" fill="#f6d793"/><circle cx="30.058874503045722" cy="97.94112549695429" r="4" fill="#f6d793"/><circle cx="16" cy="64" r="4" fill="#f6d793"/><circle cx="30.058874503045715" cy="30.058874503045722" r="4" fill="#f6d793"/><circle cx="63.99999999999999" cy="16" r="4" fill="#f6d793"/><circle cx="97.94112549695427" cy="30.058874503045715" r="4" fill="#f6d793"/><g transform="translate(64 68) scale(0.95)"><path d="M-30 6Q-36-3-19-10L3-15 25-6Q40 8 20 14L-13 17Z" fill="#efd49a" /><path d="M-22 3-11-7 7-8 22 1 12 7-10 9Z" fill="#6ca57b" /></g><g transform="translate(63 51) scale(0.9)"><path d="M-14-3H14V18H-14Z" fill="#eab168" /><path d="M-21-2 0-22 21-2Z" fill="#c76a40" /><path d="M-4 18V5H5V18" fill="#3a5550" /></g><path d="M13 92Q23 63 48 75T83 70Q111 46 110 80Q99 101 75 97T13 106Z" fill="#469cac" /><path d="M22 89Q35 76 53 85T88 80" fill="none" stroke="#d5eee1"/><path d="M28 77 89 65 95 75 31 88Z" fill="#b99873" /></g></svg>
|
||||||
|
After Width: | Height: | Size: 1.4 KiB |
85
artwork/achievements/baseline.json
Normal file
|
|
@ -0,0 +1,85 @@
|
||||||
|
{
|
||||||
|
"revision": 1,
|
||||||
|
"achievements": [
|
||||||
|
{
|
||||||
|
"id": "island-victory",
|
||||||
|
"name": "Island Victory",
|
||||||
|
"description": "Win a game outright."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "duel-victory",
|
||||||
|
"name": "Duel Victory",
|
||||||
|
"description": "Win a two-player game outright."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "trio-victory",
|
||||||
|
"name": "Trio Victory",
|
||||||
|
"description": "Win a three-player game outright."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "quartet-victory",
|
||||||
|
"name": "Quartet Victory",
|
||||||
|
"description": "Win a four-player game outright."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "full-table-victory",
|
||||||
|
"name": "Full Table Victory",
|
||||||
|
"description": "Win a five-player game outright."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "rising-waters-victory",
|
||||||
|
"name": "Against the Tide",
|
||||||
|
"description": "Win a Rising Waters game outright."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "no-characters-victory",
|
||||||
|
"name": "On Your Own Merits",
|
||||||
|
"description": "Win outright with Characters disabled."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "fifty-points",
|
||||||
|
"name": "Island Prosperity",
|
||||||
|
"description": "Finish with at least 50 points."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "seventy-five-points",
|
||||||
|
"name": "Island Renown",
|
||||||
|
"description": "Finish with at least 75 points."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "nine-vatus",
|
||||||
|
"name": "Full Purse",
|
||||||
|
"description": "Retain 9 vatus after final scoring."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "four-huts",
|
||||||
|
"name": "Village Builder",
|
||||||
|
"description": "Finish with at least four surviving huts."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "three-islands",
|
||||||
|
"name": "Island Network",
|
||||||
|
"description": "Finish with huts on at least three islands."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "tourism-twelve",
|
||||||
|
"name": "Welcoming Shores",
|
||||||
|
"description": "Earn at least 12 final-scoring points from hut tourism."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "treasure-six",
|
||||||
|
"name": "Treasure Keeper",
|
||||||
|
"description": "Retain treasure worth at least 6 final-scoring points."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "treasure-twelve",
|
||||||
|
"name": "Sunken Riches",
|
||||||
|
"description": "Retain treasure worth at least 12 final-scoring points."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "weather-the-waters",
|
||||||
|
"name": "Weather the Waters",
|
||||||
|
"description": "Complete all eight rounds of Rising Waters without the collective flood loss."
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
BIN
artwork/achievements/contact-dark.png
Normal file
|
After Width: | Height: | Size: 226 KiB |
BIN
artwork/achievements/contact-light.png
Normal file
|
After Width: | Height: | Size: 223 KiB |
169
artwork/achievements/manifest.json
Normal file
|
|
@ -0,0 +1,169 @@
|
||||||
|
{
|
||||||
|
"game": "vanuatu",
|
||||||
|
"engineVersion": "0.2.2",
|
||||||
|
"revision": 2,
|
||||||
|
"sourceSha256": "c2f3c0583fa62bbb384f6ba87deeabcbd193df506f85a8b24ae22033296caca3",
|
||||||
|
"provenance": "README.md",
|
||||||
|
"assets": [
|
||||||
|
{
|
||||||
|
"id": "island-victory",
|
||||||
|
"key": "achievement-island-victory",
|
||||||
|
"svg": "achievement-island-victory.svg",
|
||||||
|
"png": "achievement-island-victory.png",
|
||||||
|
"svgSha256": "0a0cc14df792421eae495548266cd03bc5722b42a05d4e67c3f2d351b2c921eb",
|
||||||
|
"pngSha256": "1a6e4fce8b3891c595ecd3898fefd2cab81a3b3263a35193b85cb4d9597db1a1",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "duel-victory",
|
||||||
|
"key": "achievement-duel-victory",
|
||||||
|
"svg": "achievement-duel-victory.svg",
|
||||||
|
"png": "achievement-duel-victory.png",
|
||||||
|
"svgSha256": "5cf9b2998e1303cb5418d299832078f5ab955bb3a0af16a8a53221177c943884",
|
||||||
|
"pngSha256": "04edb7b33e514ab1f02eaf4927d994fb7c697d65e8f5ce119e829cce1e5ea6c3",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "trio-victory",
|
||||||
|
"key": "achievement-trio-victory",
|
||||||
|
"svg": "achievement-trio-victory.svg",
|
||||||
|
"png": "achievement-trio-victory.png",
|
||||||
|
"svgSha256": "ef71777ea75c4c7f015b1bbbfed965e183bbd4a7270bfd74bf8780ad8ad10a61",
|
||||||
|
"pngSha256": "05aa8836ee91f5976bcd0f16c29e6fd03dfd334384ce1649a7848924c5d30d5c",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "quartet-victory",
|
||||||
|
"key": "achievement-quartet-victory",
|
||||||
|
"svg": "achievement-quartet-victory.svg",
|
||||||
|
"png": "achievement-quartet-victory.png",
|
||||||
|
"svgSha256": "189e808bf5de943c1f1b36bc883db70146e3cfde463d523a62741e5fc70b9b6f",
|
||||||
|
"pngSha256": "78e584f3ef0c118e596e129317dd1221ee559f80fd2277ea6508331bf20e235d",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "full-table-victory",
|
||||||
|
"key": "achievement-full-table-victory",
|
||||||
|
"svg": "achievement-full-table-victory.svg",
|
||||||
|
"png": "achievement-full-table-victory.png",
|
||||||
|
"svgSha256": "ddd122c5e4d1a2b7ae4032ab7b746f615dec5992f8d011ae3b4685d4a85bcd3e",
|
||||||
|
"pngSha256": "37f7879c4a7a26ec0680712d32373f77adee4416d00037bd84d34b017ac7f1f5",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "rising-waters-victory",
|
||||||
|
"key": "achievement-rising-waters-victory",
|
||||||
|
"svg": "achievement-rising-waters-victory.svg",
|
||||||
|
"png": "achievement-rising-waters-victory.png",
|
||||||
|
"svgSha256": "ba6f1a5814c48f28f0867faf6ea5c8b5dbbd64a94ba05c41d0e1b84d0ae79a5d",
|
||||||
|
"pngSha256": "c463d282a375e70194c8bd719fbf907377b702c90412e99c256bddf9f8def656",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "no-characters-victory",
|
||||||
|
"key": "achievement-no-characters-victory",
|
||||||
|
"svg": "achievement-no-characters-victory.svg",
|
||||||
|
"png": "achievement-no-characters-victory.png",
|
||||||
|
"svgSha256": "dee275035af5f99180f2605da9282358b140832173e21f80e7cd3d9d3206e439",
|
||||||
|
"pngSha256": "c0bdec89cf12645326afd6719262bfc81c6bafd4307b3221d3fc463186ee0035",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "fifty-points",
|
||||||
|
"key": "achievement-fifty-points",
|
||||||
|
"svg": "achievement-fifty-points.svg",
|
||||||
|
"png": "achievement-fifty-points.png",
|
||||||
|
"svgSha256": "2a735faf1bce576db67351d4c699a474653ed7fb49fd070df43eb5840e7b49ea",
|
||||||
|
"pngSha256": "74f9ef25404e02e3ef578c26050be1bf9857f3bb1f756089750092ea1ddef718",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "seventy-five-points",
|
||||||
|
"key": "achievement-seventy-five-points",
|
||||||
|
"svg": "achievement-seventy-five-points.svg",
|
||||||
|
"png": "achievement-seventy-five-points.png",
|
||||||
|
"svgSha256": "02a873d2e6d646deb90eb6c96c35161ab9c302c8051f90365c3da745cb38d13e",
|
||||||
|
"pngSha256": "d44359a53f15d720ae7b6c4827a446fe572d7d9fd2af6db807f0fc8abf92d2a5",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "nine-vatus",
|
||||||
|
"key": "achievement-nine-vatus",
|
||||||
|
"svg": "achievement-nine-vatus.svg",
|
||||||
|
"png": "achievement-nine-vatus.png",
|
||||||
|
"svgSha256": "826a1f167b3595e5a3a565c045536289149931fda3b68e76533ca6e056cce0d7",
|
||||||
|
"pngSha256": "5a426620dbbee00d4fe337fc9d64f267c8c35830a3f8d9e3205bc992f5c26944",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "four-huts",
|
||||||
|
"key": "achievement-four-huts",
|
||||||
|
"svg": "achievement-four-huts.svg",
|
||||||
|
"png": "achievement-four-huts.png",
|
||||||
|
"svgSha256": "f3ccad1e87763e88319e9ec83caa9b245a3e1522bcc54fd93127d4587a71bbf3",
|
||||||
|
"pngSha256": "9c8215302a61049694cbb1a380890f8b32de53fb3609dbf4c539e168f0e3f60b",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "three-islands",
|
||||||
|
"key": "achievement-three-islands",
|
||||||
|
"svg": "achievement-three-islands.svg",
|
||||||
|
"png": "achievement-three-islands.png",
|
||||||
|
"svgSha256": "937106b26094272efac3fe09618492c81af6a08c3604dd7cc39f800393ead043",
|
||||||
|
"pngSha256": "7030b357f4a128bbf5e9af3c2c7c00b2c4f1d462d73d92c06d40cb84b8f3a571",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "tourism-twelve",
|
||||||
|
"key": "achievement-tourism-twelve",
|
||||||
|
"svg": "achievement-tourism-twelve.svg",
|
||||||
|
"png": "achievement-tourism-twelve.png",
|
||||||
|
"svgSha256": "ef781e670446253ff26906229660f5b04348fd7b7fb6404cd9eb6a59d85b992d",
|
||||||
|
"pngSha256": "3fbe653a82d193e6e79dfb72d4284e196058980f840885a6ef4612a1111b786a",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "treasure-six",
|
||||||
|
"key": "achievement-treasure-six",
|
||||||
|
"svg": "achievement-treasure-six.svg",
|
||||||
|
"png": "achievement-treasure-six.png",
|
||||||
|
"svgSha256": "6e6fe574b8f763e93f39ecf067bcf36146faf52a1526308095409bf6c249e31a",
|
||||||
|
"pngSha256": "d0e8f4274693eff9183e4f93c1700cdafaa9722aac166cac63d64d3b768f3098",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "treasure-twelve",
|
||||||
|
"key": "achievement-treasure-twelve",
|
||||||
|
"svg": "achievement-treasure-twelve.svg",
|
||||||
|
"png": "achievement-treasure-twelve.png",
|
||||||
|
"svgSha256": "19b1af7564010341965e59e8d072ffa828a57125c1a1744e5b4941be874e4aeb",
|
||||||
|
"pngSha256": "64d2e85e91027726025fd1815cf59694831be61c3a35a90356c0be20d87c03f0",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "weather-the-waters",
|
||||||
|
"key": "achievement-weather-the-waters",
|
||||||
|
"svg": "achievement-weather-the-waters.svg",
|
||||||
|
"png": "achievement-weather-the-waters.png",
|
||||||
|
"svgSha256": "abf43b8310add890e0f64b7ac5eefcdcb5f7dfdaea9fc3f47b31b153dda594c5",
|
||||||
|
"pngSha256": "57e087f316d52aeff1a22a39c68db95710eca57cba751af9ecc2a6e24b628914",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
386
docs/achievement-art-0.2.2-receipt.json
Normal file
|
|
@ -0,0 +1,386 @@
|
||||||
|
{
|
||||||
|
"schema": 1,
|
||||||
|
"game": "vanuatu",
|
||||||
|
"status": "activated-and-verified",
|
||||||
|
"sourceCommit": "62bee2a001dd97b3d544f6e7add068c7d7502d73",
|
||||||
|
"envelopeSha256": "bb0cde0d620543dbdefdc55144d34948c05098e7443f8a117a07dce2cd3ca221",
|
||||||
|
"privateReceiptSha256": "3a596a2b24caad5da275c94b2134ca6140db8c936acebaeccfaec776291ec634",
|
||||||
|
"assets": {
|
||||||
|
"achievement-duel-victory": {
|
||||||
|
"sourceSha256": "04edb7b33e514ab1f02eaf4927d994fb7c697d65e8f5ce119e829cce1e5ea6c3",
|
||||||
|
"url": "https://s3.fr-par.scw.cloud/bgs-assets/achievements/vanuatu/achievement-duel-victory/2f668fbfb10232e7/achievement-duel-victory.webp",
|
||||||
|
"sha256": "2f668fbfb10232e7d3179b81a8d07f1750daac22149eede615c4da1702a2664a",
|
||||||
|
"size": 8338,
|
||||||
|
"format": "webp",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256,
|
||||||
|
"verifiedAt": "2026-11-14T12:45:14.705Z",
|
||||||
|
"metadataPreserved": true
|
||||||
|
},
|
||||||
|
"achievement-fifty-points": {
|
||||||
|
"sourceSha256": "74f9ef25404e02e3ef578c26050be1bf9857f3bb1f756089750092ea1ddef718",
|
||||||
|
"url": "https://s3.fr-par.scw.cloud/bgs-assets/achievements/vanuatu/achievement-fifty-points/4580b396b93996c7/achievement-fifty-points.webp",
|
||||||
|
"sha256": "4580b396b93996c750bd1eb85f2a9262ec7ad05ee0770d997e6120c0dff7b060",
|
||||||
|
"size": 8622,
|
||||||
|
"format": "webp",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256,
|
||||||
|
"verifiedAt": "2026-11-14T12:45:14.730Z",
|
||||||
|
"metadataPreserved": true
|
||||||
|
},
|
||||||
|
"achievement-four-huts": {
|
||||||
|
"sourceSha256": "9c8215302a61049694cbb1a380890f8b32de53fb3609dbf4c539e168f0e3f60b",
|
||||||
|
"url": "https://s3.fr-par.scw.cloud/bgs-assets/achievements/vanuatu/achievement-four-huts/7a20f3b891ddc9c1/achievement-four-huts.webp",
|
||||||
|
"sha256": "7a20f3b891ddc9c101ff4d91f7b678b883903a92df5d437d10a02cc5d16f495b",
|
||||||
|
"size": 8310,
|
||||||
|
"format": "webp",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256,
|
||||||
|
"verifiedAt": "2026-11-14T12:45:14.759Z",
|
||||||
|
"metadataPreserved": true
|
||||||
|
},
|
||||||
|
"achievement-full-table-victory": {
|
||||||
|
"sourceSha256": "37f7879c4a7a26ec0680712d32373f77adee4416d00037bd84d34b017ac7f1f5",
|
||||||
|
"url": "https://s3.fr-par.scw.cloud/bgs-assets/achievements/vanuatu/achievement-full-table-victory/014744fb0bf56ba9/achievement-full-table-victory.webp",
|
||||||
|
"sha256": "014744fb0bf56ba9db573b66b62e7ae59d397f635664a017cd715b0da4bb2663",
|
||||||
|
"size": 8828,
|
||||||
|
"format": "webp",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256,
|
||||||
|
"verifiedAt": "2026-11-14T12:45:14.783Z",
|
||||||
|
"metadataPreserved": true
|
||||||
|
},
|
||||||
|
"achievement-island-victory": {
|
||||||
|
"sourceSha256": "1a6e4fce8b3891c595ecd3898fefd2cab81a3b3263a35193b85cb4d9597db1a1",
|
||||||
|
"url": "https://s3.fr-par.scw.cloud/bgs-assets/achievements/vanuatu/achievement-island-victory/f2e93c82ccbbcf22/achievement-island-victory.webp",
|
||||||
|
"sha256": "f2e93c82ccbbcf225be35e669e9d8f95d9ddd1bb08e1e0ecadec6e2d3ee3359a",
|
||||||
|
"size": 7420,
|
||||||
|
"format": "webp",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256,
|
||||||
|
"verifiedAt": "2026-11-14T12:45:14.858Z",
|
||||||
|
"metadataPreserved": true
|
||||||
|
},
|
||||||
|
"achievement-nine-vatus": {
|
||||||
|
"sourceSha256": "5a426620dbbee00d4fe337fc9d64f267c8c35830a3f8d9e3205bc992f5c26944",
|
||||||
|
"url": "https://s3.fr-par.scw.cloud/bgs-assets/achievements/vanuatu/achievement-nine-vatus/1bede944b6c4a3d9/achievement-nine-vatus.webp",
|
||||||
|
"sha256": "1bede944b6c4a3d997f8e62a8b8355e3aafc3bc70b2ab10e973584e4ca32d032",
|
||||||
|
"size": 8064,
|
||||||
|
"format": "webp",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256,
|
||||||
|
"verifiedAt": "2026-11-14T12:45:14.880Z",
|
||||||
|
"metadataPreserved": true
|
||||||
|
},
|
||||||
|
"achievement-no-characters-victory": {
|
||||||
|
"sourceSha256": "c0bdec89cf12645326afd6719262bfc81c6bafd4307b3221d3fc463186ee0035",
|
||||||
|
"url": "https://s3.fr-par.scw.cloud/bgs-assets/achievements/vanuatu/achievement-no-characters-victory/8280f312e22cdfa7/achievement-no-characters-victory.webp",
|
||||||
|
"sha256": "8280f312e22cdfa72a514a8a9cebb143918ce8edcfac009472d8df3844884852",
|
||||||
|
"size": 8128,
|
||||||
|
"format": "webp",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256,
|
||||||
|
"verifiedAt": "2026-11-14T12:45:14.902Z",
|
||||||
|
"metadataPreserved": true
|
||||||
|
},
|
||||||
|
"achievement-quartet-victory": {
|
||||||
|
"sourceSha256": "78e584f3ef0c118e596e129317dd1221ee559f80fd2277ea6508331bf20e235d",
|
||||||
|
"url": "https://s3.fr-par.scw.cloud/bgs-assets/achievements/vanuatu/achievement-quartet-victory/976aa2de04d00f92/achievement-quartet-victory.webp",
|
||||||
|
"sha256": "976aa2de04d00f922cf4cf4b8d1b29b1c0250c0a87ecbddb6f5030f4c4ff8086",
|
||||||
|
"size": 8328,
|
||||||
|
"format": "webp",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256,
|
||||||
|
"verifiedAt": "2026-11-14T12:45:14.926Z",
|
||||||
|
"metadataPreserved": true
|
||||||
|
},
|
||||||
|
"achievement-rising-waters-victory": {
|
||||||
|
"sourceSha256": "c463d282a375e70194c8bd719fbf907377b702c90412e99c256bddf9f8def656",
|
||||||
|
"url": "https://s3.fr-par.scw.cloud/bgs-assets/achievements/vanuatu/achievement-rising-waters-victory/7eb116bfbb406a32/achievement-rising-waters-victory.webp",
|
||||||
|
"sha256": "7eb116bfbb406a32ac04eca2361d970c51ff6ff8e374de186867bcfe020c3305",
|
||||||
|
"size": 7602,
|
||||||
|
"format": "webp",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256,
|
||||||
|
"verifiedAt": "2026-11-14T12:45:14.948Z",
|
||||||
|
"metadataPreserved": true
|
||||||
|
},
|
||||||
|
"achievement-seventy-five-points": {
|
||||||
|
"sourceSha256": "d44359a53f15d720ae7b6c4827a446fe572d7d9fd2af6db807f0fc8abf92d2a5",
|
||||||
|
"url": "https://s3.fr-par.scw.cloud/bgs-assets/achievements/vanuatu/achievement-seventy-five-points/b1d314d38850ac3a/achievement-seventy-five-points.webp",
|
||||||
|
"sha256": "b1d314d38850ac3af849d0f5539872f56f9cf351a2de3a18d764e37e4ae98f46",
|
||||||
|
"size": 8932,
|
||||||
|
"format": "webp",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256,
|
||||||
|
"verifiedAt": "2026-11-14T12:45:14.973Z",
|
||||||
|
"metadataPreserved": true
|
||||||
|
},
|
||||||
|
"achievement-three-islands": {
|
||||||
|
"sourceSha256": "7030b357f4a128bbf5e9af3c2c7c00b2c4f1d462d73d92c06d40cb84b8f3a571",
|
||||||
|
"url": "https://s3.fr-par.scw.cloud/bgs-assets/achievements/vanuatu/achievement-three-islands/0250a2626037b08c/achievement-three-islands.webp",
|
||||||
|
"sha256": "0250a2626037b08ccb6d13edceb39053f424550b0318f8118b353dfc03b825dc",
|
||||||
|
"size": 9088,
|
||||||
|
"format": "webp",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256,
|
||||||
|
"verifiedAt": "2026-11-14T12:45:15.003Z",
|
||||||
|
"metadataPreserved": true
|
||||||
|
},
|
||||||
|
"achievement-tourism-twelve": {
|
||||||
|
"sourceSha256": "3fbe653a82d193e6e79dfb72d4284e196058980f840885a6ef4612a1111b786a",
|
||||||
|
"url": "https://s3.fr-par.scw.cloud/bgs-assets/achievements/vanuatu/achievement-tourism-twelve/7b0d9732e5f69593/achievement-tourism-twelve.webp",
|
||||||
|
"sha256": "7b0d9732e5f695930d59eb8c0e620fa62ca584362f2b99ef7596b52a10f84fd9",
|
||||||
|
"size": 9406,
|
||||||
|
"format": "webp",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256,
|
||||||
|
"verifiedAt": "2026-11-14T12:45:15.029Z",
|
||||||
|
"metadataPreserved": true
|
||||||
|
},
|
||||||
|
"achievement-treasure-six": {
|
||||||
|
"sourceSha256": "d0e8f4274693eff9183e4f93c1700cdafaa9722aac166cac63d64d3b768f3098",
|
||||||
|
"url": "https://s3.fr-par.scw.cloud/bgs-assets/achievements/vanuatu/achievement-treasure-six/3b5d2f31df086366/achievement-treasure-six.webp",
|
||||||
|
"sha256": "3b5d2f31df086366761f983b44e395dd8f8a4b5adbd35cb0131f165cdb532cd2",
|
||||||
|
"size": 7472,
|
||||||
|
"format": "webp",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256,
|
||||||
|
"verifiedAt": "2026-11-14T12:45:15.055Z",
|
||||||
|
"metadataPreserved": true
|
||||||
|
},
|
||||||
|
"achievement-treasure-twelve": {
|
||||||
|
"sourceSha256": "64d2e85e91027726025fd1815cf59694831be61c3a35a90356c0be20d87c03f0",
|
||||||
|
"url": "https://s3.fr-par.scw.cloud/bgs-assets/achievements/vanuatu/achievement-treasure-twelve/1f89e29a8fa998d9/achievement-treasure-twelve.webp",
|
||||||
|
"sha256": "1f89e29a8fa998d947e9cd7a9f313b76409edcb3d4b9d771ff742026d2e90101",
|
||||||
|
"size": 9440,
|
||||||
|
"format": "webp",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256,
|
||||||
|
"verifiedAt": "2026-11-14T12:45:15.078Z",
|
||||||
|
"metadataPreserved": true
|
||||||
|
},
|
||||||
|
"achievement-trio-victory": {
|
||||||
|
"sourceSha256": "05aa8836ee91f5976bcd0f16c29e6fd03dfd334384ce1649a7848924c5d30d5c",
|
||||||
|
"url": "https://s3.fr-par.scw.cloud/bgs-assets/achievements/vanuatu/achievement-trio-victory/3335546854f0312a/achievement-trio-victory.webp",
|
||||||
|
"sha256": "3335546854f0312af2d457b7dcb44e762621048b748021e2366cd0d4c8a835a1",
|
||||||
|
"size": 8034,
|
||||||
|
"format": "webp",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256,
|
||||||
|
"verifiedAt": "2026-11-14T12:45:15.100Z",
|
||||||
|
"metadataPreserved": true
|
||||||
|
},
|
||||||
|
"achievement-weather-the-waters": {
|
||||||
|
"sourceSha256": "57e087f316d52aeff1a22a39c68db95710eca57cba751af9ecc2a6e24b628914",
|
||||||
|
"url": "https://s3.fr-par.scw.cloud/bgs-assets/achievements/vanuatu/achievement-weather-the-waters/0a73ee787326981d/achievement-weather-the-waters.webp",
|
||||||
|
"sha256": "0a73ee787326981d0cd4af6f322fdc113fc9a312eddfd9ce7fe5a929da0a05a9",
|
||||||
|
"size": 8520,
|
||||||
|
"format": "webp",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256,
|
||||||
|
"verifiedAt": "2026-11-14T12:45:15.136Z",
|
||||||
|
"metadataPreserved": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"preserved": {
|
||||||
|
"cover": {
|
||||||
|
"preservation": "metadata-only-403",
|
||||||
|
"status": 403
|
||||||
|
},
|
||||||
|
"pictogram": {
|
||||||
|
"url": "https://s3.fr-par.scw.cloud/bgs-assets/assets/vanuatu/pictogram/d37761b3405c3942/pictogram.webp",
|
||||||
|
"sha256": "d37761b3405c3942770db4d7502eaa7a0bdb5dea4e50084c7350f5ed50d52956",
|
||||||
|
"size": 17462,
|
||||||
|
"format": "webp",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256,
|
||||||
|
"verifiedAt": "2026-11-14T12:45:15.249Z"
|
||||||
|
},
|
||||||
|
"screenshot-showcase-1": {
|
||||||
|
"url": "https://s3.fr-par.scw.cloud/bgs-assets/assets/vanuatu/screenshot-showcase-1/4bf39605ef3bc1a0/screenshot-showcase-1.webp",
|
||||||
|
"sha256": "4bf39605ef3bc1a0335c44fd2e8000c364076eddcfd42e476d1542e7b835d25d",
|
||||||
|
"size": 93008,
|
||||||
|
"format": "webp",
|
||||||
|
"width": 1536,
|
||||||
|
"height": 993,
|
||||||
|
"verifiedAt": "2026-11-14T12:45:15.324Z"
|
||||||
|
},
|
||||||
|
"screenshot-showcase-2": {
|
||||||
|
"url": "https://s3.fr-par.scw.cloud/bgs-assets/assets/vanuatu/screenshot-showcase-2/0da4e91452aa578c/screenshot-showcase-2.webp",
|
||||||
|
"sha256": "0da4e91452aa578ca4d8455a777b8b6978f157d3a48029bf1c391f9fe28ba152",
|
||||||
|
"size": 41298,
|
||||||
|
"format": "webp",
|
||||||
|
"width": 430,
|
||||||
|
"height": 875,
|
||||||
|
"verifiedAt": "2026-11-14T12:45:15.398Z"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"planSha256": "2f100409b0c8d07bed2f3632887606b038dc4086ccd0988dd8065557fa65ff91",
|
||||||
|
"activationReceiptSha256": "68e53026852861a721483c47a2b4f0444afba16e706c91be1e8d8e459f860726",
|
||||||
|
"tgzSha256": "c6a87b6a07239f140bceab0f78722a7f1df23c08f49dacd2307797643eaf647c",
|
||||||
|
"package": {
|
||||||
|
"name": "@boardgamers/vanuatu",
|
||||||
|
"version": "0.2.2",
|
||||||
|
"url": "https://s3.fr-par.scw.cloud/bgs-assets/games/vanuatu/1/engine/c6a87b6a07239f14/boardgamers-vanuatu-0.2.2.tgz"
|
||||||
|
},
|
||||||
|
"hostedPackage": {
|
||||||
|
"url": "https://s3.fr-par.scw.cloud/bgs-assets/games/vanuatu/1/engine/c6a87b6a07239f14/boardgamers-vanuatu-0.2.2.tgz",
|
||||||
|
"size": 20263,
|
||||||
|
"sha256": "c6a87b6a07239f140bceab0f78722a7f1df23c08f49dacd2307797643eaf647c"
|
||||||
|
},
|
||||||
|
"manifest": {
|
||||||
|
"revision": 2,
|
||||||
|
"achievements": [
|
||||||
|
{
|
||||||
|
"id": "island-victory",
|
||||||
|
"name": "Island Victory",
|
||||||
|
"description": "Win a game outright.",
|
||||||
|
"icon": {
|
||||||
|
"type": "asset",
|
||||||
|
"key": "achievement-island-victory"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "duel-victory",
|
||||||
|
"name": "Duel Victory",
|
||||||
|
"description": "Win a two-player game outright.",
|
||||||
|
"icon": {
|
||||||
|
"type": "asset",
|
||||||
|
"key": "achievement-duel-victory"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "trio-victory",
|
||||||
|
"name": "Trio Victory",
|
||||||
|
"description": "Win a three-player game outright.",
|
||||||
|
"icon": {
|
||||||
|
"type": "asset",
|
||||||
|
"key": "achievement-trio-victory"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "quartet-victory",
|
||||||
|
"name": "Quartet Victory",
|
||||||
|
"description": "Win a four-player game outright.",
|
||||||
|
"icon": {
|
||||||
|
"type": "asset",
|
||||||
|
"key": "achievement-quartet-victory"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "full-table-victory",
|
||||||
|
"name": "Full Table Victory",
|
||||||
|
"description": "Win a five-player game outright.",
|
||||||
|
"icon": {
|
||||||
|
"type": "asset",
|
||||||
|
"key": "achievement-full-table-victory"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "rising-waters-victory",
|
||||||
|
"name": "Against the Tide",
|
||||||
|
"description": "Win a Rising Waters game outright.",
|
||||||
|
"icon": {
|
||||||
|
"type": "asset",
|
||||||
|
"key": "achievement-rising-waters-victory"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "no-characters-victory",
|
||||||
|
"name": "On Your Own Merits",
|
||||||
|
"description": "Win outright with Characters disabled.",
|
||||||
|
"icon": {
|
||||||
|
"type": "asset",
|
||||||
|
"key": "achievement-no-characters-victory"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "fifty-points",
|
||||||
|
"name": "Island Prosperity",
|
||||||
|
"description": "Finish with at least 50 points.",
|
||||||
|
"icon": {
|
||||||
|
"type": "asset",
|
||||||
|
"key": "achievement-fifty-points"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "seventy-five-points",
|
||||||
|
"name": "Island Renown",
|
||||||
|
"description": "Finish with at least 75 points.",
|
||||||
|
"icon": {
|
||||||
|
"type": "asset",
|
||||||
|
"key": "achievement-seventy-five-points"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "nine-vatus",
|
||||||
|
"name": "Full Purse",
|
||||||
|
"description": "Retain 9 vatus after final scoring.",
|
||||||
|
"icon": {
|
||||||
|
"type": "asset",
|
||||||
|
"key": "achievement-nine-vatus"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "four-huts",
|
||||||
|
"name": "Village Builder",
|
||||||
|
"description": "Finish with at least four surviving huts.",
|
||||||
|
"icon": {
|
||||||
|
"type": "asset",
|
||||||
|
"key": "achievement-four-huts"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "three-islands",
|
||||||
|
"name": "Island Network",
|
||||||
|
"description": "Finish with huts on at least three islands.",
|
||||||
|
"icon": {
|
||||||
|
"type": "asset",
|
||||||
|
"key": "achievement-three-islands"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "tourism-twelve",
|
||||||
|
"name": "Welcoming Shores",
|
||||||
|
"description": "Earn at least 12 final-scoring points from hut tourism.",
|
||||||
|
"icon": {
|
||||||
|
"type": "asset",
|
||||||
|
"key": "achievement-tourism-twelve"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "treasure-six",
|
||||||
|
"name": "Treasure Keeper",
|
||||||
|
"description": "Retain treasure worth at least 6 final-scoring points.",
|
||||||
|
"icon": {
|
||||||
|
"type": "asset",
|
||||||
|
"key": "achievement-treasure-six"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "treasure-twelve",
|
||||||
|
"name": "Sunken Riches",
|
||||||
|
"description": "Retain treasure worth at least 12 final-scoring points.",
|
||||||
|
"icon": {
|
||||||
|
"type": "asset",
|
||||||
|
"key": "achievement-treasure-twelve"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "weather-the-waters",
|
||||||
|
"name": "Weather the Waters",
|
||||||
|
"description": "Complete all eight rounds of Rising Waters without the collective flood loss.",
|
||||||
|
"icon": {
|
||||||
|
"type": "asset",
|
||||||
|
"key": "achievement-weather-the-waters"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"verification": {
|
||||||
|
"publicCatalog": true,
|
||||||
|
"allAssets": true,
|
||||||
|
"unchangedMetadata": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -60,6 +60,31 @@ hooks against `Engine`. Tests validate results with the official runtime schemas
|
||||||
Dropped seats retain their actual game outcome; platform eligibility is separate.
|
Dropped seats retain their actual game outcome; platform eligibility is separate.
|
||||||
No historical backfill or cross-game counters are implemented.
|
No historical backfill or cross-game counters are implemented.
|
||||||
|
|
||||||
|
## Artwork release 0.2.2 (manifest revision 2)
|
||||||
|
|
||||||
|
The [sanitized activation receipt](achievement-art-0.2.2-receipt.json) records
|
||||||
|
engine 0.2.2 and all 16 original achievement artworks activated on BGS. Reviewed
|
||||||
|
source: `62bee2a001dd97b3d544f6e7add068c7d7502d73`; approval reference:
|
||||||
|
`sub-1794658380624-99c86ece`. The receipt contains public asset URLs, source and
|
||||||
|
hosted asset SHA-256 hashes, and combined asset/activation evidence hashes; no
|
||||||
|
private snapshots or credentials are included.
|
||||||
|
|
||||||
|
The exact original engine tarball SHA-256 is
|
||||||
|
`c6a87b6a07239f140bceab0f78722a7f1df23c08f49dacd2307797643eaf647c`.
|
||||||
|
Delivery verification used public GETs of the latest catalog, all 16 achievement
|
||||||
|
assets, the three accessible preserved assets, and the hosted engine tarball.
|
||||||
|
The catalog package and complete revision-2 manifest matched the receipt; every
|
||||||
|
achievement source/hosted hash matched, and hosted tarball bytes matched the
|
||||||
|
original local archive without rebuilding or repacking. The cover remains the
|
||||||
|
receipt's metadata-only preservation case (HTTP 403), not a verified byte hash.
|
||||||
|
|
||||||
|
The hosted viewer, settings, visibility/status, options, preferences, expansions,
|
||||||
|
tutorial, and game metadata matched the pre-activation version backup. This
|
||||||
|
source delivery performed no uploads or production mutations. The concurrent
|
||||||
|
GitHub `.gitignore`-only change was merged without changing reviewed runtime or
|
||||||
|
artwork source. Focused checks passed: achievement behavior/runtime-schema tests,
|
||||||
|
achievement TypeScript contract, and artwork baseline/hash/decoded-export tests.
|
||||||
|
|
||||||
## Release prerequisites
|
## Release prerequisites
|
||||||
|
|
||||||
Engine package 0.2.1 introduces this manifest. Its release is engine-only: the
|
Engine package 0.2.1 introduces this manifest. Its release is engine-only: the
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
/** @type {import('@boardgamers/protocol/engine').AchievementManifest} */
|
/** @type {import('@boardgamers/protocol/engine').AchievementManifest} */
|
||||||
const manifest = {
|
const manifest = {
|
||||||
revision: 1,
|
revision: 2,
|
||||||
achievements: [
|
achievements: [
|
||||||
["island-victory", "Island Victory", "Win a game outright."],
|
["island-victory", "Island Victory", "Win a game outright."],
|
||||||
["duel-victory", "Duel Victory", "Win a two-player game outright."],
|
["duel-victory", "Duel Victory", "Win a two-player game outright."],
|
||||||
|
|
@ -56,7 +56,12 @@ const manifest = {
|
||||||
"Weather the Waters",
|
"Weather the Waters",
|
||||||
"Complete all eight rounds of Rising Waters without the collective flood loss.",
|
"Complete all eight rounds of Rising Waters without the collective flood loss.",
|
||||||
],
|
],
|
||||||
].map(([id, name, description]) => ({ id, name, description })),
|
].map(([id, name, description]) => ({
|
||||||
|
id,
|
||||||
|
name,
|
||||||
|
description,
|
||||||
|
icon: { type: "asset", key: `achievement-${id}` },
|
||||||
|
})),
|
||||||
};
|
};
|
||||||
|
|
||||||
export function achievementDefinitions() {
|
export function achievementDefinitions() {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@boardgamers/vanuatu",
|
"name": "@boardgamers/vanuatu",
|
||||||
"version": "0.2.1",
|
"version": "0.2.2",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "dist/engine.js",
|
"main": "dist/engine.js",
|
||||||
|
|
@ -15,7 +15,8 @@
|
||||||
"test:browser": "node test/browser.mjs && node test/undo-browser.mjs && node test/journal-browser.mjs && node test/map-zoom-browser.mjs && node test/map-drag-browser.mjs && node test/redraw-browser.mjs && node test/mobile-layout-browser.mjs && node test/prose-browser.mjs && node test/effects-browser.mjs && node test/three-viewer-browser.mjs",
|
"test:browser": "node test/browser.mjs && node test/undo-browser.mjs && node test/journal-browser.mjs && node test/map-zoom-browser.mjs && node test/map-drag-browser.mjs && node test/redraw-browser.mjs && node test/mobile-layout-browser.mjs && node test/prose-browser.mjs && node test/effects-browser.mjs && node test/three-viewer-browser.mjs",
|
||||||
"check": "pnpm test:achievements:types && pnpm test:locales && pnpm build && pnpm test && pnpm test:browser && pnpm test:tutorial:browser",
|
"check": "pnpm test:achievements:types && pnpm test:locales && pnpm build && pnpm test && pnpm test:browser && pnpm test:tutorial:browser",
|
||||||
"test:locales": "node scripts/check-locales.mjs viewer/localization && node --test scripts/localization.test.mjs",
|
"test:locales": "node scripts/check-locales.mjs viewer/localization && node --test scripts/localization.test.mjs",
|
||||||
"test:tutorial:browser": "node test/tutorial-browser.mjs && node test/tutorial-walkthrough-browser.mjs && node test/tutorial-errors-browser.mjs"
|
"test:tutorial:browser": "node test/tutorial-browser.mjs && node test/tutorial-walkthrough-browser.mjs && node test/tutorial-errors-browser.mjs",
|
||||||
|
"art:achievements": "node scripts/achievement-art.mjs"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@boardgamers/protocol": "0.11.0",
|
"@boardgamers/protocol": "0.11.0",
|
||||||
|
|
|
||||||
256
scripts/achievement-art.mjs
Normal file
|
|
@ -0,0 +1,256 @@
|
||||||
|
// Original achievement geometry. See artwork/achievements/README.md for provenance.
|
||||||
|
import { chromium } from "playwright";
|
||||||
|
import { mkdir, readFile, writeFile } from "node:fs/promises";
|
||||||
|
import { createHash } from "node:crypto";
|
||||||
|
import { achievementDefinitions } from "../engine/achievements.js";
|
||||||
|
const out = "artwork/achievements";
|
||||||
|
const hash = (b) => createHash("sha256").update(b).digest("hex");
|
||||||
|
const p = (d, fill = "#f6d793", extra = "") =>
|
||||||
|
`<path d="${d}" fill="${fill}" ${extra}/>`;
|
||||||
|
const circle = (x, y, r, fill) =>
|
||||||
|
`<circle cx="${x}" cy="${y}" r="${r}" fill="${fill}"/>`;
|
||||||
|
const group = (x, y, s, body) =>
|
||||||
|
`<g transform="translate(${x} ${y}) scale(${s})">${body}</g>`;
|
||||||
|
const island = (x, y, s = 1) =>
|
||||||
|
group(
|
||||||
|
x,
|
||||||
|
y,
|
||||||
|
s,
|
||||||
|
p("M-30 6Q-36-3-19-10L3-15 25-6Q40 8 20 14L-13 17Z", "#efd49a") +
|
||||||
|
p("M-22 3-11-7 7-8 22 1 12 7-10 9Z", "#6ca57b"),
|
||||||
|
);
|
||||||
|
const hut = (x, y, s = 1) =>
|
||||||
|
group(
|
||||||
|
x,
|
||||||
|
y,
|
||||||
|
s,
|
||||||
|
p("M-14-3H14V18H-14Z", "#eab168") +
|
||||||
|
p("M-21-2 0-22 21-2Z", "#c76a40") +
|
||||||
|
p("M-4 18V5H5V18", "#3a5550"),
|
||||||
|
);
|
||||||
|
const flag = (x, y, s = 1) =>
|
||||||
|
group(
|
||||||
|
x,
|
||||||
|
y,
|
||||||
|
s,
|
||||||
|
p("M0 23V-17", "none") + p("M0-17H24L17-8 24 0H0Z", "#f3ae42"),
|
||||||
|
);
|
||||||
|
const boat = (x, y, s = 1, rot = 0, lead = false) =>
|
||||||
|
`<g data-boat="true" transform="translate(${x} ${y}) rotate(${rot}) scale(${s})">${p("M-21 9H23L13 19H-11Z", lead ? "#f3ae42" : "#e9a982")}${p("M0 8V-23L18 5H0Z", "#fff1c9")}${p("M-19 24H20M-10 14V24M11 14V24", "none")}</g>`;
|
||||||
|
const shell = (x, y, s = 1) =>
|
||||||
|
group(
|
||||||
|
x,
|
||||||
|
y,
|
||||||
|
s,
|
||||||
|
p("M-21-10Q0-29 21-10L7 17H-7Z", "#fff0c2") +
|
||||||
|
p("M-13-9-4 11M0-15V11M13-9 4 11", "none"),
|
||||||
|
);
|
||||||
|
const label = (n) =>
|
||||||
|
`<g stroke="none"><rect x="43" y="91" width="42" height="25" rx="12" fill="#fff1ce"/><text x="64" y="110" text-anchor="middle" font-family="sans-serif" font-size="21" font-weight="bold" fill="#294e50">${n}</text></g>`;
|
||||||
|
const waves = p(
|
||||||
|
"M14 88Q24 80 35 88T57 88T79 88T111 88M25 99Q36 92 47 99T69 99T98 99",
|
||||||
|
"none",
|
||||||
|
'stroke="#a9ded5"',
|
||||||
|
);
|
||||||
|
const flood =
|
||||||
|
p("M13 92Q23 63 48 75T83 70Q111 46 110 80Q99 101 75 97T13 106Z", "#469cac") +
|
||||||
|
p("M22 89Q35 76 53 85T88 80", "none", 'stroke="#d5eee1"');
|
||||||
|
const chest = (x, y, s = 1, open = false) =>
|
||||||
|
group(
|
||||||
|
x,
|
||||||
|
y,
|
||||||
|
s,
|
||||||
|
(open
|
||||||
|
? p("M-24-6-17-28H24L28-6Z", "#d69b48") +
|
||||||
|
shell(-10, -6, 0.45) +
|
||||||
|
shell(9, -10, 0.55)
|
||||||
|
: p("M-24 0V-13Q0-29 24-13V0Z", "#d69b48")) +
|
||||||
|
p("M-25 0H25V25H-25Z", "#a96237") +
|
||||||
|
p("M-14 0V25M14 0V25", "none", 'stroke="#f2c872" stroke-width="5"') +
|
||||||
|
p("M-4 0H4V10H-4Z", "#fff0c2"),
|
||||||
|
);
|
||||||
|
const art = {};
|
||||||
|
art["island-victory"] =
|
||||||
|
island(64, 84, 1.4) + hut(57, 65, 1.25) + flag(77, 40, 0.9);
|
||||||
|
art["duel-victory"] =
|
||||||
|
island(64, 43, 0.65) +
|
||||||
|
flag(65, 28, 0.55) +
|
||||||
|
boat(33, 70, 0.85, 15, true) +
|
||||||
|
boat(91, 77, 0.85, -15);
|
||||||
|
art["trio-victory"] =
|
||||||
|
island(64, 67, 0.65) +
|
||||||
|
boat(64, 32, 0.68, 0, true) +
|
||||||
|
boat(33, 87, 0.68, -20) +
|
||||||
|
boat(95, 87, 0.68, 20) +
|
||||||
|
flag(66, 60, 0.5);
|
||||||
|
art["quartet-victory"] =
|
||||||
|
island(64, 64, 0.64) +
|
||||||
|
flag(64, 54, 0.5) +
|
||||||
|
[
|
||||||
|
[64, 28, 0],
|
||||||
|
[101, 64, 90],
|
||||||
|
[64, 100, 180],
|
||||||
|
[27, 64, -90],
|
||||||
|
]
|
||||||
|
.map(([x, y, r], i) => boat(x, y, 0.57, r, i === 0))
|
||||||
|
.join("");
|
||||||
|
art["full-table-victory"] =
|
||||||
|
island(64, 65, 0.6) +
|
||||||
|
flag(65, 54, 0.5) +
|
||||||
|
Array.from({ length: 5 }, (_, i) => {
|
||||||
|
const a = (i * Math.PI * 2) / 5 - Math.PI / 2;
|
||||||
|
return boat(
|
||||||
|
64 + 39 * Math.cos(a),
|
||||||
|
64 + 39 * Math.sin(a),
|
||||||
|
0.53,
|
||||||
|
i * 72,
|
||||||
|
i === 0,
|
||||||
|
);
|
||||||
|
}).join("");
|
||||||
|
art["rising-waters-victory"] =
|
||||||
|
island(59, 77, 1.2) + hut(53, 59, 1) + flag(73, 36, 0.8) + flood;
|
||||||
|
art["no-characters-victory"] =
|
||||||
|
'<rect x="65" y="35" width="31" height="48" rx="5" fill="#fff0cd" stroke-dasharray="5 4"/>' +
|
||||||
|
p("M71 76 89 42", "none", 'stroke="#b15e42"') +
|
||||||
|
flag(36, 39, 0.9) +
|
||||||
|
[77, 68, 59]
|
||||||
|
.map((y) => `<ellipse cx="43" cy="${y}" rx="20" ry="8" fill="#d57b4e"/>`)
|
||||||
|
.join("");
|
||||||
|
art["fifty-points"] =
|
||||||
|
island(64, 82, 1.25) +
|
||||||
|
hut(45, 70, 0.7) +
|
||||||
|
hut(82, 71, 0.7) +
|
||||||
|
shell(64, 41, 0.85) +
|
||||||
|
label(50);
|
||||||
|
art["seventy-five-points"] =
|
||||||
|
island(64, 86, 1.35) +
|
||||||
|
p("M25 81H103V89H25ZM35 65H93V75H35Z", "#bf975a") +
|
||||||
|
hut(43, 67, 0.56) +
|
||||||
|
hut(85, 67, 0.56) +
|
||||||
|
hut(64, 55, 0.6) +
|
||||||
|
shell(64, 29, 0.8) +
|
||||||
|
p("M35 28 29 22M93 28 99 22M64 8V3", "none", 'stroke="#f3b850"') +
|
||||||
|
label(75);
|
||||||
|
art["nine-vatus"] =
|
||||||
|
p("M42 43Q29 63 32 86Q64 111 96 86Q99 63 86 43Z", "#c9864b") +
|
||||||
|
'<ellipse cx="64" cy="44" rx="24" ry="10" fill="#354d49"/>' +
|
||||||
|
[
|
||||||
|
[48, 42],
|
||||||
|
[64, 36],
|
||||||
|
[79, 44],
|
||||||
|
]
|
||||||
|
.map(
|
||||||
|
([x, y]) =>
|
||||||
|
circle(x, y, 10, "#f6d385") + p(`M${x - 4} ${y - 4}l4 8 4-8`, "none"),
|
||||||
|
)
|
||||||
|
.join("") +
|
||||||
|
label(9);
|
||||||
|
art["four-huts"] =
|
||||||
|
island(64, 74, 1.45) +
|
||||||
|
[
|
||||||
|
[44, 49],
|
||||||
|
[84, 49],
|
||||||
|
[43, 78],
|
||||||
|
[85, 78],
|
||||||
|
]
|
||||||
|
.map(([x, y]) => hut(x, y, 0.75))
|
||||||
|
.join("");
|
||||||
|
art["three-islands"] =
|
||||||
|
p("M64 39 31 83 96 83Z", "none", 'stroke-dasharray="4 5" stroke="#e9d7a6"') +
|
||||||
|
[
|
||||||
|
[64, 36],
|
||||||
|
[33, 83],
|
||||||
|
[95, 83],
|
||||||
|
]
|
||||||
|
.map(([x, y]) => island(x, y, 0.65) + hut(x, y - 10, 0.6))
|
||||||
|
.join("");
|
||||||
|
art["tourism-twelve"] =
|
||||||
|
island(64, 78, 1.4) +
|
||||||
|
hut(42, 53, 0.8) +
|
||||||
|
hut(86, 53, 0.8) +
|
||||||
|
[47, 65, 83]
|
||||||
|
.map(
|
||||||
|
(x) =>
|
||||||
|
circle(x, 71, 5, "#fff2ce") + p(`M${x - 4} 77h8l3 14h-14Z`, "#fff2ce"),
|
||||||
|
)
|
||||||
|
.join("") +
|
||||||
|
shell(64, 26, 0.45) +
|
||||||
|
label(12);
|
||||||
|
art["treasure-six"] =
|
||||||
|
island(64, 86, 1.2) + chest(64, 65, 1) + shell(36, 91, 0.4) + label(6);
|
||||||
|
art["treasure-twelve"] =
|
||||||
|
chest(64, 62, 1.3, true) +
|
||||||
|
shell(29, 84, 0.5) +
|
||||||
|
shell(99, 84, 0.5) +
|
||||||
|
label(12);
|
||||||
|
art["weather-the-waters"] =
|
||||||
|
Array.from({ length: 8 }, (_, i) => {
|
||||||
|
const a = (i * Math.PI) / 4;
|
||||||
|
return circle(64 + 48 * Math.cos(a), 64 + 48 * Math.sin(a), 4, "#f6d793");
|
||||||
|
}).join("") +
|
||||||
|
island(64, 68, 0.95) +
|
||||||
|
hut(63, 51, 0.9) +
|
||||||
|
flood +
|
||||||
|
p("M28 77 89 65 95 75 31 88Z", "#b99873");
|
||||||
|
await mkdir(out, { recursive: true });
|
||||||
|
const browser = await chromium.launch({ headless: true });
|
||||||
|
const page = await browser.newPage({
|
||||||
|
viewport: { width: 256, height: 256 },
|
||||||
|
deviceScaleFactor: 1,
|
||||||
|
});
|
||||||
|
const manifest = {
|
||||||
|
game: "vanuatu",
|
||||||
|
engineVersion: "0.2.2",
|
||||||
|
revision: 2,
|
||||||
|
sourceSha256: hash(await readFile("scripts/achievement-art.mjs")),
|
||||||
|
provenance: "README.md",
|
||||||
|
assets: [],
|
||||||
|
};
|
||||||
|
for (const a of achievementDefinitions().achievements) {
|
||||||
|
if (!art[a.id]) throw Error(a.id);
|
||||||
|
const key = `achievement-${a.id}`;
|
||||||
|
const svg = `<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#285c60" stroke="#efd49a" stroke-width="3"/><g stroke="#344e47" stroke-width="2.5" stroke-linejoin="round" stroke-linecap="round">${waves}${art[a.id]}</g></svg>`;
|
||||||
|
await writeFile(`${out}/${key}.svg`, svg);
|
||||||
|
await page.setContent(
|
||||||
|
`<style>body{margin:0;background:transparent}svg{display:block}</style>${svg}`,
|
||||||
|
);
|
||||||
|
const png = await page.screenshot({ omitBackground: true });
|
||||||
|
await writeFile(`${out}/${key}.png`, png);
|
||||||
|
manifest.assets.push({
|
||||||
|
id: a.id,
|
||||||
|
key,
|
||||||
|
svg: `${key}.svg`,
|
||||||
|
png: `${key}.png`,
|
||||||
|
svgSha256: hash(svg),
|
||||||
|
pngSha256: hash(png),
|
||||||
|
width: 256,
|
||||||
|
height: 256,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
await writeFile(
|
||||||
|
`${out}/manifest.json`,
|
||||||
|
JSON.stringify(manifest, null, 2) + "\n",
|
||||||
|
);
|
||||||
|
for (const dark of [false, true]) {
|
||||||
|
await page.setViewportSize({ width: 1000, height: 1000 });
|
||||||
|
await page.setContent(
|
||||||
|
`<style>body{margin:0;padding:20px;background:${dark ? "#17252c" : "#fff8ea"};color:${dark ? "#fff1cf" : "#294e50"};font:14px sans-serif}main{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}article{height:215px;text-align:center}img{vertical-align:middle;border-radius:50%;margin:5px}</style><h2>Vanuatu · 32 / 48 / 64 / 96 px · ${dark ? "dark" : "light"}</h2><main>${await Promise.all(manifest.assets.map(async (a) => `<article><p>${a.id}</p>${[32, 48, 64, 96].map((n) => `<img width="${n}" height="${n}" src="data:image/png;base64,${""}" data-key="${a.key}">`).join("")}</article>`)).then((xs) => xs.join(""))}</main>`,
|
||||||
|
);
|
||||||
|
for (const a of manifest.assets) {
|
||||||
|
const data = (await readFile(`${out}/${a.png}`)).toString("base64");
|
||||||
|
await page
|
||||||
|
.locator(`[data-key="${a.key}"]`)
|
||||||
|
.evaluateAll(
|
||||||
|
(els, data) =>
|
||||||
|
els.forEach((el) => (el.src = `data:image/png;base64,${data}`)),
|
||||||
|
data,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
await page.evaluate(() =>
|
||||||
|
Promise.all([...document.images].map((i) => i.decode())),
|
||||||
|
);
|
||||||
|
await page.screenshot({
|
||||||
|
path: `${out}/contact-${dark ? "dark" : "light"}.png`,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
await browser.close();
|
||||||
73
test/achievement-art.test.js
Normal file
|
|
@ -0,0 +1,73 @@
|
||||||
|
import test from "node:test";
|
||||||
|
import assert from "node:assert/strict";
|
||||||
|
import { readFile } from "node:fs/promises";
|
||||||
|
import { createHash } from "node:crypto";
|
||||||
|
import { chromium } from "playwright";
|
||||||
|
import { achievementManifestSchema } from "@boardgamers/protocol/achievements";
|
||||||
|
import { achievementDefinitions } from "../engine/achievements.js";
|
||||||
|
const root = new URL("../artwork/achievements/", import.meta.url);
|
||||||
|
const hash = (b) => createHash("sha256").update(b).digest("hex");
|
||||||
|
test("art-only contract, baseline predicates and complete decoded unique exports", async () => {
|
||||||
|
const baseline = JSON.parse(await readFile(new URL("baseline.json", root)));
|
||||||
|
const current = achievementDefinitions();
|
||||||
|
achievementManifestSchema.parse(current);
|
||||||
|
assert.equal(current.revision, 2);
|
||||||
|
assert.deepEqual(
|
||||||
|
current.achievements.map(({ icon, ...a }) => a),
|
||||||
|
baseline.achievements,
|
||||||
|
);
|
||||||
|
const source = await readFile(
|
||||||
|
new URL("../engine/achievements.js", import.meta.url),
|
||||||
|
"utf8",
|
||||||
|
);
|
||||||
|
assert.equal(
|
||||||
|
hash(source.split("export function evaluateAchievements")[1]),
|
||||||
|
"3ca2c00f7aff7021f7e33095a2639f5cae9e2a5ed3e7417a3e72b50ca4cf42dc",
|
||||||
|
);
|
||||||
|
const exports = JSON.parse(await readFile(new URL("manifest.json", root)));
|
||||||
|
assert.equal(
|
||||||
|
exports.sourceSha256,
|
||||||
|
hash(
|
||||||
|
await readFile(
|
||||||
|
new URL("../scripts/achievement-art.mjs", import.meta.url),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
assert.deepEqual(
|
||||||
|
exports.assets.map((a) => a.id),
|
||||||
|
current.achievements.map((a) => a.id),
|
||||||
|
);
|
||||||
|
assert.equal(new Set(exports.assets.map((a) => a.pngSha256)).size, 16);
|
||||||
|
const browser = await chromium.launch({ headless: true });
|
||||||
|
try {
|
||||||
|
const page = await browser.newPage();
|
||||||
|
for (const [i, a] of exports.assets.entries()) {
|
||||||
|
assert.deepEqual(current.achievements[i].icon, {
|
||||||
|
type: "asset",
|
||||||
|
key: a.key,
|
||||||
|
});
|
||||||
|
assert.equal(a.key, `achievement-${a.id}`);
|
||||||
|
const svg = await readFile(new URL(a.svg, root));
|
||||||
|
const png = await readFile(new URL(a.png, root));
|
||||||
|
assert.equal(hash(svg), a.svgSha256);
|
||||||
|
assert.equal(hash(png), a.pngSha256);
|
||||||
|
const dimensions = await page.evaluate(async (data) => {
|
||||||
|
const image = new Image();
|
||||||
|
image.src = `data:image/png;base64,${data}`;
|
||||||
|
await image.decode();
|
||||||
|
return [image.naturalWidth, image.naturalHeight];
|
||||||
|
}, png.toString("base64"));
|
||||||
|
assert.deepEqual(dimensions, [256, 256]);
|
||||||
|
const boats = (svg.toString().match(/data-boat=/g) || []).length;
|
||||||
|
const expected = {
|
||||||
|
"duel-victory": 2,
|
||||||
|
"trio-victory": 3,
|
||||||
|
"quartet-victory": 4,
|
||||||
|
"full-table-victory": 5,
|
||||||
|
};
|
||||||
|
assert.equal(boats, expected[a.id] || 0);
|
||||||
|
}
|
||||||
|
} finally {
|
||||||
|
await browser.close();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
@ -81,7 +81,7 @@ function islands(s) {
|
||||||
test("manifest passes the official runtime schema and is independently owned", () => {
|
test("manifest passes the official runtime schema and is independently owned", () => {
|
||||||
const manifest = E.achievementDefinitions();
|
const manifest = E.achievementDefinitions();
|
||||||
achievementManifestSchema.parse(manifest);
|
achievementManifestSchema.parse(manifest);
|
||||||
assert.equal(manifest.revision, 1);
|
assert.equal(manifest.revision, 2);
|
||||||
assert.deepEqual(
|
assert.deepEqual(
|
||||||
manifest.achievements.map((a) => a.id),
|
manifest.achievements.map((a) => a.id),
|
||||||
ids,
|
ids,
|
||||||
|
|
|
||||||