arkham-investigator-data 2.0.10 → 2.0.17
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 +20 -0
- package/build/src/api/arkhamCards/format/keepLastTabooSignature.d.ts +1 -1
- package/build/src/components/signatures/getSignatureBase.d.ts +9 -5
- package/build/src/components/signatures/special/getCardSpecial.d.ts +9 -5
- package/build/src/model/game/image.d.ts +1 -1
- package/build/src/model/game/options.d.ts +2 -0
- package/package.json +1 -1
package/README.md
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# Arkham Investigator Data Repository
|
2
|
+
|
3
|
+
## How to add new image
|
4
|
+
|
5
|
+
Create base versions:
|
6
|
+
|
7
|
+
### full
|
8
|
+
|
9
|
+
1. Recommended size: 2000x2000
|
10
|
+
2. It's good if investigator face will be in center of the image
|
11
|
+
3. Make the face height as minimum 10-15% of the image height
|
12
|
+
|
13
|
+
### mimi, square
|
14
|
+
|
15
|
+
1. Mini size: 484x744
|
16
|
+
2. Square size: 484x484
|
17
|
+
|
18
|
+
### grayscale
|
19
|
+
|
20
|
+
Make grayscale version of all sizes
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { ArkhamCardsInvestigator } from "../arkhamCards.types";
|
1
|
+
import type { ArkhamCardsInvestigator } from "../arkhamCards.types";
|
2
2
|
export declare const keepLastTabooSignature: (data: ArkhamCardsInvestigator[]) => ArkhamCardsInvestigator[];
|
@@ -7,7 +7,7 @@ export declare const getSignatureBase: (card: ArkhamCardsInvestigator) => {
|
|
7
7
|
id: string;
|
8
8
|
width: number;
|
9
9
|
height: number;
|
10
|
-
face
|
10
|
+
face: import("../../model").InvestigatorImageBox;
|
11
11
|
media?: import("../../model").InvestigatorImageMedia[];
|
12
12
|
};
|
13
13
|
type: "default";
|
@@ -38,7 +38,7 @@ export declare const getSignatureBase: (card: ArkhamCardsInvestigator) => {
|
|
38
38
|
id: string;
|
39
39
|
width: number;
|
40
40
|
height: number;
|
41
|
-
face
|
41
|
+
face: import("../../model").InvestigatorImageBox;
|
42
42
|
media?: import("../../model").InvestigatorImageMedia[];
|
43
43
|
};
|
44
44
|
code: string;
|
@@ -46,6 +46,7 @@ export declare const getSignatureBase: (card: ArkhamCardsInvestigator) => {
|
|
46
46
|
name: string;
|
47
47
|
additionalAction?: boolean;
|
48
48
|
abilities?: import("../../model").InvestigatorAbility[];
|
49
|
+
roles?: import("../../model").InvestigatorFaction[];
|
49
50
|
id: string;
|
50
51
|
health: number;
|
51
52
|
sanity: number;
|
@@ -66,7 +67,7 @@ export declare const getSignatureBase: (card: ArkhamCardsInvestigator) => {
|
|
66
67
|
id: string;
|
67
68
|
width: number;
|
68
69
|
height: number;
|
69
|
-
face
|
70
|
+
face: import("../../model").InvestigatorImageBox;
|
70
71
|
media?: import("../../model").InvestigatorImageMedia[];
|
71
72
|
};
|
72
73
|
code: string;
|
@@ -74,6 +75,7 @@ export declare const getSignatureBase: (card: ArkhamCardsInvestigator) => {
|
|
74
75
|
name: string;
|
75
76
|
additionalAction?: boolean;
|
76
77
|
abilities?: import("../../model").InvestigatorAbility[];
|
78
|
+
roles?: import("../../model").InvestigatorFaction[];
|
77
79
|
id: string;
|
78
80
|
health: number;
|
79
81
|
sanity: number;
|
@@ -94,7 +96,7 @@ export declare const getSignatureBase: (card: ArkhamCardsInvestigator) => {
|
|
94
96
|
id: string;
|
95
97
|
width: number;
|
96
98
|
height: number;
|
97
|
-
face
|
99
|
+
face: import("../../model").InvestigatorImageBox;
|
98
100
|
media?: import("../../model").InvestigatorImageMedia[];
|
99
101
|
};
|
100
102
|
type: "custom";
|
@@ -102,6 +104,7 @@ export declare const getSignatureBase: (card: ArkhamCardsInvestigator) => {
|
|
102
104
|
name: string;
|
103
105
|
additionalAction?: boolean;
|
104
106
|
abilities?: import("../../model").InvestigatorAbility[];
|
107
|
+
roles?: import("../../model").InvestigatorFaction[];
|
105
108
|
id: string;
|
106
109
|
health: number;
|
107
110
|
sanity: number;
|
@@ -122,7 +125,7 @@ export declare const getSignatureBase: (card: ArkhamCardsInvestigator) => {
|
|
122
125
|
id: string;
|
123
126
|
width: number;
|
124
127
|
height: number;
|
125
|
-
face
|
128
|
+
face: import("../../model").InvestigatorImageBox;
|
126
129
|
media?: import("../../model").InvestigatorImageMedia[];
|
127
130
|
};
|
128
131
|
type: "taboo";
|
@@ -130,6 +133,7 @@ export declare const getSignatureBase: (card: ArkhamCardsInvestigator) => {
|
|
130
133
|
name: string;
|
131
134
|
additionalAction?: boolean;
|
132
135
|
abilities?: import("../../model").InvestigatorAbility[];
|
136
|
+
roles?: import("../../model").InvestigatorFaction[];
|
133
137
|
id: string;
|
134
138
|
health: number;
|
135
139
|
sanity: number;
|
@@ -4,7 +4,7 @@ export declare const getCardSpecial: (card: ArkhamCardsInvestigator) => {
|
|
4
4
|
id: string;
|
5
5
|
width: number;
|
6
6
|
height: number;
|
7
|
-
face
|
7
|
+
face: import("../../../model").InvestigatorImageBox;
|
8
8
|
media?: import("../../../model").InvestigatorImageMedia[];
|
9
9
|
};
|
10
10
|
type: "default";
|
@@ -21,7 +21,7 @@ export declare const getCardSpecial: (card: ArkhamCardsInvestigator) => {
|
|
21
21
|
id: string;
|
22
22
|
width: number;
|
23
23
|
height: number;
|
24
|
-
face
|
24
|
+
face: import("../../../model").InvestigatorImageBox;
|
25
25
|
media?: import("../../../model").InvestigatorImageMedia[];
|
26
26
|
};
|
27
27
|
code: string;
|
@@ -29,12 +29,13 @@ export declare const getCardSpecial: (card: ArkhamCardsInvestigator) => {
|
|
29
29
|
name: string;
|
30
30
|
additionalAction?: boolean;
|
31
31
|
abilities?: import("../../../model").InvestigatorAbility[];
|
32
|
+
roles?: import("../../../model").InvestigatorFaction[];
|
32
33
|
} | {
|
33
34
|
image: {
|
34
35
|
id: string;
|
35
36
|
width: number;
|
36
37
|
height: number;
|
37
|
-
face
|
38
|
+
face: import("../../../model").InvestigatorImageBox;
|
38
39
|
media?: import("../../../model").InvestigatorImageMedia[];
|
39
40
|
};
|
40
41
|
code: string;
|
@@ -42,12 +43,13 @@ export declare const getCardSpecial: (card: ArkhamCardsInvestigator) => {
|
|
42
43
|
name: string;
|
43
44
|
additionalAction?: boolean;
|
44
45
|
abilities?: import("../../../model").InvestigatorAbility[];
|
46
|
+
roles?: import("../../../model").InvestigatorFaction[];
|
45
47
|
} | {
|
46
48
|
image: {
|
47
49
|
id: string;
|
48
50
|
width: number;
|
49
51
|
height: number;
|
50
|
-
face
|
52
|
+
face: import("../../../model").InvestigatorImageBox;
|
51
53
|
media?: import("../../../model").InvestigatorImageMedia[];
|
52
54
|
};
|
53
55
|
type: "custom";
|
@@ -55,12 +57,13 @@ export declare const getCardSpecial: (card: ArkhamCardsInvestigator) => {
|
|
55
57
|
name: string;
|
56
58
|
additionalAction?: boolean;
|
57
59
|
abilities?: import("../../../model").InvestigatorAbility[];
|
60
|
+
roles?: import("../../../model").InvestigatorFaction[];
|
58
61
|
} | {
|
59
62
|
image: {
|
60
63
|
id: string;
|
61
64
|
width: number;
|
62
65
|
height: number;
|
63
|
-
face
|
66
|
+
face: import("../../../model").InvestigatorImageBox;
|
64
67
|
media?: import("../../../model").InvestigatorImageMedia[];
|
65
68
|
};
|
66
69
|
type: "taboo";
|
@@ -68,4 +71,5 @@ export declare const getCardSpecial: (card: ArkhamCardsInvestigator) => {
|
|
68
71
|
name: string;
|
69
72
|
additionalAction?: boolean;
|
70
73
|
abilities?: import("../../../model").InvestigatorAbility[];
|
74
|
+
roles?: import("../../../model").InvestigatorFaction[];
|
71
75
|
};
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import type { InvestigatorAbility } from "./abilities";
|
2
|
+
import type { InvestigatorFaction } from "./common";
|
2
3
|
import type { InvestigatorImage } from "./image";
|
3
4
|
export type InvestigatorSkin = {
|
4
5
|
id: string;
|
@@ -9,6 +10,7 @@ export type InvestigatorVariant = InvestigatorVariantIdentity & {
|
|
9
10
|
name: string;
|
10
11
|
additionalAction?: boolean;
|
11
12
|
abilities?: InvestigatorAbility[];
|
13
|
+
roles?: InvestigatorFaction[];
|
12
14
|
};
|
13
15
|
export type InvestigatorVariantIdentity = InvestigatorVariantWithPack | InvestigatorCustomVariant | InvestigatorDefaultVariant;
|
14
16
|
export type InvestigatorDefaultVariant = {
|