koishi-plugin-ggcevo-game 1.5.21 → 1.5.23
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/lib/careersystem/technology.d.ts +8 -0
- package/lib/database.d.ts +18 -0
- package/lib/index.js +808 -132
- package/lib/items.d.ts +9 -0
- package/lib/spaceship.d.ts +50 -0
- package/lib/wish.d.ts +3 -3
- package/package.json +1 -1
|
@@ -10,3 +10,11 @@ export declare const Spacestationtechnology: {
|
|
|
10
10
|
careerBonus: string;
|
|
11
11
|
}[];
|
|
12
12
|
}[];
|
|
13
|
+
export declare const itemupgrades: {
|
|
14
|
+
id: number;
|
|
15
|
+
name: string;
|
|
16
|
+
upgradeCostBase: number;
|
|
17
|
+
minUpgrade: number;
|
|
18
|
+
maxUpgrade: number;
|
|
19
|
+
maxBonus: number;
|
|
20
|
+
}[];
|
package/lib/database.d.ts
CHANGED
|
@@ -23,6 +23,8 @@ declare module 'koishi' {
|
|
|
23
23
|
ggcevo_task: TaskProgress;
|
|
24
24
|
ggcevo_permissions: Permissions;
|
|
25
25
|
ggcevo_pk_protection: PKProtection;
|
|
26
|
+
ggcevo_spaceship: spaceship;
|
|
27
|
+
ggcevo_explore: explore;
|
|
26
28
|
}
|
|
27
29
|
}
|
|
28
30
|
export interface Backpack {
|
|
@@ -170,6 +172,7 @@ export interface Warehouse {
|
|
|
170
172
|
handle: string;
|
|
171
173
|
itemId: number;
|
|
172
174
|
quantity: number;
|
|
175
|
+
bonus: number;
|
|
173
176
|
}
|
|
174
177
|
export interface TechProgress {
|
|
175
178
|
handle: string;
|
|
@@ -205,3 +208,18 @@ export interface PKProtection {
|
|
|
205
208
|
*/
|
|
206
209
|
status: 'active' | 'expired' | 'canceled';
|
|
207
210
|
}
|
|
211
|
+
export interface spaceship {
|
|
212
|
+
handle: string;
|
|
213
|
+
id: number;
|
|
214
|
+
status: string;
|
|
215
|
+
createTime: Date;
|
|
216
|
+
}
|
|
217
|
+
export interface explore {
|
|
218
|
+
handle: string;
|
|
219
|
+
name: string;
|
|
220
|
+
startTime: Date;
|
|
221
|
+
galaxy: string;
|
|
222
|
+
returns: number;
|
|
223
|
+
plunderbonus: number;
|
|
224
|
+
status: string;
|
|
225
|
+
}
|