@rpgm-tools/neo-angband-content 0.20.0 → 0.22.0
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/LICENSE.md +2 -2
- package/README.md +5 -5
- package/package.json +1 -1
package/LICENSE.md
CHANGED
|
@@ -32,8 +32,8 @@ Gervais tiles (CC BY 3.0, attribution given in that CREDITS.md) are available
|
|
|
32
32
|
to tile packs under their own terms. The Shockbolt tile set is a distinct
|
|
33
33
|
case and is **not** bundled: its license grants fee-free distribution *with*
|
|
34
34
|
Angband but withholds modification without the author's permission, and
|
|
35
|
-
withholds use with "other games or projects" absent explicit permission
|
|
36
|
-
|
|
35
|
+
withholds use with "other games or projects" absent explicit permission, so
|
|
36
|
+
whether this port may carry it turns on a question only the author can
|
|
37
37
|
settle. CREDITS.md states the grants and the prohibitions in full.
|
|
38
38
|
|
|
39
39
|
## Mods
|
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# @rpgm-tools/neo-angband-content
|
|
2
2
|
|
|
3
3
|
Angband 4.2.6's gamedata, compiled to the schema-validated pack format
|
|
4
|
-
[Neo Angband](https://github.com/neostryder/neo-angband) boots from
|
|
4
|
+
[Neo Angband](https://github.com/neostryder/neo-angband) boots from, plus the
|
|
5
5
|
compiler that produced it.
|
|
6
6
|
|
|
7
7
|
```bash
|
|
@@ -24,14 +24,14 @@ a mod that replaces every record is doing what the base game already does.
|
|
|
24
24
|
|
|
25
25
|
| Path | What it holds |
|
|
26
26
|
| --- | --- |
|
|
27
|
-
| `pack/` | 45 compiled JSON files
|
|
27
|
+
| `pack/` | 45 compiled JSON files: the content itself, which is what most consumers want |
|
|
28
28
|
| `dist/` | The compiler: `compileGamedata`, the line parser, and the per-file specs |
|
|
29
29
|
|
|
30
30
|
```ts
|
|
31
31
|
import monsters from "@rpgm-tools/neo-angband-content/pack/monster.json" with { type: "json" };
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
-
To recompile from upstream's text files
|
|
34
|
+
To recompile from upstream's text files, which needs an Angband checkout, not
|
|
35
35
|
shipped here:
|
|
36
36
|
|
|
37
37
|
```ts
|
|
@@ -42,7 +42,7 @@ import { compileGamedata, gamedataSpecs } from "@rpgm-tools/neo-angband-content"
|
|
|
42
42
|
|
|
43
43
|
The compiler is not a convenient reader. It is checked against upstream's own
|
|
44
44
|
parser (`reference/src/parser.c`) directive by directive, and the pack is checked
|
|
45
|
-
back against the text it came from
|
|
45
|
+
back against the text it came from: a field the compiler drops silently is the
|
|
46
46
|
failure mode that matters, because the game then plays subtly differently with
|
|
47
47
|
nothing to see. Those checks are `data-exactness.test.ts` and the
|
|
48
48
|
`*.upstream.test.ts` files in `src/`.
|
|
@@ -57,7 +57,7 @@ was compiled from and moves independently.
|
|
|
57
57
|
|
|
58
58
|
Neo Angband keeps Angband's dual licence, as the Angband project asks of its
|
|
59
59
|
variants: **GNU GPL v2, or the Angband licence**, at your option. npm can only
|
|
60
|
-
carry one SPDX identifier, so the manifest says `GPL-2.0-only
|
|
60
|
+
carry one SPDX identifier, so the manifest says `GPL-2.0-only`, the more
|
|
61
61
|
restrictive of the two. The full text of both is in [LICENSE.md](LICENSE.md).
|
|
62
62
|
|
|
63
63
|
The gamedata in `pack/` is Angband's, by Ben Harrison, James E. Wilson, Robert A.
|
package/package.json
CHANGED