s2cfgtojson 2.2.8 → 2.2.9
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/enums.mts +7 -1
- package/package.json +1 -1
- package/types.mts +67 -0
package/enums.mts
CHANGED
|
@@ -1605,7 +1605,13 @@ export type ERadiationPreset = `ERadiationPreset::${
|
|
|
1605
1605
|
| "Strong"
|
|
1606
1606
|
| "Topaz"}`;
|
|
1607
1607
|
|
|
1608
|
-
export type
|
|
1608
|
+
export type _ERank =
|
|
1609
|
+
`ERank::${"Experienced" | "Master" | "Newbie" | "Veteran"}`;
|
|
1610
|
+
export type ERank =
|
|
1611
|
+
| _ERank
|
|
1612
|
+
| `${_ERank}, ${_ERank}`
|
|
1613
|
+
| `${_ERank}, ${_ERank}, ${_ERank}`
|
|
1614
|
+
| `${_ERank}, ${_ERank}, ${_ERank}, ${_ERank}`;
|
|
1609
1615
|
|
|
1610
1616
|
export type ERegion = `ERegion::${
|
|
1611
1617
|
| "Bolota"
|
package/package.json
CHANGED
package/types.mts
CHANGED
|
@@ -60,6 +60,10 @@ import {
|
|
|
60
60
|
ESoundEffectSubtype,
|
|
61
61
|
EInputAxisType,
|
|
62
62
|
EActionType,
|
|
63
|
+
EQuestNodeType,
|
|
64
|
+
EOverrideDialogTopic,
|
|
65
|
+
ETriggerReact,
|
|
66
|
+
ERequiredSquadMembers,
|
|
63
67
|
} from "./enums.mjs";
|
|
64
68
|
|
|
65
69
|
export interface Struct<T extends Entries = {}> {
|
|
@@ -836,6 +840,8 @@ export type ItemGeneratorPrototype = GetStructType<{
|
|
|
836
840
|
MaxDurability: number;
|
|
837
841
|
MinCount: number;
|
|
838
842
|
MaxCount: number;
|
|
843
|
+
AmmoMinCount: number;
|
|
844
|
+
AmmoMaxCount: number;
|
|
839
845
|
}[];
|
|
840
846
|
bAllowSameCategoryGeneration: boolean;
|
|
841
847
|
}[];
|
|
@@ -1714,3 +1720,64 @@ export type NPCWeaponSettingsPrototype = GetStructType<{
|
|
|
1714
1720
|
ArmorPiercing: number;
|
|
1715
1721
|
CombatSynchronizationScore: { TokenTag: string; Score: string }[];
|
|
1716
1722
|
}>;
|
|
1723
|
+
|
|
1724
|
+
export type QuestNodePrototype = GetStructType<{
|
|
1725
|
+
InGameHours?: number;
|
|
1726
|
+
SID: string;
|
|
1727
|
+
NodePrototypeVersion: number;
|
|
1728
|
+
QuestSID: string;
|
|
1729
|
+
NodeType: EQuestNodeType;
|
|
1730
|
+
StartDelay: number;
|
|
1731
|
+
LaunchOnQuestStart: boolean;
|
|
1732
|
+
|
|
1733
|
+
Repeatable: boolean;
|
|
1734
|
+
OutputPinNames: string[];
|
|
1735
|
+
Launchers: {
|
|
1736
|
+
Excluding: boolean;
|
|
1737
|
+
Connections: {
|
|
1738
|
+
SID: string;
|
|
1739
|
+
Name: string;
|
|
1740
|
+
};
|
|
1741
|
+
}[];
|
|
1742
|
+
LastPhrases: {
|
|
1743
|
+
FinishNode: boolean;
|
|
1744
|
+
LastPhraseSID: string;
|
|
1745
|
+
NextLaunchedPhraseSID: string;
|
|
1746
|
+
}[];
|
|
1747
|
+
DialogChainPrototypeSID: string;
|
|
1748
|
+
DialogMembers: string[];
|
|
1749
|
+
TalkThroughRadio: boolean[];
|
|
1750
|
+
DialogObjectLocation: {
|
|
1751
|
+
X: number;
|
|
1752
|
+
Y: number;
|
|
1753
|
+
Z: number;
|
|
1754
|
+
};
|
|
1755
|
+
NPCToStartDialog: number;
|
|
1756
|
+
StartForcedDialog: boolean;
|
|
1757
|
+
WaitAllDialogEndingsToFinish: boolean;
|
|
1758
|
+
IsComment: boolean;
|
|
1759
|
+
OverrideDialogTopic: EOverrideDialogTopic;
|
|
1760
|
+
CanExitAnytime: boolean;
|
|
1761
|
+
ContinueThroughRadio: boolean;
|
|
1762
|
+
CallPlayer: boolean;
|
|
1763
|
+
SeekPlayer: boolean;
|
|
1764
|
+
CallPlayerRadius: number;
|
|
1765
|
+
ExcludeAllNodesInContainer: boolean;
|
|
1766
|
+
GlobalVariablePrototypeSID: string;
|
|
1767
|
+
ChangeValueMode: EChangeValueMode;
|
|
1768
|
+
VariableValue: any;
|
|
1769
|
+
PinWeights: number[];
|
|
1770
|
+
Conditions: {
|
|
1771
|
+
ConditionType: EQuestConditionType;
|
|
1772
|
+
ConditionComparance: EConditionComparance;
|
|
1773
|
+
LinkedNodePrototypeSID: string;
|
|
1774
|
+
CompletedNodeLauncherNames: never[];
|
|
1775
|
+
TargetNPC: string;
|
|
1776
|
+
TargetContextualActionPlaceholder: string;
|
|
1777
|
+
TargetCharacter: string;
|
|
1778
|
+
Trigger: string;
|
|
1779
|
+
bTriggersByAnybody: boolean;
|
|
1780
|
+
ReactType: ETriggerReact;
|
|
1781
|
+
RequiredSquadMembers: ERequiredSquadMembers;
|
|
1782
|
+
}[][];
|
|
1783
|
+
}>;
|