s2cfgtojson 3.6.0 → 3.6.1

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types.mts +16 -15
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "s2cfgtojson",
3
- "version": "3.6.0",
3
+ "version": "3.6.1",
4
4
  "description": "Converts Stalker 2 Cfg file into POJOs",
5
5
  "keywords": [
6
6
  "stalker",
package/types.mts CHANGED
@@ -1785,7 +1785,7 @@ interface IAmmoPrototype extends IItemPrototype {
1785
1785
  CaliberSoundSwitch: string;
1786
1786
  }
1787
1787
 
1788
- export type AmmoPrototype = IAmmoPrototype;
1788
+ export type AmmoPrototype = GetStructType<IAmmoPrototype>;
1789
1789
 
1790
1790
  interface IArtifactPrototype extends IItemPrototype {
1791
1791
  AnomalyElementType: EAnomalyElementType;
@@ -1861,7 +1861,7 @@ interface IArtifactPrototype extends IItemPrototype {
1861
1861
  IsQuestItem: boolean;
1862
1862
  }
1863
1863
 
1864
- export type ArtifactPrototype = IArtifactPrototype;
1864
+ export type ArtifactPrototype = GetStructType<IArtifactPrototype>;
1865
1865
 
1866
1866
  interface IArmorPrototype extends IItemPrototype {
1867
1867
  ArtifactSlots: number;
@@ -1911,14 +1911,14 @@ interface IArmorPrototype extends IItemPrototype {
1911
1911
  LocalizationSID: string;
1912
1912
  }
1913
1913
 
1914
- export type ArmorPrototype = IArmorPrototype;
1914
+ export type ArmorPrototype = GetStructType<IArmorPrototype>;
1915
1915
 
1916
1916
  interface IBlueprintPrototype extends IItemPrototype {
1917
1917
  LocalizationSID: string;
1918
1918
  IsQuestItemPrototype: boolean;
1919
1919
  }
1920
1920
 
1921
- export type BlueprintPrototype = IBlueprintPrototype;
1921
+ export type BlueprintPrototype = GetStructType<IBlueprintPrototype>;
1922
1922
 
1923
1923
  interface IAttachPrototype extends IItemPrototype {
1924
1924
  AttachType: EAttachType;
@@ -1990,7 +1990,7 @@ interface IAttachPrototype extends IItemPrototype {
1990
1990
  MeshInWorldPrototypeSID: string;
1991
1991
  }
1992
1992
 
1993
- export type AttachPrototype = IAttachPrototype;
1993
+ export type AttachPrototype = GetStructType<IAttachPrototype>;
1994
1994
 
1995
1995
  interface IConsumablePrototype extends IItemPrototype {
1996
1996
  Icon1x1: string;
@@ -2014,7 +2014,7 @@ interface IConsumablePrototype extends IItemPrototype {
2014
2014
  StaticMeshPrototypeSID: string;
2015
2015
  }
2016
2016
 
2017
- export type ConsumablePrototype = IConsumablePrototype;
2017
+ export type ConsumablePrototype = GetStructType<IConsumablePrototype>;
2018
2018
 
2019
2019
  interface IDetectorPrototype extends IItemPrototype {
2020
2020
  DetectorType: EDetectorType;
@@ -2044,7 +2044,7 @@ interface IDetectorPrototype extends IItemPrototype {
2044
2044
  ExclusionAnomalyList: string[];
2045
2045
  }
2046
2046
 
2047
- export type DetectorPrototype = IDetectorPrototype;
2047
+ export type DetectorPrototype = GetStructType<IDetectorPrototype>;
2048
2048
 
2049
2049
  interface IGDItemPrototype extends IItemPrototype {
2050
2050
  IsQuestItemPrototype: boolean;
@@ -2052,7 +2052,7 @@ interface IGDItemPrototype extends IItemPrototype {
2052
2052
  LocalizationSID: string;
2053
2053
  }
2054
2054
 
2055
- export type GDItemPrototype = IGDItemPrototype;
2055
+ export type GDItemPrototype = GetStructType<IGDItemPrototype>;
2056
2056
 
2057
2057
  interface IGrenadePrototype extends IItemPrototype {
2058
2058
  GrenadeType: EGrenadeType;
@@ -2080,26 +2080,26 @@ interface IGrenadePrototype extends IItemPrototype {
2080
2080
  SkeletalMeshPrototypeSID: string;
2081
2081
  }
2082
2082
 
2083
- export type GrenadePrototype = IGrenadePrototype;
2083
+ export type GrenadePrototype = GetStructType<IGrenadePrototype>;
2084
2084
 
2085
2085
  interface IKeyItemPrototype extends IItemPrototype {
2086
2086
  LocalizationSID: string;
2087
2087
  }
2088
2088
 
2089
- export type KeyItemPrototype = IKeyItemPrototype;
2089
+ export type KeyItemPrototype = GetStructType<IKeyItemPrototype>;
2090
2090
 
2091
2091
  interface IMoneyPrototype extends IItemPrototype {
2092
2092
  LocalizationSID: string;
2093
2093
  MeshInWorldPrototypeSID: string;
2094
2094
  }
2095
2095
 
2096
- export type MoneyPrototype = IMoneyPrototype;
2096
+ export type MoneyPrototype = GetStructType<IMoneyPrototype>;
2097
2097
 
2098
2098
  interface IMutantLootPrototype extends IItemPrototype {
2099
2099
  LocalizationSID: string;
2100
2100
  }
2101
2101
 
2102
- export type MutantLootPrototype = IMutantLootPrototype;
2102
+ export type MutantLootPrototype = GetStructType<IMutantLootPrototype>;
2103
2103
 
2104
2104
  interface INightVisionGogglesPrototype extends IItemPrototype {
2105
2105
  Icon1x1: string;
@@ -2110,7 +2110,8 @@ interface INightVisionGogglesPrototype extends IItemPrototype {
2110
2110
  NPCGogglesPrototypeSID: string;
2111
2111
  }
2112
2112
 
2113
- export type NightVisionGogglesPrototype = INightVisionGogglesPrototype;
2113
+ export type NightVisionGogglesPrototype =
2114
+ GetStructType<INightVisionGogglesPrototype>;
2114
2115
 
2115
2116
  interface IQuestItemPrototype extends IItemPrototype {
2116
2117
  IsQuestItemPrototype: boolean;
@@ -2143,7 +2144,7 @@ interface IQuestItemPrototype extends IItemPrototype {
2143
2144
  LocalizationSID: string;
2144
2145
  }
2145
2146
 
2146
- export type QuestItemPrototype = IQuestItemPrototype;
2147
+ export type QuestItemPrototype = GetStructType<IQuestItemPrototype>;
2147
2148
 
2148
2149
  interface IWeaponPrototype extends IItemPrototype {
2149
2150
  MeleeWeaponSID: string;
@@ -2165,4 +2166,4 @@ interface IWeaponPrototype extends IItemPrototype {
2165
2166
  IsQuestItem: boolean;
2166
2167
  }
2167
2168
 
2168
- export type WeaponPrototype = IWeaponPrototype;
2169
+ export type WeaponPrototype = GetStructType<IWeaponPrototype>;