s2cfgtojson 2.2.8 → 2.2.10
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 +69 -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 = {}> {
|
|
@@ -452,6 +456,8 @@ export type ALifeDirectorScenarioPrototype = GetStructType<{
|
|
|
452
456
|
[key: string]: {
|
|
453
457
|
SID: string;
|
|
454
458
|
PlayerRequiredRank: ERank;
|
|
459
|
+
ExpansionSquadNumMin: number;
|
|
460
|
+
ExpansionSquadNumMax: number;
|
|
455
461
|
ScenarioSquads: {
|
|
456
462
|
AgentArchetype: EAgentArchetype;
|
|
457
463
|
bPlayerEnemy: boolean;
|
|
@@ -836,6 +842,8 @@ export type ItemGeneratorPrototype = GetStructType<{
|
|
|
836
842
|
MaxDurability: number;
|
|
837
843
|
MinCount: number;
|
|
838
844
|
MaxCount: number;
|
|
845
|
+
AmmoMinCount: number;
|
|
846
|
+
AmmoMaxCount: number;
|
|
839
847
|
}[];
|
|
840
848
|
bAllowSameCategoryGeneration: boolean;
|
|
841
849
|
}[];
|
|
@@ -1714,3 +1722,64 @@ export type NPCWeaponSettingsPrototype = GetStructType<{
|
|
|
1714
1722
|
ArmorPiercing: number;
|
|
1715
1723
|
CombatSynchronizationScore: { TokenTag: string; Score: string }[];
|
|
1716
1724
|
}>;
|
|
1725
|
+
|
|
1726
|
+
export type QuestNodePrototype = GetStructType<{
|
|
1727
|
+
InGameHours?: number;
|
|
1728
|
+
SID: string;
|
|
1729
|
+
NodePrototypeVersion: number;
|
|
1730
|
+
QuestSID: string;
|
|
1731
|
+
NodeType: EQuestNodeType;
|
|
1732
|
+
StartDelay: number;
|
|
1733
|
+
LaunchOnQuestStart: boolean;
|
|
1734
|
+
|
|
1735
|
+
Repeatable: boolean;
|
|
1736
|
+
OutputPinNames: string[];
|
|
1737
|
+
Launchers: {
|
|
1738
|
+
Excluding: boolean;
|
|
1739
|
+
Connections: {
|
|
1740
|
+
SID: string;
|
|
1741
|
+
Name: string;
|
|
1742
|
+
};
|
|
1743
|
+
}[];
|
|
1744
|
+
LastPhrases: {
|
|
1745
|
+
FinishNode: boolean;
|
|
1746
|
+
LastPhraseSID: string;
|
|
1747
|
+
NextLaunchedPhraseSID: string;
|
|
1748
|
+
}[];
|
|
1749
|
+
DialogChainPrototypeSID: string;
|
|
1750
|
+
DialogMembers: string[];
|
|
1751
|
+
TalkThroughRadio: boolean[];
|
|
1752
|
+
DialogObjectLocation: {
|
|
1753
|
+
X: number;
|
|
1754
|
+
Y: number;
|
|
1755
|
+
Z: number;
|
|
1756
|
+
};
|
|
1757
|
+
NPCToStartDialog: number;
|
|
1758
|
+
StartForcedDialog: boolean;
|
|
1759
|
+
WaitAllDialogEndingsToFinish: boolean;
|
|
1760
|
+
IsComment: boolean;
|
|
1761
|
+
OverrideDialogTopic: EOverrideDialogTopic;
|
|
1762
|
+
CanExitAnytime: boolean;
|
|
1763
|
+
ContinueThroughRadio: boolean;
|
|
1764
|
+
CallPlayer: boolean;
|
|
1765
|
+
SeekPlayer: boolean;
|
|
1766
|
+
CallPlayerRadius: number;
|
|
1767
|
+
ExcludeAllNodesInContainer: boolean;
|
|
1768
|
+
GlobalVariablePrototypeSID: string;
|
|
1769
|
+
ChangeValueMode: EChangeValueMode;
|
|
1770
|
+
VariableValue: any;
|
|
1771
|
+
PinWeights: number[];
|
|
1772
|
+
Conditions: {
|
|
1773
|
+
ConditionType: EQuestConditionType;
|
|
1774
|
+
ConditionComparance: EConditionComparance;
|
|
1775
|
+
LinkedNodePrototypeSID: string;
|
|
1776
|
+
CompletedNodeLauncherNames: never[];
|
|
1777
|
+
TargetNPC: string;
|
|
1778
|
+
TargetContextualActionPlaceholder: string;
|
|
1779
|
+
TargetCharacter: string;
|
|
1780
|
+
Trigger: string;
|
|
1781
|
+
bTriggersByAnybody: boolean;
|
|
1782
|
+
ReactType: ETriggerReact;
|
|
1783
|
+
RequiredSquadMembers: ERequiredSquadMembers;
|
|
1784
|
+
}[][];
|
|
1785
|
+
}>;
|