@dreadwood-types/types 0.1.132 → 0.1.133

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.
@@ -24,7 +24,20 @@ export type QuestGuideStep = {
24
24
  z: number;
25
25
  /** When the target is a living NPC: its id, so the client tracks it live. */
26
26
  npcId?: string;
27
+ /**
28
+ * Easy quest mode (James, 2026-10-07: "my partner finds it hard to get the box of maggots"): every other thing of
29
+ * the kind the step needs near the player (all the rotten crops, not only the nearest), so the client can make
30
+ * each one glow. The arrow still follows x/z. Absent when the target is a person or a place.
31
+ */
32
+ marks?: QuestGuideMark[];
27
33
  };
34
+ export type QuestGuideMark = {
35
+ x: number;
36
+ z: number;
37
+ };
38
+ /** The most things one step lights up, and how far from the player they are looked for (tiles). */
39
+ export declare const QUEST_GUIDE_MAX_MARKS = 12;
40
+ export declare const QUEST_GUIDE_MARK_RADIUS = 45;
28
41
  /** How far a player walks before the client asks for the steps again (nearest-thing targets move with them). */
29
42
  export declare const QUEST_GUIDE_REFRESH_TILES = 24;
30
43
  //# sourceMappingURL=questGuide.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"questGuide.d.ts","sourceRoot":"","sources":["../src/questGuide.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEvD;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,UAAU,GAAG,OAAO,CAAC;IAC5B,4FAA4F;IAC5F,IAAI,EAAE,MAAM,CAAC;IACb,sEAAsE;IACtE,KAAK,EAAE,MAAM,CAAC;IACd,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,6EAA6E;IAC7E,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gHAAgH;AAChH,eAAO,MAAM,yBAAyB,KAAK,CAAC"}
1
+ {"version":3,"file":"questGuide.d.ts","sourceRoot":"","sources":["../src/questGuide.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEvD;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,UAAU,GAAG,OAAO,CAAC;IAC5B,4FAA4F;IAC5F,IAAI,EAAE,MAAM,CAAC;IACb,sEAAsE;IACtE,KAAK,EAAE,MAAM,CAAC;IACd,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,6EAA6E;IAC7E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,KAAK,CAAC,EAAE,cAAc,EAAE,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEtD,mGAAmG;AACnG,eAAO,MAAM,qBAAqB,KAAK,CAAC;AACxC,eAAO,MAAM,uBAAuB,KAAK,CAAC;AAE1C,gHAAgH;AAChH,eAAO,MAAM,yBAAyB,KAAK,CAAC"}
@@ -1,3 +1,6 @@
1
+ /** The most things one step lights up, and how far from the player they are looked for (tiles). */
2
+ export const QUEST_GUIDE_MAX_MARKS = 12;
3
+ export const QUEST_GUIDE_MARK_RADIUS = 45;
1
4
  /** How far a player walks before the client asks for the steps again (nearest-thing targets move with them). */
2
5
  export const QUEST_GUIDE_REFRESH_TILES = 24;
3
6
  //# sourceMappingURL=questGuide.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"questGuide.js","sourceRoot":"","sources":["../src/questGuide.ts"],"names":[],"mappings":"AA6BA,gHAAgH;AAChH,MAAM,CAAC,MAAM,yBAAyB,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"questGuide.js","sourceRoot":"","sources":["../src/questGuide.ts"],"names":[],"mappings":"AAqCA,mGAAmG;AACnG,MAAM,CAAC,MAAM,qBAAqB,GAAG,EAAE,CAAC;AACxC,MAAM,CAAC,MAAM,uBAAuB,GAAG,EAAE,CAAC;AAE1C,gHAAgH;AAChH,MAAM,CAAC,MAAM,yBAAyB,GAAG,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,38 +1,38 @@
1
- {
2
- "name": "@dreadwood-types/types",
3
- "version": "0.1.132",
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
- },
15
- "files": [
16
- "dist"
17
- ],
18
- "scripts": {
19
- "build": "tsc -p tsconfig.json",
20
- "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",
21
- "dev": "tsc -p tsconfig.json --watch",
22
- "prepare": "npm run build",
23
- "prepublishOnly": "npm run build"
24
- },
25
- "devDependencies": {
26
- "typescript": "^5.9.2"
27
- },
28
- "repository": {
29
- "type": "git",
30
- "url": "https://github.com/JamesPhelps/dreadwoods-types.git"
31
- },
32
- "publishConfig": {
33
- "access": "public"
34
- },
35
- "engines": {
36
- "node": ">=22"
37
- }
38
- }
1
+ {
2
+ "name": "@dreadwood-types/types",
3
+ "version": "0.1.133",
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
+ },
15
+ "files": [
16
+ "dist"
17
+ ],
18
+ "scripts": {
19
+ "build": "tsc -p tsconfig.json",
20
+ "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",
21
+ "dev": "tsc -p tsconfig.json --watch",
22
+ "prepare": "npm run build",
23
+ "prepublishOnly": "npm run build"
24
+ },
25
+ "devDependencies": {
26
+ "typescript": "^5.9.2"
27
+ },
28
+ "repository": {
29
+ "type": "git",
30
+ "url": "https://github.com/JamesPhelps/dreadwoods-types.git"
31
+ },
32
+ "publishConfig": {
33
+ "access": "public"
34
+ },
35
+ "engines": {
36
+ "node": ">=22"
37
+ }
38
+ }