s2cfgtojson 3.14.0 → 4.0.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/enums.mts +3 -0
- package/package.json +1 -1
- package/types.mts +30 -16
package/enums.mts
CHANGED
|
@@ -1686,6 +1686,9 @@ export type ERequiredSquadMembers = `ERequiredSquadMembers::${
|
|
|
1686
1686
|
|
|
1687
1687
|
export type ESaveType = `ESaveType::${"Auto" | "Manual" | "Quest" | "Quick"}`;
|
|
1688
1688
|
|
|
1689
|
+
export type ESaveSubType =
|
|
1690
|
+
`ESaveSubType::${"Auto" | "Manual" | "Quest" | "Quick"}`;
|
|
1691
|
+
|
|
1689
1692
|
export type EScenarioBranch = `EScenarioBranch::${
|
|
1690
1693
|
| "Noon"
|
|
1691
1694
|
| "Skif"
|
package/package.json
CHANGED
package/types.mts
CHANGED
|
@@ -28,7 +28,6 @@ import {
|
|
|
28
28
|
EAgentType,
|
|
29
29
|
EAgentArchetype,
|
|
30
30
|
EEmotionalFaceMasks,
|
|
31
|
-
EAimAssistPresetType,
|
|
32
31
|
EEffectType,
|
|
33
32
|
EDuplicateResolveType,
|
|
34
33
|
EBeneficial,
|
|
@@ -109,6 +108,8 @@ import {
|
|
|
109
108
|
EModifyAbilitySequenceQuestNodeMode,
|
|
110
109
|
EHealingType,
|
|
111
110
|
ELairType,
|
|
111
|
+
EAimAssistPresetType,
|
|
112
|
+
ESaveSubType,
|
|
112
113
|
} from "./enums.mts";
|
|
113
114
|
|
|
114
115
|
import { Struct } from "./Struct.mjs";
|
|
@@ -128,20 +129,6 @@ export type Internal =
|
|
|
128
129
|
| "toString"
|
|
129
130
|
| "fromString";
|
|
130
131
|
|
|
131
|
-
export type DeeplyPartial<T> = {
|
|
132
|
-
[P in keyof T]?: T[P] extends Array<infer U>
|
|
133
|
-
? Array<DeeplyPartial<U>>
|
|
134
|
-
: T[P] extends ReadonlyArray<infer U>
|
|
135
|
-
? ReadonlyArray<DeeplyPartial<U>>
|
|
136
|
-
: T[P] extends object
|
|
137
|
-
? DeeplyPartial<T[P]>
|
|
138
|
-
: T[P];
|
|
139
|
-
};
|
|
140
|
-
|
|
141
|
-
export type DeeplyPartialStruct<T> = DeeplyPartial<
|
|
142
|
-
T extends Struct ? Exclude<T, Internal> : T
|
|
143
|
-
>;
|
|
144
|
-
|
|
145
132
|
export interface DefaultEntries {
|
|
146
133
|
rawName?: string;
|
|
147
134
|
refurl?: string;
|
|
@@ -530,6 +517,33 @@ export type DifficultyPrototype = GetStructType<{
|
|
|
530
517
|
AccumulatedDamageReductionIncludesHealedHealth: boolean;
|
|
531
518
|
CorpseSmartLoot: { GeneralNPC: string };
|
|
532
519
|
DefaultAimAssistPresetType: EAimAssistPresetType;
|
|
520
|
+
TotalSaveLimits: { SubType: ESaveSubType; Limit: number }[];
|
|
521
|
+
NightVisionGoggles_Cost: number;
|
|
522
|
+
AllowedSaveTypes: ESaveType[];
|
|
523
|
+
AutosaveAfterQuests: string[];
|
|
524
|
+
bShouldDisableCrosshair: boolean;
|
|
525
|
+
bShouldDisableCompass: boolean;
|
|
526
|
+
bShouldDisableStashMarkers: boolean;
|
|
527
|
+
bShouldDisableDeadBodyMarkers: boolean;
|
|
528
|
+
AdditionalMechanicsEffects: string[];
|
|
529
|
+
PlayerWeapon_HeadshotMultiplier: number;
|
|
530
|
+
ShowWarningPopup: boolean;
|
|
531
|
+
BlockSettings: boolean;
|
|
532
|
+
AgentCooldownMultipliers: {
|
|
533
|
+
AgentPrototypeSID: string;
|
|
534
|
+
CooldownMultipliers: {
|
|
535
|
+
CooldownTag: string;
|
|
536
|
+
CooldownMultiplier: number;
|
|
537
|
+
}[];
|
|
538
|
+
}[];
|
|
539
|
+
Weapon_JammingMultiplier: number;
|
|
540
|
+
PsyPhantomNPCOverrides: {
|
|
541
|
+
OverrideEffectPrototypeSID: string;
|
|
542
|
+
PSYDelayBeforeNewSpawnCycleModifier: number;
|
|
543
|
+
PsyPhantomNPCCountMultiplier: number;
|
|
544
|
+
bPsyNPCApplyBleeding: boolean;
|
|
545
|
+
PsyNPCDurabilityDamageMultiplier: number;
|
|
546
|
+
}[];
|
|
533
547
|
}>;
|
|
534
548
|
|
|
535
549
|
export type EffectPrototype = GetStructType<{
|
|
@@ -2610,7 +2624,7 @@ export type LairPrototype = GetStructType<{
|
|
|
2610
2624
|
SID: string;
|
|
2611
2625
|
Preset: {
|
|
2612
2626
|
InitialInhabitantFaction: string;
|
|
2613
|
-
IsALifePoint:
|
|
2627
|
+
IsALifePoint: boolean;
|
|
2614
2628
|
PossibleInhabitantFactions: Record<
|
|
2615
2629
|
Faction,
|
|
2616
2630
|
{
|