s2cfgtojson 3.11.2 → 3.11.4

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