s2cfgtojson 3.11.2 → 3.11.3

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 +6 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "s2cfgtojson",
3
- "version": "3.11.2",
3
+ "version": "3.11.3",
4
4
  "description": "Converts Stalker 2 Cfg file into POJOs",
5
5
  "keywords": [
6
6
  "stalker",
package/types.mts CHANGED
@@ -433,7 +433,7 @@ interface IDialogPrototype {
433
433
  AnswerTo: number;
434
434
  IncludeBy: string[];
435
435
  ExcludeBy: string[];
436
- Conditions: Condition[][];
436
+ Conditions: Condition[][] & { ConditionCheckType: EConditionCheckType };
437
437
  }[];
438
438
  HasVOInSequence: boolean;
439
439
  VisibleOnFailedCondition: boolean;
@@ -456,7 +456,9 @@ interface IDialogPrototype {
456
456
  SpeechDuration: number;
457
457
  ShowNextDialogOptionsAsAnswers: boolean;
458
458
  WaitForSequenceToFinish: boolean;
459
- Conditions: Condition[][];
459
+ Conditions: Condition[][] & {
460
+ ConditionCheckType: EConditionCheckType;
461
+ };
460
462
  DialogAnswerActions: {
461
463
  DialogAction: EDialogAction;
462
464
  DialogActionParam: Param;
@@ -1461,7 +1463,7 @@ export type QuestNodePrototype = GetStructType<{
1461
1463
  ShouldLockPersonalRelationship: boolean;
1462
1464
  JournalQuestStageSID: string;
1463
1465
  Markers: string;
1464
- Conditions: Condition[][];
1466
+ Conditions: Condition[][] & { ConditionCheckType: EConditionCheckType };
1465
1467
  ConsoleCommand: string;
1466
1468
  RestrictDialogInteractions: boolean;
1467
1469
  RestrictDefeatStateInteraction: boolean;
@@ -2446,7 +2448,7 @@ export type DialogPoolPrototype = GetStructType<{
2446
2448
  TalkThroughRadio: boolean[];
2447
2449
  DialogObjectLocation: Location[];
2448
2450
 
2449
- Conditions: Condition[][];
2451
+ Conditions: Condition[][] & { ConditionCheckType: EConditionCheckType };
2450
2452
 
2451
2453
  DialogEventType: EDialogEventType;
2452
2454
  RequiresGroup: boolean;
@@ -2480,7 +2482,6 @@ export type Condition = GetStructType<{
2480
2482
  Faction: string;
2481
2483
  Relationships: ERelationLevel;
2482
2484
  Equipment: EMainHandEquipmentType;
2483
- ConditionCheckType: EConditionCheckType;
2484
2485
  ConditionType: EQuestConditionType;
2485
2486
  ConditionComparance: EConditionComparance;
2486
2487
  LinkedNodePrototypeSID: string;