@dreadwood-types/types 0.1.199 → 0.1.200
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/dist/bounty.d.ts +34 -1
- package/dist/bounty.d.ts.map +1 -1
- package/dist/bounty.js +122 -10
- package/dist/bounty.js.map +1 -1
- package/package.json +43 -43
package/dist/bounty.d.ts
CHANGED
|
@@ -6,9 +6,22 @@
|
|
|
6
6
|
* Tiers are gated by the player's Combat level. Bruce only ever offers the single
|
|
7
7
|
* highest tier the player has unlocked, so lower-tier targets stop being offered as
|
|
8
8
|
* the hunter grows (seagull / crab contracts vanish once Combat reaches 8).
|
|
9
|
+
*
|
|
10
|
+
* Combat 20-40 is `BOUNTY_TIERS_20_TO_40_PROVISIONAL`; its counts are placeholders for the balance pass.
|
|
9
11
|
*/
|
|
12
|
+
import type { NpcKind } from './constants.js';
|
|
10
13
|
/** Bounty targets - all reuse an existing NpcKind. */
|
|
11
|
-
export type BountyTargetKind = 'seagull' | 'crab' | 'rabbit' | 'fox' | 'hijacker' | 'soldier' | 'goblin' | 'amazon';
|
|
14
|
+
export type BountyTargetKind = 'seagull' | 'crab' | 'rabbit' | 'fox' | 'hijacker' | 'soldier' | 'goblin' | 'amazon' | 'redcap' | 'redcaparcher' | 'blackwakedeckhand' | 'cutthroat' | 'drowneddeckhand' | 'gravehound' | 'mosswolf' | 'mammoth' | 'polarbear' | 'ironjawogre';
|
|
15
|
+
/** Compile-time check: every bounty target is a real NpcKind (a typo or a retired kind fails the build). */
|
|
16
|
+
type BountyTargetsAreNpcKinds = BountyTargetKind extends NpcKind ? true : never;
|
|
17
|
+
export declare const BOUNTY_TARGETS_ARE_NPC_KINDS: BountyTargetsAreNpcKinds;
|
|
18
|
+
/**
|
|
19
|
+
* Targets that live only inside the Dreadwoods, the PvP zone with no healing in a fight (zones.ts isPvpZone).
|
|
20
|
+
* A tier never offers one as its only choice: a player who avoids PvP always has an open-country contract too.
|
|
21
|
+
* The guide and the board label these so nobody takes one by surprise.
|
|
22
|
+
*/
|
|
23
|
+
export declare const BOUNTY_PVP_TARGETS: readonly BountyTargetKind[];
|
|
24
|
+
export declare function isPvpBountyTarget(target: BountyTargetKind): boolean;
|
|
12
25
|
export type BountyOffer = {
|
|
13
26
|
target: BountyTargetKind;
|
|
14
27
|
count: number;
|
|
@@ -24,6 +37,25 @@ export type BountyTier = {
|
|
|
24
37
|
minCombat: number;
|
|
25
38
|
offers: BountyOffer[];
|
|
26
39
|
};
|
|
40
|
+
/**
|
|
41
|
+
* Combat 20-40 (slice B1 of PLAN_1_TO_40.md, 2026-10-12): every contract names a creature that already lives in the
|
|
42
|
+
* world, at or below the unlocking Combat level and never above 40 (41+ stays behind its gates).
|
|
43
|
+
*
|
|
44
|
+
* PROVISIONAL (balance pass): every `count` below is a placeholder, sized only by how many of the creature spawn
|
|
45
|
+
* (three archers, two polar bears) so a contract finishes in one sitting. `rewardLevel` is not new: it is the
|
|
46
|
+
* creature's own level, as in the tiers above, so the Small Satchel pays by the existing formula
|
|
47
|
+
* (`satchelGoldRange`: level x 20-60 gold). Change these numbers in the balance pass, and only here.
|
|
48
|
+
*
|
|
49
|
+
* Where each lives (a player reaches all of them on foot, no key and no Explorer gate):
|
|
50
|
+
* - redcap, redcaparcher: Highwayman's Ridge (east of Calverton).
|
|
51
|
+
* - blackwakedeckhand, cutthroat, drowneddeckhand: the Sundered Coast's Blackwake Cove and Fort Rook.
|
|
52
|
+
* - goblin: the battlefield's goblins (the same grind as the lists above, the open-country fallback at Combat 20).
|
|
53
|
+
* - mammoth: the Snowfields' herd (north). polarbear: the Bear Floes beaches (north).
|
|
54
|
+
* - gravehound, mosswolf, ironjawogre: inside the Dreadwoods (PvP zone, BOUNTY_PVP_TARGETS), always a third choice.
|
|
55
|
+
* Left out on purpose: amazons (only past the Rat Tunnel hole, itself gated), frost wolf and crystal skitter (the Ice Prison is behind the Frozen Key until the plan's D1
|
|
56
|
+
* opens it), spiders (Spider Cave), and every 41+ creature.
|
|
57
|
+
*/
|
|
58
|
+
export declare const BOUNTY_TIERS_20_TO_40_PROVISIONAL: readonly BountyTier[];
|
|
27
59
|
/** Ordered low to high; the last entry whose `minCombat` a player meets is theirs. */
|
|
28
60
|
export declare const BOUNTY_TIERS: readonly BountyTier[];
|
|
29
61
|
/** The offers Bruce shows a player at this Combat level (empty below tier 1). */
|
|
@@ -63,4 +95,5 @@ export declare function satchelGoldRange(rewardLevel: number): {
|
|
|
63
95
|
min: number;
|
|
64
96
|
max: number;
|
|
65
97
|
};
|
|
98
|
+
export {};
|
|
66
99
|
//# sourceMappingURL=bounty.d.ts.map
|
package/dist/bounty.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bounty.d.ts","sourceRoot":"","sources":["../src/bounty.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"bounty.d.ts","sourceRoot":"","sources":["../src/bounty.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAE9C,sDAAsD;AACtD,MAAM,MAAM,gBAAgB,GACxB,SAAS,GACT,MAAM,GACN,QAAQ,GACR,KAAK,GACL,UAAU,GACV,SAAS,GACT,QAAQ,GACR,QAAQ,GAER,QAAQ,GACR,cAAc,GACd,mBAAmB,GACnB,WAAW,GACX,iBAAiB,GACjB,YAAY,GACZ,UAAU,GACV,SAAS,GACT,WAAW,GACX,aAAa,CAAC;AAElB,4GAA4G;AAC5G,KAAK,wBAAwB,GAAG,gBAAgB,SAAS,OAAO,GAAG,IAAI,GAAG,KAAK,CAAC;AAChF,eAAO,MAAM,4BAA4B,EAAE,wBAA+B,CAAC;AAE3E;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,SAAS,gBAAgB,EAA8C,CAAC;AAEzG,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,gBAAgB,GAAG,OAAO,CAEnE;AAED,MAAM,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KAAK,CAAC;AACxC,eAAO,MAAM,qBAAqB,KAAK,CAAC;AAExC,mEAAmE;AACnE,eAAO,MAAM,mBAAmB,QAAQ,CAAC;AACzC,iEAAiE;AACjE,eAAO,MAAM,oBAAoB,OAAO,CAAC;AACzC,eAAO,MAAM,iBAAiB,KAAK,CAAC;AACpC,eAAO,MAAM,iBAAiB,MAAM,CAAC;AAErC,MAAM,MAAM,gBAAgB,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAEhF,sDAAsD;AACtD,eAAO,MAAM,iBAAiB,EAAE,SAAS,gBAAgB,EAO/C,CAAC;AAEX,2DAA2D;AAC3D,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,MAAM,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAGlF"}
|
package/dist/bounty.js
CHANGED
|
@@ -6,9 +6,21 @@
|
|
|
6
6
|
* Tiers are gated by the player's Combat level. Bruce only ever offers the single
|
|
7
7
|
* highest tier the player has unlocked, so lower-tier targets stop being offered as
|
|
8
8
|
* the hunter grows (seagull / crab contracts vanish once Combat reaches 8).
|
|
9
|
+
*
|
|
10
|
+
* Combat 20-40 is `BOUNTY_TIERS_20_TO_40_PROVISIONAL`; its counts are placeholders for the balance pass.
|
|
9
11
|
*/
|
|
10
|
-
|
|
11
|
-
|
|
12
|
+
export const BOUNTY_TARGETS_ARE_NPC_KINDS = true;
|
|
13
|
+
/**
|
|
14
|
+
* Targets that live only inside the Dreadwoods, the PvP zone with no healing in a fight (zones.ts isPvpZone).
|
|
15
|
+
* A tier never offers one as its only choice: a player who avoids PvP always has an open-country contract too.
|
|
16
|
+
* The guide and the board label these so nobody takes one by surprise.
|
|
17
|
+
*/
|
|
18
|
+
export const BOUNTY_PVP_TARGETS = ['gravehound', 'mosswolf', 'ironjawogre'];
|
|
19
|
+
export function isPvpBountyTarget(target) {
|
|
20
|
+
return BOUNTY_PVP_TARGETS.includes(target);
|
|
21
|
+
}
|
|
22
|
+
/** Combat 1-18: the original six tiers. */
|
|
23
|
+
const BOUNTY_TIERS_1_TO_18 = [
|
|
12
24
|
{
|
|
13
25
|
minCombat: 1,
|
|
14
26
|
offers: [
|
|
@@ -56,6 +68,103 @@ export const BOUNTY_TIERS = [
|
|
|
56
68
|
],
|
|
57
69
|
},
|
|
58
70
|
];
|
|
71
|
+
/**
|
|
72
|
+
* Combat 20-40 (slice B1 of PLAN_1_TO_40.md, 2026-10-12): every contract names a creature that already lives in the
|
|
73
|
+
* world, at or below the unlocking Combat level and never above 40 (41+ stays behind its gates).
|
|
74
|
+
*
|
|
75
|
+
* PROVISIONAL (balance pass): every `count` below is a placeholder, sized only by how many of the creature spawn
|
|
76
|
+
* (three archers, two polar bears) so a contract finishes in one sitting. `rewardLevel` is not new: it is the
|
|
77
|
+
* creature's own level, as in the tiers above, so the Small Satchel pays by the existing formula
|
|
78
|
+
* (`satchelGoldRange`: level x 20-60 gold). Change these numbers in the balance pass, and only here.
|
|
79
|
+
*
|
|
80
|
+
* Where each lives (a player reaches all of them on foot, no key and no Explorer gate):
|
|
81
|
+
* - redcap, redcaparcher: Highwayman's Ridge (east of Calverton).
|
|
82
|
+
* - blackwakedeckhand, cutthroat, drowneddeckhand: the Sundered Coast's Blackwake Cove and Fort Rook.
|
|
83
|
+
* - goblin: the battlefield's goblins (the same grind as the lists above, the open-country fallback at Combat 20).
|
|
84
|
+
* - mammoth: the Snowfields' herd (north). polarbear: the Bear Floes beaches (north).
|
|
85
|
+
* - gravehound, mosswolf, ironjawogre: inside the Dreadwoods (PvP zone, BOUNTY_PVP_TARGETS), always a third choice.
|
|
86
|
+
* Left out on purpose: amazons (only past the Rat Tunnel hole, itself gated), frost wolf and crystal skitter (the Ice Prison is behind the Frozen Key until the plan's D1
|
|
87
|
+
* opens it), spiders (Spider Cave), and every 41+ creature.
|
|
88
|
+
*/
|
|
89
|
+
export const BOUNTY_TIERS_20_TO_40_PROVISIONAL = [
|
|
90
|
+
{
|
|
91
|
+
minCombat: 20,
|
|
92
|
+
offers: [
|
|
93
|
+
{ target: 'redcap', count: 20, rewardLevel: 17 },
|
|
94
|
+
{ target: 'blackwakedeckhand', count: 25, rewardLevel: 15 },
|
|
95
|
+
{ target: 'goblin', count: 50, rewardLevel: 12 },
|
|
96
|
+
],
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
minCombat: 22,
|
|
100
|
+
offers: [
|
|
101
|
+
{ target: 'cutthroat', count: 15, rewardLevel: 20 },
|
|
102
|
+
{ target: 'redcaparcher', count: 12, rewardLevel: 19 },
|
|
103
|
+
{ target: 'redcap', count: 30, rewardLevel: 17 },
|
|
104
|
+
],
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
minCombat: 25,
|
|
108
|
+
offers: [
|
|
109
|
+
{ target: 'drowneddeckhand', count: 10, rewardLevel: 22 },
|
|
110
|
+
{ target: 'cutthroat', count: 25, rewardLevel: 20 },
|
|
111
|
+
{ target: 'gravehound', count: 15, rewardLevel: 22 },
|
|
112
|
+
],
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
minCombat: 28,
|
|
116
|
+
offers: [
|
|
117
|
+
{ target: 'redcaparcher', count: 20, rewardLevel: 19 },
|
|
118
|
+
{ target: 'drowneddeckhand', count: 20, rewardLevel: 22 },
|
|
119
|
+
{ target: 'mosswolf', count: 15, rewardLevel: 24 },
|
|
120
|
+
],
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
minCombat: 31,
|
|
124
|
+
offers: [
|
|
125
|
+
{ target: 'cutthroat', count: 40, rewardLevel: 20 },
|
|
126
|
+
{ target: 'drowneddeckhand', count: 25, rewardLevel: 22 },
|
|
127
|
+
{ target: 'gravehound', count: 25, rewardLevel: 22 },
|
|
128
|
+
],
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
minCombat: 34,
|
|
132
|
+
offers: [
|
|
133
|
+
{ target: 'mammoth', count: 8, rewardLevel: 33 },
|
|
134
|
+
{ target: 'drowneddeckhand', count: 30, rewardLevel: 22 },
|
|
135
|
+
{ target: 'mosswolf', count: 25, rewardLevel: 24 },
|
|
136
|
+
],
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
minCombat: 36,
|
|
140
|
+
offers: [
|
|
141
|
+
{ target: 'polarbear', count: 5, rewardLevel: 36 },
|
|
142
|
+
{ target: 'mammoth', count: 15, rewardLevel: 33 },
|
|
143
|
+
{ target: 'mosswolf', count: 30, rewardLevel: 24 },
|
|
144
|
+
],
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
minCombat: 38,
|
|
148
|
+
offers: [
|
|
149
|
+
{ target: 'polarbear', count: 8, rewardLevel: 36 },
|
|
150
|
+
{ target: 'mammoth', count: 20, rewardLevel: 33 },
|
|
151
|
+
{ target: 'ironjawogre', count: 10, rewardLevel: 38 },
|
|
152
|
+
],
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
minCombat: 40,
|
|
156
|
+
offers: [
|
|
157
|
+
{ target: 'polarbear', count: 12, rewardLevel: 36 },
|
|
158
|
+
{ target: 'mammoth', count: 30, rewardLevel: 33 },
|
|
159
|
+
{ target: 'ironjawogre', count: 15, rewardLevel: 38 },
|
|
160
|
+
],
|
|
161
|
+
},
|
|
162
|
+
];
|
|
163
|
+
/** Ordered low to high; the last entry whose `minCombat` a player meets is theirs. */
|
|
164
|
+
export const BOUNTY_TIERS = [
|
|
165
|
+
...BOUNTY_TIERS_1_TO_18,
|
|
166
|
+
...BOUNTY_TIERS_20_TO_40_PROVISIONAL,
|
|
167
|
+
];
|
|
59
168
|
/** The offers Bruce shows a player at this Combat level (empty below tier 1). */
|
|
60
169
|
export function bountyTierForCombat(combatLevel) {
|
|
61
170
|
const level = Math.floor(combatLevel);
|
|
@@ -67,14 +176,7 @@ export function bountyTierForCombat(combatLevel) {
|
|
|
67
176
|
return chosen;
|
|
68
177
|
}
|
|
69
178
|
export function isBountyTargetKind(value) {
|
|
70
|
-
return
|
|
71
|
-
value === 'crab' ||
|
|
72
|
-
value === 'rabbit' ||
|
|
73
|
-
value === 'fox' ||
|
|
74
|
-
value === 'hijacker' ||
|
|
75
|
-
value === 'soldier' ||
|
|
76
|
-
value === 'goblin' ||
|
|
77
|
-
value === 'amazon');
|
|
179
|
+
return typeof value === 'string' && Object.prototype.hasOwnProperty.call(BOUNTY_TARGET_NAME, value);
|
|
78
180
|
}
|
|
79
181
|
/** Find the offer for a target at the player's tier, or null if not currently offered. */
|
|
80
182
|
export function bountyOfferFor(combatLevel, target) {
|
|
@@ -110,6 +212,16 @@ export const BOUNTY_TARGET_NAME = {
|
|
|
110
212
|
soldier: 'soldiers',
|
|
111
213
|
goblin: 'goblins',
|
|
112
214
|
amazon: 'Amazonian warriors',
|
|
215
|
+
redcap: 'Redcap footpads',
|
|
216
|
+
redcaparcher: 'Redcap archers',
|
|
217
|
+
blackwakedeckhand: 'Blackwake deckhands',
|
|
218
|
+
cutthroat: 'Blackwake cutthroats',
|
|
219
|
+
drowneddeckhand: 'drowned deckhands',
|
|
220
|
+
gravehound: 'grave hounds',
|
|
221
|
+
mosswolf: 'moss wolves',
|
|
222
|
+
mammoth: 'woolly mammoths',
|
|
223
|
+
polarbear: 'polar bears',
|
|
224
|
+
ironjawogre: 'Ironjaw ogres',
|
|
113
225
|
};
|
|
114
226
|
export function bountyTargetDisplayName(target) {
|
|
115
227
|
return BOUNTY_TARGET_NAME[target] ?? target;
|
package/dist/bounty.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bounty.js","sourceRoot":"","sources":["../src/bounty.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"bounty.js","sourceRoot":"","sources":["../src/bounty.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AA4BH,MAAM,CAAC,MAAM,4BAA4B,GAA6B,IAAI,CAAC;AA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BAAgB,CAAC,WAAmB;IAClD,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC;IACnD,OAAO,EAAE,GAAG,EAAE,KAAK,GAAG,qBAAqB,EAAE,GAAG,EAAE,KAAK,GAAG,qBAAqB,EAAE,CAAC;AACpF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@dreadwood-types/types",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Public wire protocol and client-safe constants for Dreadwoods",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/index.js",
|
|
7
|
-
"types": "./dist/index.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"types": "./dist/index.d.ts",
|
|
11
|
-
"import": "./dist/index.js",
|
|
12
|
-
"default": "./dist/index.js"
|
|
13
|
-
},
|
|
14
|
-
"./legacy": {
|
|
15
|
-
"types": "./dist/legacy.d.ts",
|
|
16
|
-
"import": "./dist/legacy.js",
|
|
17
|
-
"default": "./dist/legacy.js"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"files": [
|
|
21
|
-
"dist"
|
|
22
|
-
],
|
|
23
|
-
"scripts": {
|
|
24
|
-
"build": "tsc -p tsconfig.json",
|
|
25
|
-
"test": "node --test scripts/animation-test.mjs scripts/starter-jobs-test.mjs scripts/cooking-nudge-test.mjs scripts/surface-chart-test.mjs scripts/south-expansion-test.mjs scripts/rudd-test.mjs scripts/cave-map-test.mjs scripts/birch-combat-test.mjs scripts/fort-rook-bosses-test.mjs scripts/bounty-first-test.mjs scripts/running-test.mjs scripts/energy-test.mjs scripts/starter-town-test.mjs scripts/starter-expansion-test.mjs scripts/five-arches-test.mjs scripts/landing-test.mjs scripts/cove-ship-test.mjs scripts/south-fields-quests-test.mjs scripts/arcane-lands-test.mjs scripts/fair-folk-test.mjs scripts/world-boss-ring-test.mjs scripts/ringstone-fight-test.mjs scripts/hopewood-wildlife-test.mjs scripts/hollin-wildlife-test.mjs scripts/hopewood-quests-test.mjs scripts/western-train-test.mjs scripts/moving-train-test.mjs scripts/train-circuit-test.mjs scripts/forge-halt-test.mjs scripts/forge-polish-test.mjs scripts/western-station-test.mjs scripts/hollin-quests-test.mjs scripts/western-lost-supplies-test.mjs scripts/western-herbal-remedies-test.mjs scripts/western-field-shrine-test.mjs scripts/western-kingdoms-test.mjs scripts/lantern-wake-test.mjs scripts/lantern-wake-town-test.mjs scripts/world-regions-test.mjs scripts/copse-wildlife-test.mjs scripts/copse-quests-test.mjs scripts/marches-wildlife-test.mjs scripts/marches-quests-test.mjs scripts/train-seats-test.mjs scripts/lantern-wake-gallery-test.mjs scripts/lantern-wake-wildlife-test.mjs scripts/lantern-wake-quest-test.mjs scripts/dwarf-hold-test.mjs scripts/western-line-texts-test.mjs scripts/xp-test.mjs scripts/bank-test.mjs scripts/timed-access-test.mjs scripts/ground-items-test.mjs scripts/name-filter-test.mjs scripts/woodwork-logs-test.mjs",
|
|
26
|
-
"dev": "tsc -p tsconfig.json --watch",
|
|
27
|
-
"prepare": "npm run build",
|
|
28
|
-
"prepublishOnly": "npm run build"
|
|
29
|
-
},
|
|
30
|
-
"devDependencies": {
|
|
31
|
-
"typescript": "^5.9.2"
|
|
32
|
-
},
|
|
33
|
-
"repository": {
|
|
34
|
-
"type": "git",
|
|
35
|
-
"url": "https://github.com/JamesPhelps/dreadwoods-types.git"
|
|
36
|
-
},
|
|
37
|
-
"publishConfig": {
|
|
38
|
-
"access": "public"
|
|
39
|
-
},
|
|
40
|
-
"engines": {
|
|
41
|
-
"node": ">=22"
|
|
42
|
-
}
|
|
43
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@dreadwood-types/types",
|
|
3
|
+
"version": "0.1.200",
|
|
4
|
+
"description": "Public wire protocol and client-safe constants for Dreadwoods",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"default": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./legacy": {
|
|
15
|
+
"types": "./dist/legacy.d.ts",
|
|
16
|
+
"import": "./dist/legacy.js",
|
|
17
|
+
"default": "./dist/legacy.js"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"files": [
|
|
21
|
+
"dist"
|
|
22
|
+
],
|
|
23
|
+
"scripts": {
|
|
24
|
+
"build": "tsc -p tsconfig.json",
|
|
25
|
+
"test": "node --test scripts/animation-test.mjs scripts/starter-jobs-test.mjs scripts/cooking-nudge-test.mjs scripts/surface-chart-test.mjs scripts/south-expansion-test.mjs scripts/rudd-test.mjs scripts/cave-map-test.mjs scripts/birch-combat-test.mjs scripts/fort-rook-bosses-test.mjs scripts/bounty-first-test.mjs scripts/bounty-high-tiers-test.mjs scripts/running-test.mjs scripts/energy-test.mjs scripts/starter-town-test.mjs scripts/starter-expansion-test.mjs scripts/five-arches-test.mjs scripts/landing-test.mjs scripts/cove-ship-test.mjs scripts/south-fields-quests-test.mjs scripts/arcane-lands-test.mjs scripts/fair-folk-test.mjs scripts/world-boss-ring-test.mjs scripts/ringstone-fight-test.mjs scripts/hopewood-wildlife-test.mjs scripts/hollin-wildlife-test.mjs scripts/hopewood-quests-test.mjs scripts/western-train-test.mjs scripts/moving-train-test.mjs scripts/train-circuit-test.mjs scripts/forge-halt-test.mjs scripts/forge-polish-test.mjs scripts/western-station-test.mjs scripts/hollin-quests-test.mjs scripts/western-lost-supplies-test.mjs scripts/western-herbal-remedies-test.mjs scripts/western-field-shrine-test.mjs scripts/western-kingdoms-test.mjs scripts/lantern-wake-test.mjs scripts/lantern-wake-town-test.mjs scripts/world-regions-test.mjs scripts/copse-wildlife-test.mjs scripts/copse-quests-test.mjs scripts/marches-wildlife-test.mjs scripts/marches-quests-test.mjs scripts/train-seats-test.mjs scripts/lantern-wake-gallery-test.mjs scripts/lantern-wake-wildlife-test.mjs scripts/lantern-wake-quest-test.mjs scripts/dwarf-hold-test.mjs scripts/western-line-texts-test.mjs scripts/xp-test.mjs scripts/bank-test.mjs scripts/timed-access-test.mjs scripts/ground-items-test.mjs scripts/name-filter-test.mjs scripts/woodwork-logs-test.mjs",
|
|
26
|
+
"dev": "tsc -p tsconfig.json --watch",
|
|
27
|
+
"prepare": "npm run build",
|
|
28
|
+
"prepublishOnly": "npm run build"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"typescript": "^5.9.2"
|
|
32
|
+
},
|
|
33
|
+
"repository": {
|
|
34
|
+
"type": "git",
|
|
35
|
+
"url": "https://github.com/JamesPhelps/dreadwoods-types.git"
|
|
36
|
+
},
|
|
37
|
+
"publishConfig": {
|
|
38
|
+
"access": "public"
|
|
39
|
+
},
|
|
40
|
+
"engines": {
|
|
41
|
+
"node": ">=22"
|
|
42
|
+
}
|
|
43
|
+
}
|