s2cfgtojson 4.2.2 → 4.3.1
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/Struct.mts +1 -1
- package/Struct.test.mts +1 -1
- package/package.json +1 -1
- package/types.mts +29 -0
package/Struct.mts
CHANGED
|
@@ -408,7 +408,7 @@ export function parseKey(key: string, parent: Struct, index: number) {
|
|
|
408
408
|
normKey = extractKeyFromBrackets(key);
|
|
409
409
|
|
|
410
410
|
if (normKey === "*") {
|
|
411
|
-
|
|
411
|
+
parent.__internal__.useAsterisk = true;
|
|
412
412
|
return Object.keys(parent).length - 1;
|
|
413
413
|
}
|
|
414
414
|
|
package/Struct.test.mts
CHANGED
package/package.json
CHANGED
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
|
+
}>;
|