@adatechnology/game-weapons 0.7.1 → 0.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/README.md +26 -3
- package/dist/index.d.ts +97 -12
- package/dist/index.global.js +2028 -120
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +2028 -120
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -63,14 +63,25 @@ result.rounds // cartridges spent: a shell is one, a burst is several
|
|
|
63
63
|
result.roundTimes // seconds after the start of the call at which each round left the barrel
|
|
64
64
|
if (result.fault) rifle.clearFault() // 1.2 s; `rifle.fault` stays set until it ends
|
|
65
65
|
rifle.setSafety(true) // the trigger answers `safe`
|
|
66
|
-
rifle.
|
|
66
|
+
rifle.heat // barrel temperature above ambient in °C (up to `rules.heat.cap`, 900)
|
|
67
|
+
rifle.heatLevel // 0..1: that temperature over `rules.heat.displayMax` (750 °C)
|
|
67
68
|
for (const event of rifle.drain()) animate(event) // draw, shot, misfire, cycle, reload (+ stages, feed), empty, mode, fault, clear, safety
|
|
68
69
|
```
|
|
69
70
|
|
|
70
71
|
Each cartridge rolls its own fault from a second generator (`seed ^ 0x6a09e667`), so the spread of a seed does not change when faults are on. The chance is
|
|
71
|
-
`condition × faultFactor × (1 + max(0, heat −
|
|
72
|
+
`condition × faultFactor × (1 + max(0, heat − 350) / 200)` (new 0.3%, used 1.5%, worn 5%, rusty 12%), and reloaded ammunition adds a misfire chance of 8%.
|
|
72
73
|
A revolver or break-action only misfires (the round is spent, no jam); a pump, bolt or lever fails to extract; the rest stovepipe or double feed.
|
|
73
|
-
A bow or crossbow has no cartridge: it adds no heat and never jams.
|
|
74
|
+
A bow or crossbow has no cartridge: it adds no heat and never jams.
|
|
75
|
+
|
|
76
|
+
**Barrel heat is physical** (`rules.heat`): a round adds `share × E / (m × c)` °C, with `E` the muzzle energy of the whole round (every pellet of a shell), `c` = 490 J/(kg·K)
|
|
77
|
+
(steel), `share` the fraction of that energy that ends in the barrel (`barrelShare`, by case type: 0.48 rifle, shell and big, 0.3 pistol and tiny) and `m` the barrel mass: its
|
|
78
|
+
length (`dimensions.barrel`) × kg per metre of the category (`barrelKilogramsPerMetre`: pistol 1, revolver 1.4, smg 1.2, carbine and rifle 1.6, dmr, sniper and hunting 2.4,
|
|
79
|
+
machine gun 3, shotgun 1.1) × `dimensions.barrels` (a rotary gun shares the heat: the M134 has 6). `dimensions.barrelMass` replaces length × kg per metre for a heavy or
|
|
80
|
+
quick-change barrel. The barrel cools by Newton's law, `dT/dt = −T/τ` with `τ = 30 s + 250 s/kg × m`, integrated exactly. From cold an M4 reaches the warning
|
|
81
|
+
(`faultFrom`, 350 °C) after about 130 rounds of rapid fire, an FN MAG or PKM after 200 to 300 at 100 rounds a minute, an M134 after more than 1100, and a pistol or a bolt
|
|
82
|
+
rifle at a bolt pace never does. Past it the fault chance grows to double at 550 °C (`faultSpan` 200); smoke starts at 250 °C and the red glow at 450 °C
|
|
83
|
+
(`rules.heat.visual`). `roundsToWarningOf(arsenal, weaponId)` gives the rounds to the warning at the weapon's listed rate (the test room bench shows it). `GALLERY_HEAT`
|
|
84
|
+
keeps the abstract units of the Galeria 3D do Arsenal (`rules.heat.gallery`) for the recorded runs. Everything is a number you can change with `rules` (`faults: false` turns jams off,
|
|
74
85
|
`faultChance` takes a function), and the order of the reload steps is in `RELOAD_STAGES`.
|
|
75
86
|
|
|
76
87
|
Real models point to a generic `archetype` for the handling numbers (spread, bloom, range, recoil); `patch`, `remove` and `include` change the shipped
|
|
@@ -260,6 +271,18 @@ optic that is fitted over `aimSeconds`), and only when the click lands on the ro
|
|
|
260
271
|
a throwable) leaves the button to the room, which grabs with it. The bench's **Supported** switch (`supported_stance`) puts the weapon in the supported stance (deployed or prone), so the bipod effect can be exercised;
|
|
261
272
|
it goes back off when another tool is taken. The laser measures its distance at most 30 times a second and ignores hidden nodes (a hidden ancestor counts) and the weapon in the hands.
|
|
262
273
|
|
|
274
|
+
### A weapon in each hand
|
|
275
|
+
|
|
276
|
+
`rules.dualWield` says which weapons go one in each hand and what that costs: `categories` (`pistol`, `revolver`), `weapons` (the Mini Uzi, Uzi, MAC-10, vz. 61, MP7, the knives, the
|
|
277
|
+
machete and the hatchet) less `exclude`, and the multipliers of a weapon held so: `spread` ×1.8 and `recoil` ×1.35. `canDualWield(arsenal, id)` answers it; each hand gets its own
|
|
278
|
+
`arsenal.create(id)` (its own magazine, reload, heat and fire rate) with `setStance({ dualWield: true })`, which applies the multipliers and keeps the weapon from aiming. A game changes
|
|
279
|
+
the lists with `createArsenal({ rules: { dualWield: { weapons: [...] } } })` (an array replaces the shipped one).
|
|
280
|
+
|
|
281
|
+
**In the test room**: Shift+click in the weapon picker puts two of an eligible weapon in the hands (a second Shift+click changes the left one; a plain click goes back to one). The left
|
|
282
|
+
mouse button fires the right hand, the right button the left hand (no aiming with two); R changes the magazines as a person does: the left weapon is tucked in the belt (`rules.dualWield.stowSeconds`), the free left hand changes the
|
|
283
|
+
right one's magazine and draws its weapon back, then the right weapon is tucked and the right hand changes the left one's; neither fires meanwhile. Q (fire mode) and B (safety)
|
|
284
|
+
act on the weapon of the hand that fired last; X clears the stuck one. Each index finger curls on its own trigger (`HandTargets.fingers` / `fingersL`).
|
|
285
|
+
|
|
263
286
|
## API
|
|
264
287
|
|
|
265
288
|
- `createArsenal(options?)` returns an `Arsenal`: `calibers`, `weapons`, `explosives` (maps), `rules`, `create(id, { seed?, reserve?, condition?, ammoQuality? })` (unknown id throws), `attachments`, `canFit(weapon, attachment, options?)`, `restore(snapshot, options?)`,
|
package/dist/index.d.ts
CHANGED
|
@@ -165,6 +165,7 @@ interface Detonation {
|
|
|
165
165
|
readonly cone?: ExplosiveDef['cone'];
|
|
166
166
|
readonly stunSeconds?: number;
|
|
167
167
|
readonly fire?: ExplosiveDef['fire'];
|
|
168
|
+
readonly smoke?: ExplosiveDef['smoke'];
|
|
168
169
|
}
|
|
169
170
|
type ExplosiveEvent = {
|
|
170
171
|
type: 'armed';
|
|
@@ -282,10 +283,17 @@ interface ExplosiveShell {
|
|
|
282
283
|
/** Seconds the flying shell trails fire. */
|
|
283
284
|
readonly trailSeconds: number;
|
|
284
285
|
}
|
|
286
|
+
/** What a smoke canister gives off instead of a blast: the colour of the smoke and how long it burns (the real burn varies by lot, so it is a range). */
|
|
287
|
+
interface ExplosiveSmoke {
|
|
288
|
+
/** `0xRRGGBB` of the smoke. */
|
|
289
|
+
readonly color: number;
|
|
290
|
+
/** Seconds the filling burns once the fuse has lit it, between the two ends. */
|
|
291
|
+
readonly seconds: readonly [number, number];
|
|
292
|
+
}
|
|
285
293
|
interface ExplosiveDef {
|
|
286
294
|
readonly id: ExplosiveId;
|
|
287
295
|
readonly name?: string;
|
|
288
|
-
readonly kind: 'fragmentation' | 'blast' | 'incendiary' | 'directional' | 'flash' | 'shaped_charge' | 'fuel';
|
|
296
|
+
readonly kind: 'fragmentation' | 'blast' | 'incendiary' | 'directional' | 'flash' | 'shaped_charge' | 'fuel' | 'smoke';
|
|
289
297
|
/** Radius in metres inside which everything dies. */
|
|
290
298
|
readonly lethalRadius: number;
|
|
291
299
|
/** Radius in metres of the wounding area (damage falls with distance). */
|
|
@@ -316,6 +324,8 @@ interface ExplosiveDef {
|
|
|
316
324
|
/** Scatter of the burn rate as a fraction, sampled per throw (0.1 = ±10%). */
|
|
317
325
|
readonly burnTolerance?: number;
|
|
318
326
|
readonly stunSeconds?: number;
|
|
327
|
+
/** A smoke canister: it makes smoke for `seconds` and does not explode (energy and radii are 0). */
|
|
328
|
+
readonly smoke?: ExplosiveSmoke;
|
|
319
329
|
readonly fire?: {
|
|
320
330
|
temperature: number;
|
|
321
331
|
radius: number;
|
|
@@ -368,7 +378,7 @@ interface AmmoQualityDef {
|
|
|
368
378
|
interface FaultContext {
|
|
369
379
|
readonly def: WeaponDef;
|
|
370
380
|
readonly condition: ConditionDef;
|
|
371
|
-
/**
|
|
381
|
+
/** Barrel temperature above ambient in °C. */
|
|
372
382
|
readonly heat: number;
|
|
373
383
|
}
|
|
374
384
|
/** Numbers that rule how weapons behave in a game; override any of them with `ArsenalOptions.rules`. */
|
|
@@ -379,22 +389,47 @@ interface WeaponRules {
|
|
|
379
389
|
readonly ammoQualities: readonly AmmoQualityDef[];
|
|
380
390
|
readonly defaultAmmoQuality: string;
|
|
381
391
|
readonly faultChance: (context: FaultContext) => number;
|
|
392
|
+
/** Barrel temperature above ambient, in °C. A round adds `share x muzzle energy / (barrel mass x specificHeat)`; the barrel cools by Newton's law with a time constant that grows with its mass. */
|
|
382
393
|
readonly heat: {
|
|
394
|
+
/** Highest temperature above ambient the barrel can reach. */
|
|
383
395
|
readonly cap: number;
|
|
396
|
+
/** The temperature the display shows as full (`heatLevel` 1). */
|
|
384
397
|
readonly displayMax: number;
|
|
385
|
-
|
|
386
|
-
readonly decayPerPoint: number;
|
|
398
|
+
/** The warning: from here the weapon is hot enough to fail (the fault chance grows by `1 / faultSpan` per °C). */
|
|
387
399
|
readonly faultFrom: number;
|
|
388
400
|
readonly faultSpan: number;
|
|
389
|
-
|
|
401
|
+
/** J/(kg·K) of the barrel steel. */
|
|
402
|
+
readonly specificHeat: number;
|
|
403
|
+
/** Fraction of the muzzle energy of a round that ends as heat in the barrel, by cartridge case. */
|
|
404
|
+
readonly barrelShare: Readonly<Record<CaseType, number>>;
|
|
405
|
+
/** Barrel kg per metre of barrel length, by category. */
|
|
406
|
+
readonly barrelKilogramsPerMetre: Readonly<Partial<Record<WeaponCategory, number>>>;
|
|
407
|
+
/** What a weapon with no barrel length or no listed category is given. */
|
|
408
|
+
readonly barrelFallback: {
|
|
409
|
+
readonly metres: number;
|
|
410
|
+
readonly kilogramsPerMetre: number;
|
|
411
|
+
};
|
|
412
|
+
/** Cooling time constant in seconds: `baseSeconds + secondsPerKilogram x barrel mass`. */
|
|
413
|
+
readonly cooling: {
|
|
414
|
+
readonly baseSeconds: number;
|
|
415
|
+
readonly secondsPerKilogram: number;
|
|
416
|
+
};
|
|
417
|
+
/** °C a rocket launch adds to the tube. */
|
|
390
418
|
readonly perRocket: number;
|
|
391
|
-
/** What the player sees of the heat: wisps of smoke only while the barrel is above `smokeFrom` and for `smokeSeconds` after the last shot; the red glow from `glowFrom` over `glowSpan`
|
|
419
|
+
/** What the player sees of the heat: wisps of smoke only while the barrel is above `smokeFrom` and for `smokeSeconds` after the last shot, thicker over `smokeSpan` °C; the red glow from `glowFrom` over `glowSpan` °C. */
|
|
392
420
|
readonly visual: {
|
|
393
421
|
readonly smokeFrom: number;
|
|
422
|
+
readonly smokeSpan: number;
|
|
394
423
|
readonly smokeSeconds: number;
|
|
395
424
|
readonly glowFrom: number;
|
|
396
425
|
readonly glowSpan: number;
|
|
397
426
|
};
|
|
427
|
+
/** The abstract units the Galeria 3D do Arsenal recorded (a fixed amount per case and linear cooling); when present they replace the physical model, so the recorded runs stay reproducible. */
|
|
428
|
+
readonly gallery?: {
|
|
429
|
+
readonly perShot: Readonly<Record<CaseType, number>>;
|
|
430
|
+
readonly decayBase: number;
|
|
431
|
+
readonly decayPerPoint: number;
|
|
432
|
+
};
|
|
398
433
|
};
|
|
399
434
|
/** Each shot in the last `window` seconds raises the noise radius by `step`, up to `cap`. */
|
|
400
435
|
readonly noiseBurst: {
|
|
@@ -437,6 +472,22 @@ interface WeaponRules {
|
|
|
437
472
|
*/
|
|
438
473
|
readonly ironSightZoom: Readonly<Record<string, number>>;
|
|
439
474
|
};
|
|
475
|
+
/**
|
|
476
|
+
* A weapon in each hand: which weapons a body can hold one of in each hand (by `categories`, plus the ids in `weapons`, less the ids in `exclude`), and how much worse each one shoots
|
|
477
|
+
* then (`spread` and `recoil` multiply the one-handed numbers: one hand holds the weapon, none steadies it, and the eye cannot sight two at once).
|
|
478
|
+
*/
|
|
479
|
+
readonly dualWield: {
|
|
480
|
+
readonly categories: readonly WeaponCategory[];
|
|
481
|
+
readonly weapons: readonly WeaponId[];
|
|
482
|
+
readonly exclude: readonly WeaponId[];
|
|
483
|
+
readonly spread: number;
|
|
484
|
+
readonly recoil: number;
|
|
485
|
+
/**
|
|
486
|
+
* Seconds to put one weapon away against the body (tucked in the belt) to free its hand, and as long to take it back: a magazine is changed with the free hand, one weapon after
|
|
487
|
+
* the other, and neither fires meanwhile.
|
|
488
|
+
*/
|
|
489
|
+
readonly stowSeconds: number;
|
|
490
|
+
};
|
|
440
491
|
/** Folding or sliding in the stock: the seconds it takes and what it does to the weapon while it is in. */
|
|
441
492
|
readonly stock: {
|
|
442
493
|
readonly seconds: number;
|
|
@@ -693,6 +744,10 @@ interface WeaponDimensions {
|
|
|
693
744
|
readonly barrel: number;
|
|
694
745
|
readonly emptyMass: number;
|
|
695
746
|
readonly lengthCollapsed?: number;
|
|
747
|
+
/** Barrels that share the heat (a rotary gun: 6). Default 1. */
|
|
748
|
+
readonly barrels?: number;
|
|
749
|
+
/** Mass in kg of one barrel; replaces barrel length times the kg per metre of the category (a heavy or quick-change barrel). */
|
|
750
|
+
readonly barrelMass?: number;
|
|
696
751
|
}
|
|
697
752
|
/** What using the item does. Firearms produce ballistic shots; the rest produce one `Use` of their kind. */
|
|
698
753
|
type WeaponAction = {
|
|
@@ -752,7 +807,7 @@ type WeaponAction = {
|
|
|
752
807
|
magazine: number;
|
|
753
808
|
reload: number;
|
|
754
809
|
timings?: WeaponTimings;
|
|
755
|
-
family: 'rocket' | 'break' | 'underbarrel';
|
|
810
|
+
family: 'rocket' | 'break' | 'underbarrel' | 'revolver';
|
|
756
811
|
disposable?: boolean;
|
|
757
812
|
speed: number;
|
|
758
813
|
/** Distance in metres below which the projectile hits without exploding. */
|
|
@@ -891,6 +946,8 @@ interface WeaponStance {
|
|
|
891
946
|
readonly aiming?: boolean;
|
|
892
947
|
/** Lying down, or on a bipod or tripod. */
|
|
893
948
|
readonly supported?: boolean;
|
|
949
|
+
/** Held in one hand with another weapon in the other (`rules.dualWield`): the spread and the recoil are worse, and it does not aim. */
|
|
950
|
+
readonly dualWield?: boolean;
|
|
894
951
|
}
|
|
895
952
|
interface WeaponState {
|
|
896
953
|
readonly def: WeaponDef;
|
|
@@ -910,9 +967,9 @@ interface WeaponState {
|
|
|
910
967
|
readonly clearing: boolean;
|
|
911
968
|
/** With the safety on the trigger does nothing. */
|
|
912
969
|
readonly safety: boolean;
|
|
913
|
-
/**
|
|
970
|
+
/** Barrel temperature above ambient in °C, 0 to `rules.heat.cap`. */
|
|
914
971
|
readonly heat: number;
|
|
915
|
-
/** 0 to 1: the
|
|
972
|
+
/** 0 to 1: the temperature against `rules.heat.displayMax`. */
|
|
916
973
|
readonly heatLevel: number;
|
|
917
974
|
readonly condition: string;
|
|
918
975
|
readonly ammoQuality: string;
|
|
@@ -1103,7 +1160,9 @@ interface LoadoutContext {
|
|
|
1103
1160
|
readonly supported: boolean;
|
|
1104
1161
|
readonly stock: 'collapsed' | 'extended';
|
|
1105
1162
|
readonly caliber: CaliberDef | null;
|
|
1106
|
-
readonly rules: Pick<WeaponRules, 'attachments' | 'aim' | 'stock'
|
|
1163
|
+
readonly rules: Pick<WeaponRules, 'attachments' | 'aim' | 'stock'> & Partial<Pick<WeaponRules, 'dualWield'>>;
|
|
1164
|
+
/** One hand with another weapon in the other: `rules.dualWield` makes the spread and the recoil worse. */
|
|
1165
|
+
readonly dualWield?: boolean;
|
|
1107
1166
|
}
|
|
1108
1167
|
interface Loadout {
|
|
1109
1168
|
/** The action with every effect applied; the very object of the def when nothing differs from the weapon as it ships. */
|
|
@@ -1149,11 +1208,31 @@ declare const DEFAULT_LOADOUT: WeaponId[];
|
|
|
1149
1208
|
*/
|
|
1150
1209
|
declare const createArsenal: (options?: ArsenalOptions) => Arsenal;
|
|
1151
1210
|
|
|
1152
|
-
/** The heat the Galeria 3D do Arsenal recorded (hotter per round: a magazine was enough to glow); kept so the recorded runs stay reproducible. */
|
|
1211
|
+
/** The heat the Galeria 3D do Arsenal recorded (abstract units, hotter per round: a magazine was enough to glow); kept so the recorded runs stay reproducible. */
|
|
1153
1212
|
declare const GALLERY_HEAT: WeaponRules['heat'];
|
|
1154
1213
|
/** The rules the kit ships with; a game overrides any of them through `ArsenalOptions.rules`. */
|
|
1155
1214
|
declare const DEFAULT_RULES: WeaponRules;
|
|
1156
1215
|
|
|
1216
|
+
type HeatRules = WeaponRules['heat'];
|
|
1217
|
+
/** Kg of steel that heat up with the shots: barrel length times kg per metre of the category (or the weapon's own `barrelMass`), times the barrels a rotary gun shares. */
|
|
1218
|
+
declare const barrelMassOf: (def: WeaponDef, rules: HeatRules) => number;
|
|
1219
|
+
/** Seconds in which the barrel loses 1/e of its excess temperature. */
|
|
1220
|
+
declare const coolingTimeConstant: (barrelMass: number, rules: HeatRules) => number;
|
|
1221
|
+
/** Cools a barrel: Newton's law, dT/dt = -T/tau, integrated exactly (the Galeria's linear Euler steps when `rules.gallery` is set). */
|
|
1222
|
+
declare const decayHeat: (heat: number, seconds: number, barrelMass: number, rules: HeatRules) => number;
|
|
1223
|
+
type RoundsToWarningParams = {
|
|
1224
|
+
readonly def: WeaponDef;
|
|
1225
|
+
readonly caliber: CaliberDef;
|
|
1226
|
+
/** Muzzle energy of one round in joules (one pellet when `caliber.pellets` says more). */
|
|
1227
|
+
readonly energy: number;
|
|
1228
|
+
readonly rpm: number;
|
|
1229
|
+
readonly rules: HeatRules;
|
|
1230
|
+
};
|
|
1231
|
+
/** Rounds fired from cold at `rpm`, with no pause for reloads, before the barrel reaches the warning; Infinity when the cooling holds it below. */
|
|
1232
|
+
declare const roundsToWarning: ({ def, caliber, energy, rpm, rules }: RoundsToWarningParams) => number;
|
|
1233
|
+
/** `roundsToWarning` for a weapon of the arsenal, from the muzzle energy of its own calibre and barrel at its listed rate of fire; Infinity for what has no cartridge or never heats up that far. */
|
|
1234
|
+
declare const roundsToWarningOf: (arsenal: Pick<Arsenal, "weapons" | "calibers" | "rules">, weaponId: string) => number;
|
|
1235
|
+
|
|
1157
1236
|
interface BlastEffect {
|
|
1158
1237
|
/** `lethal` kills and dismembers, `injury` wounds, `none` is out of reach (or behind a directional charge). */
|
|
1159
1238
|
readonly zone: 'lethal' | 'injury' | 'none';
|
|
@@ -1260,6 +1339,12 @@ declare function muzzleSmokeOf({ caliber, weapon, suppressed }: MuzzleSmokeParam
|
|
|
1260
1339
|
*/
|
|
1261
1340
|
declare function aimZoomOf(arsenal: Arsenal, weaponId: WeaponId, attachments?: readonly AttachmentId[]): number;
|
|
1262
1341
|
|
|
1342
|
+
/**
|
|
1343
|
+
* Whether a body can hold one of this weapon in each hand (`rules.dualWield`): its category is listed or its id is, and it is not excluded. A game changes the lists through
|
|
1344
|
+
* `ArsenalOptions.rules`; an unknown id answers false.
|
|
1345
|
+
*/
|
|
1346
|
+
declare function canDualWield(arsenal: Pick<Arsenal, 'weapons' | 'rules'>, weaponId: WeaponId): boolean;
|
|
1347
|
+
|
|
1263
1348
|
/** One group of the weapon menu as a game declares it: the categories it lists, in order, each a section of its own. */
|
|
1264
1349
|
interface WeaponMenuGroupDef {
|
|
1265
1350
|
readonly id: string;
|
|
@@ -1311,4 +1396,4 @@ declare function genericWeapons(arsenal: Arsenal): ReadonlyMap<WeaponId, WeaponI
|
|
|
1311
1396
|
/** A loadout with each generic gun swapped for the real weapon that stands for it (dropped when none does), and no id twice. */
|
|
1312
1397
|
declare function realLoadout(arsenal: Arsenal, loadout: readonly WeaponId[]): WeaponId[];
|
|
1313
1398
|
|
|
1314
|
-
export { AMMO, ARCHETYPE_IDS, ATTACHMENTS, type AmmoCore, type AmmoDef, type AmmoJacket, type AmmoKind, type AmmoLoad, type AmmoPenetration, type AmmoQualityDef, type Arsenal, type ArsenalOptions, type AttachmentDef, type AttachmentId, type AttachmentInstall, type AttachmentKind, type BlastEffect, CALIBERS, type CaliberDef, type CaliberId, type CanFit, type CanFitContext, type CartridgeDims, type CaseType, type ConditionDef, DEFAULT_LOADOUT, DEFAULT_RULES, type DataSource, type Detonation, EXPLOSIVES, type EffectCondition, ExplosiveBody, type ExplosiveBodyInit, type ExplosiveChain, type ExplosiveDef, type ExplosiveEvent, type ExplosiveId, type ExplosiveLeak, type ExplosiveShell, type ExplosiveTrigger, type ExplosiveTripwire, type FaultContext, type FaultId, type FireMode, type FirearmAction, type FitOptions, type FitRefusal, type FitResult, type FittedAttachment, GALLERY_HEAT, type IsCompatible, type Loadout, type LoadoutContext, MUZZLE_SMOKE, type MountDef, type MountKind, type MuzzleSmokeParams, type MuzzleSmokeProfile, type MuzzleSmokeProfileId, RELOAD_STAGES, type ReloadFamily, type ReloadKind, type ReloadRequest, type ReloadStage, type ReloadStageId, type RimType, type StatModifier, type StockDef, type StockState, type SurfaceProbe, type TriggerResult, type TripwireSegment, WEAPONS, WEAPON_MENU_GROUPS, type WeaponAction, type WeaponCategory, type WeaponDef, type WeaponDimensions, type WeaponEvent, type WeaponId, type WeaponMenuEntry, type WeaponMenuGroup, type WeaponMenuGroupDef, type WeaponMenuOptions, type WeaponMenuSection, type WeaponPatch, type WeaponPhase, type WeaponRules, type WeaponSnapshot, type WeaponStance, type WeaponStat, type WeaponState, type WeaponTimings, type WeaponsLocale, type WeaponsStrings, aimZoomOf, ammoId, ammoIgnition, backblastEffect, blastEffect, canFit, canInstallWith, checkArsenal, createArsenal, createExplosiveBody, createRng, genericWeapons, locales, muzzleEnergy, muzzleSmokeOf, nominalFuse, realLoadout, resolveLoad, resolveLoadout, resolveStrings, sampleFuse, tripwireSegment, weaponMenu };
|
|
1399
|
+
export { AMMO, ARCHETYPE_IDS, ATTACHMENTS, type AmmoCore, type AmmoDef, type AmmoJacket, type AmmoKind, type AmmoLoad, type AmmoPenetration, type AmmoQualityDef, type Arsenal, type ArsenalOptions, type AttachmentDef, type AttachmentId, type AttachmentInstall, type AttachmentKind, type BlastEffect, CALIBERS, type CaliberDef, type CaliberId, type CanFit, type CanFitContext, type CartridgeDims, type CaseType, type ConditionDef, DEFAULT_LOADOUT, DEFAULT_RULES, type DataSource, type Detonation, EXPLOSIVES, type EffectCondition, ExplosiveBody, type ExplosiveBodyInit, type ExplosiveChain, type ExplosiveDef, type ExplosiveEvent, type ExplosiveId, type ExplosiveLeak, type ExplosiveShell, type ExplosiveSmoke, type ExplosiveTrigger, type ExplosiveTripwire, type FaultContext, type FaultId, type FireMode, type FirearmAction, type FitOptions, type FitRefusal, type FitResult, type FittedAttachment, GALLERY_HEAT, type IsCompatible, type Loadout, type LoadoutContext, MUZZLE_SMOKE, type MountDef, type MountKind, type MuzzleSmokeParams, type MuzzleSmokeProfile, type MuzzleSmokeProfileId, RELOAD_STAGES, type ReloadFamily, type ReloadKind, type ReloadRequest, type ReloadStage, type ReloadStageId, type RimType, type RoundsToWarningParams, type StatModifier, type StockDef, type StockState, type SurfaceProbe, type TriggerResult, type TripwireSegment, WEAPONS, WEAPON_MENU_GROUPS, type WeaponAction, type WeaponCategory, type WeaponDef, type WeaponDimensions, type WeaponEvent, type WeaponId, type WeaponMenuEntry, type WeaponMenuGroup, type WeaponMenuGroupDef, type WeaponMenuOptions, type WeaponMenuSection, type WeaponPatch, type WeaponPhase, type WeaponRules, type WeaponSnapshot, type WeaponStance, type WeaponStat, type WeaponState, type WeaponTimings, type WeaponsLocale, type WeaponsStrings, aimZoomOf, ammoId, ammoIgnition, backblastEffect, barrelMassOf, blastEffect, canDualWield, canFit, canInstallWith, checkArsenal, coolingTimeConstant, createArsenal, createExplosiveBody, createRng, decayHeat, genericWeapons, locales, muzzleEnergy, muzzleSmokeOf, nominalFuse, realLoadout, resolveLoad, resolveLoadout, resolveStrings, roundsToWarning, roundsToWarningOf, sampleFuse, tripwireSegment, weaponMenu };
|