s2cfgtojson 3.11.3 → 3.11.5

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 +11 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "s2cfgtojson",
3
- "version": "3.11.3",
3
+ "version": "3.11.5",
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[][] & { ConditionCheckType: EConditionCheckType };
436
+ Conditions: GetStructType<Condition[][]> & {
437
+ ConditionCheckType: EConditionCheckType;
438
+ };
437
439
  }[];
438
440
  HasVOInSequence: boolean;
439
441
  VisibleOnFailedCondition: boolean;
@@ -456,7 +458,7 @@ interface IDialogPrototype {
456
458
  SpeechDuration: number;
457
459
  ShowNextDialogOptionsAsAnswers: boolean;
458
460
  WaitForSequenceToFinish: boolean;
459
- Conditions: Condition[][] & {
461
+ Conditions: GetStructType<Condition[][]> & {
460
462
  ConditionCheckType: EConditionCheckType;
461
463
  };
462
464
  DialogAnswerActions: {
@@ -1463,7 +1465,9 @@ export type QuestNodePrototype = GetStructType<{
1463
1465
  ShouldLockPersonalRelationship: boolean;
1464
1466
  JournalQuestStageSID: string;
1465
1467
  Markers: string;
1466
- Conditions: Condition[][] & { ConditionCheckType: EConditionCheckType };
1468
+ Conditions: GetStructType<Condition[][]> & {
1469
+ ConditionCheckType: EConditionCheckType;
1470
+ };
1467
1471
  ConsoleCommand: string;
1468
1472
  RestrictDialogInteractions: boolean;
1469
1473
  RestrictDefeatStateInteraction: boolean;
@@ -2448,7 +2452,9 @@ export type DialogPoolPrototype = GetStructType<{
2448
2452
  TalkThroughRadio: boolean[];
2449
2453
  DialogObjectLocation: Location[];
2450
2454
 
2451
- Conditions: Condition[][] & { ConditionCheckType: EConditionCheckType };
2455
+ Conditions: GetStructType<Condition[][]> & {
2456
+ ConditionCheckType: EConditionCheckType;
2457
+ };
2452
2458
 
2453
2459
  DialogEventType: EDialogEventType;
2454
2460
  RequiresGroup: boolean;
@@ -2484,6 +2490,7 @@ export type Condition = GetStructType<{
2484
2490
  Equipment: EMainHandEquipmentType;
2485
2491
  ConditionType: EQuestConditionType;
2486
2492
  ConditionComparance: EConditionComparance;
2493
+ TargetPlaceholder: string;
2487
2494
  LinkedNodePrototypeSID: string;
2488
2495
  CompletedNodeLauncherNames: never[];
2489
2496
  TargetNPC: string;