s2cfgtojson 4.3.1 → 4.4.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 +35 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "s2cfgtojson",
3
- "version": "4.3.1",
3
+ "version": "4.4.0",
4
4
  "description": "Converts Stalker 2 Cfg file into POJOs",
5
5
  "keywords": [
6
6
  "stalker",
package/types.mts CHANGED
@@ -3871,3 +3871,38 @@ export type NPCPrototype = GetStructType<{
3871
3871
  BuyCoefficient: number;
3872
3872
  SellCoefficient: number;
3873
3873
  }>;
3874
+
3875
+ export type ExplosionPrototypes = GetStructType<{
3876
+ SID: string;
3877
+ Radius: number;
3878
+ DamagePlayer: number;
3879
+ DamageNPC: number;
3880
+ DamageArmorPlayer: number;
3881
+ DamageArmorNPC: number;
3882
+ DamageDestructible: number;
3883
+ ArmorPenetrationPlayer: number;
3884
+ ArmorPenetrationNPC: number;
3885
+ ImpulseRadius: number;
3886
+ ImpulsePower: number;
3887
+ ForceFeedbackRadius: number;
3888
+ ImpulseDamageCurve: string;
3889
+ ExplosionDamageCurve: string;
3890
+ ExplosionAkSFX: string;
3891
+ ExplosionDefectAkSFX: string;
3892
+ ExplosionNiagaraSystemVFX: string;
3893
+ ExplosionUnderwaterNiagaraSystemVFX: string;
3894
+ ExplosionInAirNiagaraSystemVFX: string;
3895
+ ExplosionDefectNiagaraSystemVFX: string;
3896
+ ExplosionWaterDepthRTPC: string;
3897
+ ImpactPhysicalMaterialPrototypeSID: string;
3898
+ ExplosionParticleTraceSize: number;
3899
+ ConcussionRadius: number;
3900
+ DamageSource: EDamageSource;
3901
+ ConcussionEffects: string[];
3902
+ NPCConcussionEffects: string[];
3903
+ PhysicalMaterialEffects: {
3904
+ PhysicalMaterialType: EPhysicalMaterialType;
3905
+ EffectSIDs: string[];
3906
+ }[];
3907
+ DefaultEffectSIDs: string[];
3908
+ }>;