s2cfgtojson 3.8.0 → 3.9.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.
- package/package.json +1 -1
- package/types.mts +20 -5
package/package.json
CHANGED
package/types.mts
CHANGED
|
@@ -2443,6 +2443,7 @@ export type Factions =
|
|
|
2443
2443
|
| "StrelokBoss_Faction"
|
|
2444
2444
|
| "FaustBoss_Faction";
|
|
2445
2445
|
|
|
2446
|
+
type Faction = string; // for performance
|
|
2446
2447
|
export type RelationPrototype = GetStructType<{
|
|
2447
2448
|
SID: string;
|
|
2448
2449
|
FactionsInvolvedDistance: number;
|
|
@@ -2461,11 +2462,25 @@ export type RelationPrototype = GetStructType<{
|
|
|
2461
2462
|
} & {
|
|
2462
2463
|
[key in `${Reactions}->${Reactions}`]: number;
|
|
2463
2464
|
})[];
|
|
2464
|
-
Factions: Record<
|
|
2465
|
+
Factions: Record<Faction, Faction>;
|
|
2465
2466
|
Relations: {
|
|
2466
|
-
[key in `${
|
|
2467
|
+
[key in `${Faction}<->${Faction}`]: number;
|
|
2467
2468
|
};
|
|
2468
|
-
PositiveReactionsExcludedFactions: `${
|
|
2469
|
-
NegativeReactionsExcludedFactions: `${
|
|
2470
|
-
FactionRollbackCooldowns: Record<
|
|
2469
|
+
PositiveReactionsExcludedFactions: `${Faction}<->${Faction}`[];
|
|
2470
|
+
NegativeReactionsExcludedFactions: `${Faction}<->${Faction}`[];
|
|
2471
|
+
FactionRollbackCooldowns: Record<Faction, number>;
|
|
2472
|
+
}>;
|
|
2473
|
+
|
|
2474
|
+
export type BarbedWirePrototype = GetStructType<{
|
|
2475
|
+
ID: number;
|
|
2476
|
+
SID: string;
|
|
2477
|
+
Damage: number;
|
|
2478
|
+
DamageDelay: number;
|
|
2479
|
+
BleedingChance: number;
|
|
2480
|
+
BleedingValue: number;
|
|
2481
|
+
ArmorDamage: number;
|
|
2482
|
+
ArmorPiercing: number;
|
|
2483
|
+
MovementSpeedDegradeDelay: number;
|
|
2484
|
+
bOverlappable: boolean;
|
|
2485
|
+
NegativeEffectPrototypeSIDs: string[];
|
|
2471
2486
|
}>;
|