s2cfgtojson 4.2.2 → 4.3.0

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 +29 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "s2cfgtojson",
3
- "version": "4.2.2",
3
+ "version": "4.3.0",
4
4
  "description": "Converts Stalker 2 Cfg file into POJOs",
5
5
  "keywords": [
6
6
  "stalker",
package/types.mts CHANGED
@@ -3842,3 +3842,32 @@ export type RSQ00_Rewar = GetStructType<{
3842
3842
  };
3843
3843
  SID: string;
3844
3844
  }>;
3845
+
3846
+ export type NPCPrototype = GetStructType<{
3847
+ SID: string;
3848
+ HelloDialogChain: string;
3849
+ ByeDialogChain: string;
3850
+ DefeatTopicDialogChain: string;
3851
+ DefeatCommentDialogChain: string;
3852
+ CallPlayerCommentDialogChain: string;
3853
+ ResumeCommentDialogChain: string;
3854
+ BusyCommentDialogChain: string;
3855
+ TradeTopicDialogChain: string;
3856
+ UpgradeTopicDialogChain: string;
3857
+ TravelTopicDialogChain: string;
3858
+ FastTravelPrototypeSID: string;
3859
+ NPCType: ENPCType;
3860
+ NPCMarker: string;
3861
+ UpdateMarkerOnMap: boolean;
3862
+ Money: number;
3863
+ Upgrades: { UpgradePrototypeSID: string; Enabled: boolean }[];
3864
+ Skills: string[];
3865
+ UseGeneratedName: boolean;
3866
+ NameTextKey: string;
3867
+ ThreshHoldItemCondition: number;
3868
+ VoiceUA: string;
3869
+ VoiceEN: string;
3870
+ QuestNPC: boolean;
3871
+ BuyCoefficient: number;
3872
+ SellCoefficient: number;
3873
+ }>;