s2cfgtojson 7.0.8 → 7.0.9

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.8",
3
+ "version": "7.0.9",
4
4
  "description": "Converts Stalker 2 Cfg file into POJOs",
5
5
  "keywords": [
6
6
  "stalker",
package/types.mts CHANGED
@@ -207,6 +207,7 @@ import {
207
207
  ScenarioGroup,
208
208
  SID,
209
209
  StringArray,
210
+ VariableValue,
210
211
  WeaponShootDistance,
211
212
  WeatherSelection,
212
213
  } from "./utility-types.mts";
@@ -3957,7 +3958,7 @@ export type DialogPrototypeConditionsItemItem = GetStructType<{
3957
3958
  TargetPlaceholder: string;
3958
3959
  TargetPoint: AIGlobalRelativeLocation;
3959
3960
  Trigger: string;
3960
- VariableValue: boolean;
3961
+ VariableValue: VariableValue;
3961
3962
  Weather: EWeather;
3962
3963
  WithEquipped: boolean;
3963
3964
  WithInventory: boolean;
@@ -3974,7 +3975,7 @@ export type DialogPrototypeDialogActionsItem = GetStructType<{
3974
3975
  DialogActionParam: DialogPrototypeMoney;
3975
3976
  GlobalVariablePrototypeSID: string;
3976
3977
  ItemsCount: DialogPrototypeMoney;
3977
- VariableValue: number;
3978
+ VariableValue: VariableValue;
3978
3979
  WithEquipped: boolean;
3979
3980
  }>;
3980
3981
 
@@ -4010,14 +4011,14 @@ export type DialogPrototypeGestureTiming = GetStructType<(number | string)[]>;
4010
4011
 
4011
4012
  export type DialogPrototypeItemPrototypeSID = GetStructType<{
4012
4013
  VariableType: EGlobalVariableType;
4013
- VariableValue: string;
4014
+ VariableValue: VariableValue;
4014
4015
  }>;
4015
4016
 
4016
4017
  export type DialogPrototypeLocalizedSequences = StringArray;
4017
4018
 
4018
4019
  export type DialogPrototypeMoney = GetStructType<{
4019
4020
  VariableType: EGlobalVariableType;
4020
- VariableValue: number;
4021
+ VariableValue: VariableValue;
4021
4022
  }>;
4022
4023
 
4023
4024
  export type DialogPrototypeNextDialogOptions = GetStructType<
@@ -5218,7 +5219,7 @@ export type InfotopicPrototypeBlockingGlobalVariables = GetStructType<
5218
5219
 
5219
5220
  export type InfotopicPrototypeBlockingGlobalVariablesItem = GetStructType<{
5220
5221
  GlobalVariablePrototypeSID: string;
5221
- GlobalVariableValue: number;
5222
+ GlobalVariableValue: VariableValue;
5222
5223
  }>;
5223
5224
 
5224
5225
  export type InfotopicPrototypeBlockingNPCs = GetStructType<{
@@ -8550,7 +8551,7 @@ export type QuestNodePrototypeConditionsItemItem = GetStructType<{
8550
8551
  TargetPoint: AIGlobalRelativeLocation;
8551
8552
  ThreatAwareness: EThreatAwareness;
8552
8553
  Trigger: string;
8553
- VariableValue: boolean;
8554
+ VariableValue: VariableValue;
8554
8555
  Weather: EWeather;
8555
8556
  WithBodyArmor: boolean;
8556
8557
  WithEquipped: boolean;
@@ -9652,7 +9653,7 @@ export type QuestNodePrototypeSetGlobalVariable = GetStructType<{
9652
9653
  QuestSID: string;
9653
9654
  Repeatable: boolean;
9654
9655
  SID: string;
9655
- VariableValue: boolean;
9656
+ VariableValue: VariableValue;
9656
9657
  }>;
9657
9658
 
9658
9659
  export type QuestNodePrototypeSetHubOwner = GetStructType<{
package/utility-types.mts CHANGED
@@ -29,6 +29,7 @@ export type Caliber =
29
29
  | "AVOG"
30
30
  | "None";
31
31
 
32
+ export type VariableValue = boolean | number | string;
32
33
  export type WeaponShootDistance = "Long" | "Medium" | "Short";
33
34
  export type SID = string;
34
35
  export type Rank = "Newbie" | "Experienced" | "Veteran" | "Master";