@alpaca-software/40kdc-data 0.4.0 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -3
- package/dist/data/bundle.generated.js +1 -1
- package/dist/data/bundle.generated.js.map +1 -1
- package/dist/gen-conformance.js +151 -0
- package/dist/gen-conformance.js.map +1 -1
- package/dist/generated.d.ts +23 -0
- package/dist/generated.d.ts.map +1 -1
- package/dist/generated.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/runner.d.ts.map +1 -1
- package/dist/runner.js +162 -0
- package/dist/runner.js.map +1 -1
- package/dist/scoring/index.d.ts +28 -6
- package/dist/scoring/index.d.ts.map +1 -1
- package/dist/scoring/index.js +31 -7
- package/dist/scoring/index.js.map +1 -1
- package/dist/terrain/index.d.ts +2 -2
- package/dist/terrain/index.d.ts.map +1 -1
- package/dist/terrain/index.js +1 -1
- package/dist/terrain/index.js.map +1 -1
- package/dist/terrain/solve.d.ts +41 -0
- package/dist/terrain/solve.d.ts.map +1 -1
- package/dist/terrain/solve.js +100 -0
- package/dist/terrain/solve.js.map +1 -1
- package/package.json +2 -2
- package/schemas/core/secondary-card.schema.json +10 -0
- package/schemas/core/terrain-layout.schema.json +18 -0
- package/schemas/enrichment/ability-dsl/condition.schema.json +1 -1
package/README.md
CHANGED
|
@@ -15,8 +15,8 @@ bundlers, and the browser.
|
|
|
15
15
|
import { units } from "@alpaca-software/40kdc-data";
|
|
16
16
|
|
|
17
17
|
units.find("Kharn")!.abilities
|
|
18
|
-
.filter(a => a.phases.includes("
|
|
19
|
-
.map(a => a.id); // ["berzerker-frenzy"]
|
|
18
|
+
.filter(a => a.phases.includes("fight"))
|
|
19
|
+
.map(a => a.id); // ["legendary-killer", "berzerker-frenzy"]
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
## Install
|
|
@@ -69,12 +69,18 @@ data against them. See the repository root for schema details.
|
|
|
69
69
|
|
|
70
70
|
## Licensing & attribution
|
|
71
71
|
|
|
72
|
-
- Code (`tools/`): **MIT
|
|
72
|
+
- Code (`tools/`): **MIT + attribution requirement** — see [LICENSE-TOOLS](../LICENSE-TOOLS).
|
|
73
73
|
- Embedded enrichment data (`data/enrichment/`): **CC BY 4.0** —
|
|
74
74
|
attribution: *Alpaca Software and the 40kdc community contributors*
|
|
75
75
|
(<https://github.com/wn-mitch/40kdc-data>).
|
|
76
76
|
- JSON Schemas: **CC0**.
|
|
77
77
|
|
|
78
|
+
**Public deployment requirement:** Any publicly accessible application or
|
|
79
|
+
service that ships this package as part of its end-user product must display a
|
|
80
|
+
visible credit containing the text **"Powered by 40kdc-data"** and a link to
|
|
81
|
+
<https://40kdc.alpacasoft.dev> in a user-accessible location (footer, about
|
|
82
|
+
page, or credits section). Private use and library redistribution are exempt.
|
|
83
|
+
|
|
78
84
|
Stat lines and points are numerical facts. Ability and rules text are never
|
|
79
85
|
stored — abilities are community-authored structured mechanics (the Ability
|
|
80
86
|
DSL), not reproductions of copyrighted text.
|