返回提交历史
Modified
src/services/missionInventoryUpdateService.ts
+4
-0
Modified
src/types/requestTypes.ts
+1
-0
XFEstudio/SpaceNinjaServer
feat: handle LevelKeys obtained in mission (#3917)
Re #3910 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/3917 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
ec48f981
代码差异
2 个文件
+5
-0
@@ -428,6 +428,10 @@ export const addMissionInventoryUpdates = async (
428
428
// e.g. when getting a 50+ score in happy zephyr, this is how the poster is given.
429
429
addShipDecorations(inventory, value);
430
430
break;
431
case "LevelKeys":
432
// Void keys are given this way in the relevant versions.
433
addLevelKeys(inventory, value);
434
break;
431
435
case "FusionBundles": {
432
436
let fusionPointsDelta = 0;
433
437
for (const fusionBundle of value) {
@@ -49,6 +49,7 @@ export type IMissionInventoryUpdateRequest = {
49
49
BonusMiscItems?: ITypeCount[];
50
50
EmailItems?: ITypeCount[];
51
51
ShipDecorations?: ITypeCount[];
52
LevelKeys?: ITypeCount[];
52
53
53
54
// flags for interstitial requests
54
55
BMI?: boolean;