narrat 2.10.8 → 2.11.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/dist/components/inventory-ui.vue.d.ts +1 -1
- package/dist/config/config-output.d.ts +3 -3
- package/dist/config.d.ts +4 -4
- package/dist/narrat.es.js +816 -801
- package/dist/narrat.es.js.map +1 -1
- package/dist/narrat.umd.js +5 -5
- package/dist/narrat.umd.js.map +1 -1
- package/dist/stores/hud-stats-store.d.ts +1 -0
- package/dist/stores/inventory-store.d.ts +5 -14
- package/dist/stores/main-store.d.ts +44 -14
- package/dist/stores/quest-log.d.ts +1 -0
- package/dist/stores/screens-store.d.ts +2 -0
- package/dist/stores/skills.d.ts +1 -0
- package/package.json +27 -27
- package/LICENSE +0 -21
|
@@ -15,12 +15,12 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
15
15
|
chosenItemConf(): null | ItemConfig;
|
|
16
16
|
itemConf(): {
|
|
17
17
|
[key: string]: {
|
|
18
|
+
category?: string | undefined;
|
|
18
19
|
onUse?: {
|
|
19
20
|
label: string;
|
|
20
21
|
action: string;
|
|
21
22
|
} | undefined;
|
|
22
23
|
tag?: string | undefined;
|
|
23
|
-
category?: string | undefined;
|
|
24
24
|
showIfEmpty?: boolean | undefined;
|
|
25
25
|
description: string;
|
|
26
26
|
name: string;
|
|
@@ -86,9 +86,9 @@ export declare const defaultConfig: {
|
|
|
86
86
|
y: number;
|
|
87
87
|
} | undefined;
|
|
88
88
|
text?: string | undefined;
|
|
89
|
+
cssClass?: string | undefined;
|
|
89
90
|
action?: string | undefined;
|
|
90
91
|
tag?: string | undefined;
|
|
91
|
-
cssClass?: string | undefined;
|
|
92
92
|
background?: string | undefined;
|
|
93
93
|
actionType?: string | undefined;
|
|
94
94
|
scriptClickable?: boolean | undefined;
|
|
@@ -113,9 +113,9 @@ export declare const defaultConfig: {
|
|
|
113
113
|
y: number;
|
|
114
114
|
} | undefined;
|
|
115
115
|
text?: string | undefined;
|
|
116
|
+
cssClass?: string | undefined;
|
|
116
117
|
action?: string | undefined;
|
|
117
118
|
tag?: string | undefined;
|
|
118
|
-
cssClass?: string | undefined;
|
|
119
119
|
background?: string | undefined;
|
|
120
120
|
actionType?: string | undefined;
|
|
121
121
|
scriptClickable?: boolean | undefined;
|
|
@@ -168,12 +168,12 @@ export declare const defaultConfig: {
|
|
|
168
168
|
hudStats: {};
|
|
169
169
|
items: {
|
|
170
170
|
items: Record<string, {
|
|
171
|
+
category?: string | undefined;
|
|
171
172
|
onUse?: {
|
|
172
173
|
label: string;
|
|
173
174
|
action: string;
|
|
174
175
|
} | undefined;
|
|
175
176
|
tag?: string | undefined;
|
|
176
|
-
category?: string | undefined;
|
|
177
177
|
showIfEmpty?: boolean | undefined;
|
|
178
178
|
description: string;
|
|
179
179
|
name: string;
|
package/dist/config.d.ts
CHANGED
|
@@ -28,12 +28,12 @@ export declare function skillsConfig(): {
|
|
|
28
28
|
};
|
|
29
29
|
export declare function itemsConfig(): {
|
|
30
30
|
items: Record<string, {
|
|
31
|
+
category?: string | undefined;
|
|
31
32
|
onUse?: {
|
|
32
33
|
label: string;
|
|
33
34
|
action: string;
|
|
34
35
|
} | undefined;
|
|
35
36
|
tag?: string | undefined;
|
|
36
|
-
category?: string | undefined;
|
|
37
37
|
showIfEmpty?: boolean | undefined;
|
|
38
38
|
description: string;
|
|
39
39
|
name: string;
|
|
@@ -67,9 +67,9 @@ export declare function screensConfig(): {
|
|
|
67
67
|
y: number;
|
|
68
68
|
} | undefined;
|
|
69
69
|
text?: string | undefined;
|
|
70
|
+
cssClass?: string | undefined;
|
|
70
71
|
action?: string | undefined;
|
|
71
72
|
tag?: string | undefined;
|
|
72
|
-
cssClass?: string | undefined;
|
|
73
73
|
background?: string | undefined;
|
|
74
74
|
actionType?: string | undefined;
|
|
75
75
|
scriptClickable?: boolean | undefined;
|
|
@@ -94,9 +94,9 @@ export declare function buttonsConfig(): {
|
|
|
94
94
|
y: number;
|
|
95
95
|
} | undefined;
|
|
96
96
|
text?: string | undefined;
|
|
97
|
+
cssClass?: string | undefined;
|
|
97
98
|
action?: string | undefined;
|
|
98
99
|
tag?: string | undefined;
|
|
99
|
-
cssClass?: string | undefined;
|
|
100
100
|
background?: string | undefined;
|
|
101
101
|
actionType?: string | undefined;
|
|
102
102
|
scriptClickable?: boolean | undefined;
|
|
@@ -155,12 +155,12 @@ export declare function getDataUrl(dataPath: string): string;
|
|
|
155
155
|
export declare function getButtonConfig(button: string): ButtonConfig;
|
|
156
156
|
export declare function getScreenConfig(screen: string): ScreenConfig;
|
|
157
157
|
export declare function getItemConfig(id: string): {
|
|
158
|
+
category?: string | undefined;
|
|
158
159
|
onUse?: {
|
|
159
160
|
label: string;
|
|
160
161
|
action: string;
|
|
161
162
|
} | undefined;
|
|
162
163
|
tag?: string | undefined;
|
|
163
|
-
category?: string | undefined;
|
|
164
164
|
showIfEmpty?: boolean | undefined;
|
|
165
165
|
description: string;
|
|
166
166
|
name: string;
|