s2cfgtojson 7.0.9 → 7.0.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "s2cfgtojson",
3
- "version": "7.0.9",
3
+ "version": "7.0.10",
4
4
  "description": "Converts Stalker 2 Cfg file into POJOs",
5
5
  "keywords": [
6
6
  "stalker",
package/types.mts CHANGED
@@ -201,6 +201,7 @@ import {
201
201
  Faction,
202
202
  FactionGoalType,
203
203
  HumanAbilityName,
204
+ MeshSlotName,
204
205
  ObjectAbilityName,
205
206
  Rank,
206
207
  Reaction,
@@ -559,7 +560,7 @@ export type AbilityPrototypeTriggeredCooldownsItem = GetStructType<{
559
560
  }>;
560
561
 
561
562
  export type Achievement = GetStructType<
562
- AchievementAchievementGoalsItem[] & {
563
+ {
563
564
  AcceptableInterval: number;
564
565
  AnomalyPrototypeSID: string;
565
566
  ArmorSIDs: AchievementArmorSIDs;
@@ -583,7 +584,7 @@ export type Achievement = GetStructType<
583
584
  SleepinessThreshold: number;
584
585
  TargetSID: string;
585
586
  TimeWindow: number;
586
- }
587
+ } & AchievementAchievementGoalsItem[]
587
588
  >;
588
589
 
589
590
  export type AchievementAchievementGoalsItem = GetStructType<{
@@ -1534,9 +1535,9 @@ export type ArtifactPrototypeAnomalyDamageDeflectionsItem = GetStructType<{
1534
1535
  }>;
1535
1536
 
1536
1537
  export type ArtifactPrototypeEffectOnPickPrototypeSIDs = GetStructType<
1537
- string[] & {
1538
+ {
1538
1539
  ViewOffset: AIGlobalRelativeLocation;
1539
- }
1540
+ } & string[]
1540
1541
  >;
1541
1542
 
1542
1543
  export type ArtifactPrototypeEffectsDisplayTypes = GetStructType<
@@ -1743,7 +1744,7 @@ export type AssetLibraryUIWidgetBlueprint = GetStructType<{
1743
1744
  }>;
1744
1745
 
1745
1746
  export type AttachMeshPrototype = GetStructType<
1746
- AttachMeshPrototypeTor_mer_01_a_PSYItem[] & {
1747
+ {
1747
1748
  AdditionalCollisions: AttachMeshPrototypeAdditionalCollisions;
1748
1749
  AdditionalMesh: AttachMeshPrototypeAdditionalMesh;
1749
1750
  AnimPath: string;
@@ -1783,7 +1784,7 @@ export type AttachMeshPrototype = GetStructType<
1783
1784
  SocketName: string;
1784
1785
  SyncOption: string;
1785
1786
  VoiceModulatorSID: string;
1786
- }
1787
+ } & AttachMeshPrototypeTor_mer_01_a_PSYItem[]
1787
1788
  >;
1788
1789
 
1789
1790
  export type AttachMeshPrototypeAdditionalCollisions = GetStructType<{
@@ -3830,12 +3831,12 @@ export type DialogPoolPrototype = GetStructType<{
3830
3831
  export type DialogPoolPrototypeAvailableDialogs = StringArray;
3831
3832
 
3832
3833
  export type DialogPoolPrototypeDialogMemberRestrictions = GetStructType<
3833
- DialogPoolPrototypeDialogMemberRestrictionsItem[] & {
3834
+ {
3834
3835
  ExcludedFactions: DialogPoolPrototypeExcludedFactions;
3835
3836
  ExcludedObjPrototypes: DialogPoolPrototypeExcludedObjPrototypes;
3836
3837
  FactionRestrictions: DialogPoolPrototypeFactionRestrictions;
3837
3838
  ObjPrototypeRestrictions: DialogPoolPrototypeObjPrototypeRestrictions;
3838
- }
3839
+ } & DialogPoolPrototypeDialogMemberRestrictionsItem[]
3839
3840
  >;
3840
3841
 
3841
3842
  export type DialogPoolPrototypeDialogMemberRestrictionsItem = GetStructType<{
@@ -3913,12 +3914,12 @@ export type DialogPrototypeConditions = GetStructType<
3913
3914
  >;
3914
3915
 
3915
3916
  export type DialogPrototypeConditionsItem = GetStructType<
3916
- DialogPrototypeConditionsItemItem[] & {
3917
+ {
3917
3918
  ConditionComparance: EConditionComparance;
3918
3919
  ConditionType: EQuestConditionType;
3919
3920
  NumericValue: number;
3920
3921
  TargetCharacter: string;
3921
- }
3922
+ } & DialogPrototypeConditionsItemItem[]
3922
3923
  >;
3923
3924
 
3924
3925
  export type DialogPrototypeConditionsItemItem = GetStructType<{
@@ -4022,12 +4023,12 @@ export type DialogPrototypeMoney = GetStructType<{
4022
4023
  }>;
4023
4024
 
4024
4025
  export type DialogPrototypeNextDialogOptions = GetStructType<
4025
- DialogPrototypeNextDialogOptionsItem[] & {
4026
+ {
4026
4027
  False: DialogPrototypeFalse;
4027
4028
  General_PC_DeclineFastTravel_Random: DialogPrototypePripyat_return_to_topics;
4028
4029
  Pripyat_return_to_topics: DialogPrototypePripyat_return_to_topics;
4029
4030
  True: DialogPrototypeTrue;
4030
- }
4031
+ } & DialogPrototypeNextDialogOptionsItem[]
4031
4032
  >;
4032
4033
 
4033
4034
  export type DialogPrototypeNextDialogOptionsItem = GetStructType<{
@@ -4055,12 +4056,12 @@ export type DialogPrototypeTopicAvailabilityConditions = GetStructType<
4055
4056
  >;
4056
4057
 
4057
4058
  export type DialogPrototypeTopicAvailabilityConditionsItem = GetStructType<
4058
- DialogPrototypeTopicAvailabilityConditionsItemItem[] & {
4059
+ {
4059
4060
  ConditionComparance: EConditionComparance;
4060
4061
  ConditionType: EQuestConditionType;
4061
4062
  EmissionPrototypeSID: string;
4062
4063
  IncludePartialOverload: boolean;
4063
- }
4064
+ } & DialogPrototypeTopicAvailabilityConditionsItemItem[]
4064
4065
  >;
4065
4066
 
4066
4067
  export type DialogPrototypeTopicAvailabilityConditionsItemItem = GetStructType<{
@@ -5073,9 +5074,9 @@ export type GroomGeneratorPrototypeCategoryItem = GetStructType<{
5073
5074
  }>;
5074
5075
 
5075
5076
  export type GroomGeneratorPrototypeCustomData = GetStructType<
5076
- GroomGeneratorPrototypeCustomDataItem[] & {
5077
+ {
5077
5078
  ShortHair: GroomGeneratorPrototypeShortHair;
5078
- }
5079
+ } & GroomGeneratorPrototypeCustomDataItem[]
5079
5080
  >;
5080
5081
 
5081
5082
  export type GroomGeneratorPrototypeCustomDataItem = GetStructType<{
@@ -5313,12 +5314,12 @@ export type ItemGeneratorPrototypeHead = GetStructType<{
5313
5314
  }>;
5314
5315
 
5315
5316
  export type ItemGeneratorPrototypeItemGenerator = GetStructType<
5316
- ItemGeneratorPrototypeItemGeneratorItem[] & {
5317
+ {
5317
5318
  Attach: ItemGeneratorPrototypeHead;
5318
5319
  BodyArmor: ItemGeneratorPrototypeHead;
5319
5320
  Head: ItemGeneratorPrototypeHead;
5320
5321
  WeaponPrimary: ItemGeneratorPrototypeHead;
5321
- }
5322
+ } & ItemGeneratorPrototypeItemGeneratorItem[]
5322
5323
  >;
5323
5324
 
5324
5325
  export type ItemGeneratorPrototypeItemGeneratorItem = GetStructType<{
@@ -5679,9 +5680,9 @@ export type LR_MeshGeneratorPrototypeAttachesItem = GetStructType<{
5679
5680
  }>;
5680
5681
 
5681
5682
  export type LR_MeshGeneratorPrototypeAttachments = GetStructType<
5682
- LR_MeshGeneratorPrototypeAttachmentsItem[] & {
5683
- [Bbe in string]: LR_MeshGeneratorPrototypeBbe;
5684
- }
5683
+ {
5684
+ [Bbe in MeshSlotName]: LR_MeshGeneratorPrototypeBbe;
5685
+ } & LR_MeshGeneratorPrototypeAttachmentsItem[]
5685
5686
  >;
5686
5687
 
5687
5688
  export type LR_MeshGeneratorPrototypeAttachmentsItem = GetStructType<{
@@ -5810,9 +5811,9 @@ export type MeshGeneratorPrototypeAttachesItem = GetStructType<{
5810
5811
  }>;
5811
5812
 
5812
5813
  export type MeshGeneratorPrototypeAttachments = GetStructType<
5813
- MeshGeneratorPrototypeAttachmentsItem[] & {
5814
- [Bbe in string]: MeshGeneratorPrototypeBbe;
5815
- }
5814
+ {
5815
+ [Bbe in MeshSlotName]: MeshGeneratorPrototypeBbe;
5816
+ } & MeshGeneratorPrototypeAttachmentsItem[]
5816
5817
  >;
5817
5818
 
5818
5819
  export type MeshGeneratorPrototypeAttachmentsItem = GetStructType<{
@@ -6134,9 +6135,9 @@ export type NPCNeedsPresetPrototypeExpansionResolverFactory = GetStructType<{
6134
6135
  }>;
6135
6136
 
6136
6137
  export type NPCNeedsPresetPrototypeGoalNeeds = GetStructType<
6137
- NPCNeedsPresetPrototypeGoalNeedsItem[] & {
6138
+ {
6138
6139
  bEmpty: boolean;
6139
- }
6140
+ } & NPCNeedsPresetPrototypeGoalNeedsItem[]
6140
6141
  >;
6141
6142
 
6142
6143
  export type NPCNeedsPresetPrototypeGoalNeedsItem = GetStructType<{
@@ -6160,9 +6161,9 @@ export type NPCNeedsPresetPrototypeNeedsItem = GetStructType<{
6160
6161
  }>;
6161
6162
 
6162
6163
  export type NPCNeedsPresetPrototypeNeedsResolvers = GetStructType<
6163
- NPCNeedsPresetPrototypeNeedsResolversItem[] & {
6164
+ {
6164
6165
  bEmpty: boolean;
6165
- }
6166
+ } & NPCNeedsPresetPrototypeNeedsResolversItem[]
6166
6167
  >;
6167
6168
 
6168
6169
  export type NPCNeedsPresetPrototypeNeedsResolversItem = GetStructType<{
@@ -7962,7 +7963,7 @@ export type QuestAnomalyPrototype = GetStructType<{
7962
7963
  }>;
7963
7964
 
7964
7965
  export type QuestArtifactPrototype = GetStructType<
7965
- string[] & {
7966
+ {
7966
7967
  AnomalyElementType: EAnomalyElementType;
7967
7968
  ArtifactType: EArtifactType;
7968
7969
  DetectorRequired: boolean;
@@ -7981,7 +7982,7 @@ export type QuestArtifactPrototype = GetStructType<
7981
7982
  PlayerDistance: number;
7982
7983
  Rarity: EArtifactRarity;
7983
7984
  ReturnDistanceValue: number;
7984
- }
7985
+ } & string[]
7985
7986
  >;
7986
7987
 
7987
7988
  export type QuestArtifactSpawnerPrototype = GetStructType<{
@@ -8488,13 +8489,13 @@ export type QuestNodePrototypeCondition = GetStructType<{
8488
8489
  }>;
8489
8490
 
8490
8491
  export type QuestNodePrototypeConditions = GetStructType<
8491
- QuestNodePrototypeConditionsItem[] & {
8492
+ {
8492
8493
  ConditionCheckType: EConditionCheckType;
8493
- }
8494
+ } & QuestNodePrototypeConditionsItem[]
8494
8495
  >;
8495
8496
 
8496
8497
  export type QuestNodePrototypeConditionsItem = GetStructType<
8497
- QuestNodePrototypeConditionsItemItem[] & {
8498
+ {
8498
8499
  ConditionComparance: EConditionComparance;
8499
8500
  ConditionType: EQuestConditionType;
8500
8501
  ItemPrototypeSID: string;
@@ -8504,7 +8505,7 @@ export type QuestNodePrototypeConditionsItem = GetStructType<
8504
8505
  TargetPoint: AIGlobalRelativeLocation;
8505
8506
  WithEquipped: boolean;
8506
8507
  WithInventory: boolean;
8507
- }
8508
+ } & QuestNodePrototypeConditionsItemItem[]
8508
8509
  >;
8509
8510
 
8510
8511
  export type QuestNodePrototypeConditionsItemItem = GetStructType<{
@@ -10565,7 +10566,7 @@ export type ScriptScriptsArrayItem = GetStructType<{
10565
10566
  }>;
10566
10567
 
10567
10568
  export type SettingsVariablesPC = GetStructType<
10568
- SettingsVariablesPCLookSensitivityCurveKeysItem[] & {
10569
+ {
10569
10570
  AimAssistMagnetismModifier: number;
10570
10571
  AimAssistSnappingModifier: number;
10571
10572
  AimAssistStickinessModifier: number;
@@ -10578,7 +10579,7 @@ export type SettingsVariablesPC = GetStructType<
10578
10579
  SnappingCameraMovementToleranceEnabled: boolean;
10579
10580
  SnappingCameraRadiusToleranceEnabled: boolean;
10580
10581
  SnappingTime: number;
10581
- }
10582
+ } & SettingsVariablesPCLookSensitivityCurveKeysItem[]
10582
10583
  >;
10583
10584
 
10584
10585
  export type SettingsVariablesPCLeftTrigger = GetStructType<{
@@ -10597,7 +10598,7 @@ export type SettingsVariablesPCLookSensitivityCurveKeysItem = GetStructType<{
10597
10598
  }>;
10598
10599
 
10599
10600
  export type SettingsVariablesPS5Base = GetStructType<
10600
- SettingsVariablesPCLookSensitivityCurveKeysItem[] & {
10601
+ {
10601
10602
  AimAssistMagnetismModifier: number;
10602
10603
  AimAssistSnappingModifier: number;
10603
10604
  AimAssistStickinessModifier: number;
@@ -10610,11 +10611,11 @@ export type SettingsVariablesPS5Base = GetStructType<
10610
10611
  SnappingCameraMovementToleranceEnabled: boolean;
10611
10612
  SnappingCameraRadiusToleranceEnabled: boolean;
10612
10613
  SnappingTime: number;
10613
- }
10614
+ } & SettingsVariablesPCLookSensitivityCurveKeysItem[]
10614
10615
  >;
10615
10616
 
10616
10617
  export type SettingsVariablesPS5Pro = GetStructType<
10617
- SettingsVariablesPCLookSensitivityCurveKeysItem[] & {
10618
+ {
10618
10619
  AimAssistMagnetismModifier: number;
10619
10620
  AimAssistSnappingModifier: number;
10620
10621
  AimAssistStickinessModifier: number;
@@ -10627,11 +10628,11 @@ export type SettingsVariablesPS5Pro = GetStructType<
10627
10628
  SnappingCameraMovementToleranceEnabled: boolean;
10628
10629
  SnappingCameraRadiusToleranceEnabled: boolean;
10629
10630
  SnappingTime: number;
10630
- }
10631
+ } & SettingsVariablesPCLookSensitivityCurveKeysItem[]
10631
10632
  >;
10632
10633
 
10633
10634
  export type SettingsVariablesWin64 = GetStructType<
10634
- SettingsVariablesPCLookSensitivityCurveKeysItem[] & {
10635
+ {
10635
10636
  AimAssistMagnetismModifier: number;
10636
10637
  AimAssistSnappingModifier: number;
10637
10638
  AimAssistStickinessModifier: number;
@@ -10644,11 +10645,11 @@ export type SettingsVariablesWin64 = GetStructType<
10644
10645
  SnappingCameraMovementToleranceEnabled: boolean;
10645
10646
  SnappingCameraRadiusToleranceEnabled: boolean;
10646
10647
  SnappingTime: number;
10647
- }
10648
+ } & SettingsVariablesPCLookSensitivityCurveKeysItem[]
10648
10649
  >;
10649
10650
 
10650
10651
  export type SettingsVariablesXSS = GetStructType<
10651
- SettingsVariablesPCLookSensitivityCurveKeysItem[] & {
10652
+ {
10652
10653
  AimAssistMagnetismModifier: number;
10653
10654
  AimAssistSnappingModifier: number;
10654
10655
  AimAssistStickinessModifier: number;
@@ -10661,11 +10662,11 @@ export type SettingsVariablesXSS = GetStructType<
10661
10662
  SnappingCameraMovementToleranceEnabled: boolean;
10662
10663
  SnappingCameraRadiusToleranceEnabled: boolean;
10663
10664
  SnappingTime: number;
10664
- }
10665
+ } & SettingsVariablesPCLookSensitivityCurveKeysItem[]
10665
10666
  >;
10666
10667
 
10667
10668
  export type SettingsVariablesXSX = GetStructType<
10668
- SettingsVariablesPCLookSensitivityCurveKeysItem[] & {
10669
+ {
10669
10670
  AimAssistMagnetismModifier: number;
10670
10671
  AimAssistSnappingModifier: number;
10671
10672
  AimAssistStickinessModifier: number;
@@ -10678,11 +10679,11 @@ export type SettingsVariablesXSX = GetStructType<
10678
10679
  SnappingCameraMovementToleranceEnabled: boolean;
10679
10680
  SnappingCameraRadiusToleranceEnabled: boolean;
10680
10681
  SnappingTime: number;
10681
- }
10682
+ } & SettingsVariablesPCLookSensitivityCurveKeysItem[]
10682
10683
  >;
10683
10684
 
10684
10685
  export type SingletonConstant = GetStructType<
10685
- (EDialogEventType | SingletonConstantSpotLightIntensityItem)[] & {
10686
+ {
10686
10687
  Army: SingletonConstantArmy;
10687
10688
  Bandits: CoreVariableTorso;
10688
10689
  bDebugLogAssetLoading: boolean;
@@ -10775,7 +10776,7 @@ export type SingletonConstant = GetStructType<
10775
10776
  SunLightMaxBrightness: number;
10776
10777
  TimeZone: number;
10777
10778
  Zombie: SingletonConstantZombie;
10778
- }
10779
+ } & (EDialogEventType | SingletonConstantSpotLightIntensityItem)[]
10779
10780
  >;
10780
10781
 
10781
10782
  export type SingletonConstantActions = GetStructType<
@@ -11063,9 +11064,9 @@ export type SpawnActorPrototypeAnomaliesPresets = GetStructType<
11063
11064
  >;
11064
11065
 
11065
11066
  export type SpawnActorPrototypeAnomaliesPresetsItem = GetStructType<
11066
- string[] & {
11067
+ {
11067
11068
  AnomaliesSpawnData: SpawnActorPrototypeAnomaliesSpawnData;
11068
- }
11069
+ } & string[]
11069
11070
  >;
11070
11071
 
11071
11072
  export type SpawnActorPrototypeAnomaliesSpawnData = GetStructType<
@@ -11304,11 +11305,11 @@ export type SpawnActorPrototypeSpawnSettingsPerPlayerRanks = GetStructType<{
11304
11305
  export type SpawnActorPrototypeSquadMembersQuestSIDs = StringArray;
11305
11306
 
11306
11307
  export type SpawnActorPrototypeVolumes = GetStructType<
11307
- SpawnActorPrototypeVolumesItem[] & {
11308
+ {
11308
11309
  LairCoreVolumes: SingletonConstantArmy;
11309
11310
  LairTerritoryVolumes: SpawnActorPrototypeLairTerritoryVolumes;
11310
11311
  NavModifierVolumes: UpdatePopupPrototypeContentData;
11311
- }
11312
+ } & SpawnActorPrototypeVolumesItem[]
11312
11313
  >;
11313
11314
 
11314
11315
  export type SpawnActorPrototypeVolumesItem = GetStructType<{
package/utility-types.mts CHANGED
@@ -614,3 +614,55 @@ export type EffectConditionalEffect =
614
614
  | "Weak";
615
615
 
616
616
  export type FactionGoalType = "Aggressive" | "Defensive" | "Normal";
617
+ export type MeshSlotName =
618
+ | "Bbe"
619
+ | "BodyArmor"
620
+ | "Bpa"
621
+ | "Bpa_b"
622
+ | "Bpa_c_d_e"
623
+ | "Bpa_f"
624
+ | "Cap"
625
+ | "Clo"
626
+ | "Face"
627
+ | "Fbe"
628
+ | "Fbe_a"
629
+ | "Fbe_b"
630
+ | "Fbe_c"
631
+ | "Fbe_c_d_e"
632
+ | "Fbe_c_d_e_f_g"
633
+ | "Fbe_d"
634
+ | "Fbe_e_f_i"
635
+ | "Fbe_g_h"
636
+ | "FrontBelt_1"
637
+ | "FrontBelt_2"
638
+ | "FrontBelt_3"
639
+ | "Gla"
640
+ | "Han"
641
+ | "Hands"
642
+ | "Hea"
643
+ | "Hea_a"
644
+ | "Hea_b"
645
+ | "Hea_c"
646
+ | "Head"
647
+ | "Lch"
648
+ | "LeftBelt_2"
649
+ | "LefttBelt_1"
650
+ | "Leg"
651
+ | "Lhi"
652
+ | "Lhi_a"
653
+ | "Lhi_a_c"
654
+ | "Lhi_b"
655
+ | "Lhi_c"
656
+ | "Lhi_d"
657
+ | "Mas"
658
+ | "Rch"
659
+ | "Rch_c_d"
660
+ | "Rhi"
661
+ | "Rhi_a"
662
+ | "Rhi_a_b"
663
+ | "Rhi_b"
664
+ | "Rhi_b_c"
665
+ | "Rhi_c"
666
+ | "Rhi_d"
667
+ | "RightBelt_1"
668
+ | "Tor";