@adatechnology/game-vfx 0.3.0 → 0.4.1

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/dist/index.js CHANGED
@@ -3173,6 +3173,17 @@ var FUEL_LEAK = {
3173
3173
  ])
3174
3174
  ]
3175
3175
  };
3176
+ var FUEL_LEAK_ONLY = {
3177
+ id: "fuel_leak_only",
3178
+ pageId: "vazamento",
3179
+ team: "vehicles",
3180
+ budget: { particles: 200, lights: 0 },
3181
+ loop: 11,
3182
+ view: FUEL_LEAK.view,
3183
+ setup: FUEL_LEAK.setup,
3184
+ timeline: [decal(POOL[0], 0, POOL[2], 2.2, 2040368, { grow: 3, life: 60, ar: 0.6, fluid: "oil" })],
3185
+ tick: [emit("drip", "normal", 12, { p: TANK, box: [0.05, 0, 0.05], sp: 0, life: 1, size: 0.03, c0: 5921402, a: 0.9, g: 9.8, fi: 0, gnd: 1 })]
3186
+ };
3176
3187
 
3177
3188
  // src/effects/vehicles/car-explosion.ts
3178
3189
  var CAR_EXPLOSION = {
@@ -3546,6 +3557,8 @@ var EVENT_EFFECTS = [
3546
3557
  // src/effects/weapons/viewmodel.ts
3547
3558
  var PI = Math.PI;
3548
3559
  var SMOKE = { color: 9079430, width: 10, height: 8, gravity: -0.08, drag: 2.2, growth: 2.1 };
3560
+ var DEFAULT_SMOKE = { puffs: 2, radius: 0.01, opacity: 0.14, life: 0.7, drift: 0.2, rise: 0.06, growth: 2.1, flash: 1 };
3561
+ var DEFAULT_SPREAD = { drift: 0.1, rise: 0.04, side: 0.06 };
3549
3562
  var FLASH_SECONDS = 0.055;
3550
3563
  var FLASH_RAMP = [0.6, 0.9];
3551
3564
  var FLASH_OPACITY = 0.95;
@@ -3553,8 +3566,10 @@ var FLAME_COLORS = [16742946, 16760896, 13121050, 16773296];
3553
3566
  var FLAME_ADDITIVE = 3;
3554
3567
  var ORIGIN2 = [0, 0, 0];
3555
3568
  var SIZE = variable("size");
3569
+ var FLASH_SCALE = variable("flash");
3570
+ var fallback = (name, defaultValue) => ite(ne(variable(name), void 0), variable(name), defaultValue);
3556
3571
  var wide = (width) => mul(sub(rand(), 0.5), width);
3557
- var puff2 = (point, velocity, world, radius, life, opacity) => mesh({
3572
+ var puff2 = (point, velocity, world, radius, life, opacity, growth = SMOKE.growth) => mesh({
3558
3573
  shape: "sphere",
3559
3574
  p: point,
3560
3575
  v: velocity,
@@ -3569,7 +3584,7 @@ var puff2 = (point, velocity, world, radius, life, opacity) => mesh({
3569
3584
  lit: true,
3570
3585
  g: SMOKE.gravity,
3571
3586
  drag: SMOKE.drag,
3572
- grow: SMOKE.growth
3587
+ grow: growth
3573
3588
  });
3574
3589
  var flameBit = (point, velocity, world, radius, life) => [
3575
3590
  set("bitPoint", point),
@@ -3602,37 +3617,55 @@ var MUZZLE_FLASH2 = {
3602
3617
  id: "viewmodel_muzzle_flash",
3603
3618
  pageId: "event:viewmodel_muzzle_flash",
3604
3619
  team: "weapons",
3605
- budget: { particles: 12, lights: 1 },
3620
+ budget: { particles: 14, lights: 1 },
3606
3621
  loop: 0.1,
3622
+ setup: [
3623
+ set("size", fallback("size", 1)),
3624
+ set("puffs", fallback("puffs", DEFAULT_SMOKE.puffs)),
3625
+ set("radius", fallback("radius", DEFAULT_SMOKE.radius)),
3626
+ set("opacity", fallback("opacity", DEFAULT_SMOKE.opacity)),
3627
+ set("life", fallback("life", DEFAULT_SMOKE.life)),
3628
+ set("drift", fallback("drift", DEFAULT_SMOKE.drift)),
3629
+ set("rise", fallback("rise", DEFAULT_SMOKE.rise)),
3630
+ set("growth", fallback("growth", DEFAULT_SMOKE.growth)),
3631
+ set("flash", fallback("flash", DEFAULT_SMOKE.flash)),
3632
+ set("driftSpread", fallback("driftSpread", DEFAULT_SPREAD.drift)),
3633
+ set("riseSpread", fallback("riseSpread", DEFAULT_SPREAD.rise)),
3634
+ set("sideSpread", fallback("sideSpread", DEFAULT_SPREAD.side)),
3635
+ set("lifeSpread", ite(ne(variable("lifeSpread"), void 0), variable("lifeSpread"), mul(variable("life"), 0.3)))
3636
+ ],
3607
3637
  timeline: [
3608
3638
  set("angles", []),
3609
3639
  repeat(4, append("angles", add(div(mul(INDEX, PI), 2), mul(rand(), 0.6)))),
3610
3640
  set("roll", mul(rand(), PI)),
3611
- flash(ORIGIN2, 16756832, mul(4, SIZE), FLASH_SECONDS, mul(2, SIZE), true, true),
3612
- flashPiece("cone_open", mul(0.013, SIZE), mul(0.085, SIZE), 10, [mul(0.042, SIZE), 0, 0], [0, 0, -PI / 2], 16757575),
3613
- repeat(
3614
- 4,
3615
- set("angle", pick(variable("angles"), INDEX)),
3616
- flashPiece(
3617
- "cone",
3618
- mul(5e-3, SIZE),
3619
- mul(0.04, SIZE),
3620
- 6,
3621
- [mul(0.012, SIZE), mul(cos(variable("angle")), 0.016, SIZE), mul(sin(variable("angle")), 0.016, SIZE)],
3622
- [variable("angle"), 0, -PI / 2],
3623
- 16757575
3624
- )
3625
- ),
3626
- flashPiece("sphere", mul(0.016, SIZE), void 0, 12, [mul(8e-3, SIZE), 0, 0], [0, 0, 0], 16773568),
3641
+ when(gt(FLASH_SCALE, 0), [
3642
+ flash(ORIGIN2, 16756832, mul(4, SIZE, FLASH_SCALE), FLASH_SECONDS, mul(2, SIZE, FLASH_SCALE), true, true),
3643
+ flashPiece("cone_open", mul(0.013, SIZE, FLASH_SCALE), mul(0.085, SIZE, FLASH_SCALE), 10, [mul(0.042, SIZE, FLASH_SCALE), 0, 0], [0, 0, -PI / 2], 16757575),
3644
+ repeat(
3645
+ 4,
3646
+ set("angle", pick(variable("angles"), INDEX)),
3647
+ flashPiece(
3648
+ "cone",
3649
+ mul(5e-3, SIZE, FLASH_SCALE),
3650
+ mul(0.04, SIZE, FLASH_SCALE),
3651
+ 6,
3652
+ [mul(0.012, SIZE, FLASH_SCALE), mul(cos(variable("angle")), 0.016, SIZE, FLASH_SCALE), mul(sin(variable("angle")), 0.016, SIZE, FLASH_SCALE)],
3653
+ [variable("angle"), 0, -PI / 2],
3654
+ 16757575
3655
+ )
3656
+ ),
3657
+ flashPiece("sphere", mul(0.016, SIZE, FLASH_SCALE), void 0, 12, [mul(8e-3, SIZE, FLASH_SCALE), 0, 0], [0, 0, 0], 16773568)
3658
+ ]),
3627
3659
  repeat(
3628
- 6,
3660
+ variable("puffs"),
3629
3661
  puff2(
3630
3662
  ORIGIN2,
3631
- [add(0.15, mul(rand(), 0.35)), add(0.03, mul(rand(), 0.12)), mul(sub(rand(), 0.5), 0.14)],
3663
+ [add(variable("drift"), mul(rand(), variable("driftSpread"))), add(variable("rise"), mul(rand(), variable("riseSpread"))), mul(sub(rand(), 0.5), variable("sideSpread"))],
3632
3664
  [0, 0, 0],
3633
- mul(0.013, SIZE),
3634
- add(1.3, mul(rand(), 0.6)),
3635
- 0.45
3665
+ mul(variable("radius"), SIZE),
3666
+ add(variable("life"), mul(rand(), variable("lifeSpread"))),
3667
+ variable("opacity"),
3668
+ variable("growth")
3636
3669
  )
3637
3670
  )
3638
3671
  ]
@@ -3688,8 +3721,10 @@ var VEHICLE_EFFECTS = [
3688
3721
  aliasOf(ENGINE_SMOKE, "vehicle_fire", { params: { id: "condition", options: ["100", "60", "30", "10"], default: 3 }, loop: 12 }),
3689
3722
  /** The exhaust of a car under way: `engine_smoke` in the best condition, for half a second so a moving car asks again. */
3690
3723
  aliasOf(ENGINE_SMOKE, "vehicle_exhaust", { params: { id: "condition", options: ["100", "60", "30", "10"], default: 0 }, loop: 0.5 }),
3691
- /** A hole in the tank: the page's own petrol leak (drips, pool, sparks, fire running to the tank). */
3692
- aliasOf(FUEL_LEAK, "vehicle_leak", {})
3724
+ /** A hole in the tank: the page's petrol leak without the fire and the blast (the pool and the drips). A normal bullet does only this. */
3725
+ aliasOf(FUEL_LEAK_ONLY, "vehicle_leak", {}),
3726
+ /** The leak caught fire (an incendiary or tracer round, a spark, a fire near): the page's whole sequence, the fire running along the pool to the tank and the blast. */
3727
+ aliasOf(FUEL_LEAK, "vehicle_leak_ignited", {})
3693
3728
  ];
3694
3729
 
3695
3730
  // src/effects/catalog.ts
@@ -7493,7 +7528,7 @@ var en = {
7493
7528
  blood_hit: {
7494
7529
  name: "Blood by infection age",
7495
7530
  short: "A mist on the way in, a jet on the way out, a pool that grows. Age changes colour and amount.",
7496
- cost: "\u2264 70 part.",
7531
+ cost: "\u2264 70 particles",
7497
7532
  costNote: "1 pool \xB7 6 splashes",
7498
7533
  paramLabel: "Age",
7499
7534
  when: "Every bullet or blow that hits a zombie. The blood value comes from the bestiary age: 1.0 \xB7 0.7 \xB7 0.35 \xB7 0.1.",
@@ -7504,7 +7539,7 @@ var en = {
7504
7539
  headshot: {
7505
7540
  name: "Headshot",
7506
7541
  short: "The head bursts, the eyes go out on the same frame and the body drops.",
7507
- cost: "\u2264 70 part.",
7542
+ cost: "\u2264 70 particles",
7508
7543
  costNote: "8 debris \xB7 1 pool",
7509
7544
  when: "A head hit that kills (bestiary rule: a head kills at once).",
7510
7545
  look: "A red mist around the head, a jet of drops backwards, 6 to 8 pieces of bone and skin, a swap to the burst-neck mesh. The eye glow goes out on the same frame, which is the most readable signal from afar.",
@@ -7514,7 +7549,7 @@ var en = {
7514
7549
  dismember: {
7515
7550
  name: "Dismemberment",
7516
7551
  short: "The arm comes off whole with physics and the shoulder gushes for half a second.",
7517
- cost: "\u2264 60 part.",
7552
+ cost: "\u2264 60 particles",
7518
7553
  costNote: "1 limb \xB7 4 splashes",
7519
7554
  when: "Damage to a limb above the threshold (multipliers by region from the bestiary) or an axe blow.",
7520
7555
  look: "The limb becomes a loose piece with physics and bounces. A short pulsing jet from the shoulder, drops that form a trail to the pool. The zombie staggers but keeps walking.",
@@ -7524,7 +7559,7 @@ var en = {
7524
7559
  bloater_cloud: {
7525
7560
  name: "Bloater cloud",
7526
7561
  short: "The belly pulses for 0.5 s, bursts and leaves 4 m of gas for 8 s.",
7527
- cost: "\u2264 180 part.",
7562
+ cost: "\u2264 180 particles",
7528
7563
  costNote: "server entity",
7529
7564
  when: "Death of the Bloater, by any cause.",
7530
7565
  look: "A 0.5 s warning with the belly swelling, a burst with pieces and a greenish jet, and a low moss-green cloud that undulates on the ground for 8 s. Loose green glows inside the cloud mark the area.",
@@ -7534,7 +7569,7 @@ var en = {
7534
7569
  screamer_shriek: {
7535
7570
  name: "Screamer shriek",
7536
7571
  short: "A 1.5 s wind-up with steam, a wave on the ground and the horde's eyes light up.",
7537
- cost: "\u2264 150 part.",
7572
+ cost: "\u2264 150 particles",
7538
7573
  costNote: "3 rings \xB7 aberration",
7539
7574
  when: "The Screamer spots the player and starts the shriek (1.5 s wind-up, calls everyone within 150 m).",
7540
7575
  look: "Head back and steam from the mouth during the wind-up. On the shriek, three pressure rings on the ground, dust raised in the radius, a short chromatic aberration on the screen of whoever is near, and the eyes of nearby zombies flare when they hear.",
@@ -7554,7 +7589,7 @@ var en = {
7554
7589
  corpse_decay: {
7555
7590
  name: "Corpse: darken and dissolve",
7556
7591
  short: "15 minutes in 8 seconds: fall, darken, flies and turn to dust.",
7557
- cost: "\u2264 40 part.",
7592
+ cost: "\u2264 40 particles",
7558
7593
  costNote: "pool of 400 bodies",
7559
7594
  when: "Zombie death. Bestiary timeline: ragdoll 3 s, frozen mesh, darken, dissolve between 14 and 15 min.",
7560
7595
  look: "The skin loses colour until almost black, the pool dries to brown, flies appear from minute 5 and in the last minute the body sinks and gives off dark dust.",
@@ -7564,7 +7599,7 @@ var en = {
7564
7599
  reanimation: {
7565
7600
  name: "Reanimation",
7566
7601
  short: "Veins light up, spasms, the eyes switch on and the body gets up.",
7567
- cost: "\u2264 30 part.",
7602
+ cost: "\u2264 30 particles",
7568
7603
  costNote: "emissive in the shader",
7569
7604
  when: "End of infection of a player or NPC: reanimates in 2 to 6 min as Fresh (70% Slow, 30% Runner).",
7570
7605
  look: "Green pulses through the skin (emissive in the shader, not particles), spasms in the arms and head, the eyes light up from the inside out and the body stands. Breath as steam on the first shriek.",
@@ -7574,7 +7609,7 @@ var en = {
7574
7609
  muzzle_flash: {
7575
7610
  name: "Muzzle flash",
7576
7611
  short: "Core, petals and smoke scaled by weapon. The Barrett raises dust.",
7577
- cost: "\u2264 60 part.",
7612
+ cost: "\u2264 60 particles",
7578
7613
  costNote: "1 light \xB7 50 ms",
7579
7614
  paramLabel: "Weapon",
7580
7615
  when: "Every shot. In first person it uses the weapon model; from afar it is only the core sprite.",
@@ -7585,7 +7620,7 @@ var en = {
7585
7620
  impact: {
7586
7621
  name: "Impact by material",
7587
7622
  short: "Concrete, metal, wood, glass, flesh and water: each with its own response.",
7588
- cost: "\u2264 40 part.",
7623
+ cost: "\u2264 40 particles",
7589
7624
  costNote: "1 hole",
7590
7625
  paramLabel: "Material",
7591
7626
  when: "Every bullet that hits something. The material comes from the mesh surface tag.",
@@ -7596,7 +7631,7 @@ var en = {
7596
7631
  penetration: {
7597
7632
  name: "Bullet through the horde",
7598
7633
  short: "Barrett tracer passing through 5 zombies, in 10x slow motion.",
7599
- cost: "\u2264 250 part.",
7634
+ cost: "\u2264 250 particles",
7600
7635
  costNote: "aggregate event",
7601
7636
  when: "Weapon with penetration: the AK goes through 2, the Remington 700 through 3, the Barrett through 6 and cars.",
7602
7637
  look: "A tracer with a hot-air trail, blood exiting each body in the order the bullet passes (each in the colour of its age), bodies falling one after another and a final impact on the concrete.",
@@ -7616,7 +7651,7 @@ var en = {
7616
7651
  molotov: {
7617
7652
  name: "Molotov cocktail",
7618
7653
  short: "A lit wick in the arc, glass breaking and a pool of fire that spreads.",
7619
- cost: "\u2264 300 part.",
7654
+ cost: "\u2264 300 particles",
7620
7655
  costNote: "2 lights \xB7 entity",
7621
7656
  when: "A molotov hitting the ground or a zombie.",
7622
7657
  look: "A bottle in an arc with the wick giving off flame and smoke. On impact, green shards and a splash of fire that opens from 0.5 m to 2.2 m in 0.8 s. Low flames, embers, dark smoke and a flickering light for 6 s, then embers and a burn mark.",
@@ -7626,7 +7661,7 @@ var en = {
7626
7661
  grenade: {
7627
7662
  name: "Fragmentation grenade",
7628
7663
  short: "A bounce on the asphalt, flash, shock wave, shrapnel and a ring of dust.",
7629
- cost: "\u2264 400 part.",
7664
+ cost: "\u2264 400 particles",
7630
7665
  costNote: "aggregate event",
7631
7666
  when: "A grenade exploding (1.8 s fuse after the throw).",
7632
7667
  look: "The grenade bounces twice. A layered explosion: a white flash that paints the screen, a short fireball, a shock ring on the ground and another facing the camera, bright shrapnel that bounces, a ring of low dust, grey smoke that rises and a burn mark. Zombies in the radius fall outwards.",
@@ -7636,7 +7671,7 @@ var en = {
7636
7671
  explosive_barrel: {
7637
7672
  name: "Explosive barrel",
7638
7673
  short: "A mushroom of fire, the lid flying, petrol burning on the ground and a column of smoke.",
7639
- cost: "\u2264 450 part.",
7674
+ cost: "\u2264 450 particles",
7640
7675
  costNote: "2 lights \xB7 fire entity",
7641
7676
  when: "A red barrel with damage above the threshold, a shot or fire touching it.",
7642
7677
  look: "Everything the grenade does, plus: a fireball that rises into a mushroom, the lid and red pieces flying high, three pools of petrol burning for 5 s and a black smoke column that serves as a landmark from afar.",
@@ -7656,7 +7691,7 @@ var en = {
7656
7691
  door_stages: {
7657
7692
  name: "Door giving way in 3 stages",
7658
7693
  short: "Blows shake dust from the frame, a plank cracks and the door falls.",
7659
- cost: "\u2264 120 part.",
7694
+ cost: "\u2264 120 particles",
7660
7695
  costNote: "3 stages",
7661
7696
  when: "The horde hitting a door or barricade (the Brute does 3x damage). Stages: 66%, 33%, 0% health.",
7662
7697
  look: "Each blow shakes the door and loosens dust from the frame and splinters. At stage 2 the middle plank cracks and falls. At 3 the door topples and raises a cloud of low dust, and the zombie comes out of the dark.",
@@ -7666,7 +7701,7 @@ var en = {
7666
7701
  building_collapse: {
7667
7702
  name: "Collapse",
7668
7703
  short: "Dust trickling from the awning, blocks falling and a cloud of dust rolling down the street.",
7669
- cost: "\u2264 350 part.",
7704
+ cost: "\u2264 350 particles",
7670
7705
  costNote: "26 debris",
7671
7706
  when: "A structure that loses its health: explosion, vehicle impact, a big horde pushing (destruction of the map buildings).",
7672
7707
  look: "Before: fine dust trickling and pebbles falling for 1 s, as a warning. Then: large and small blocks fall, the camera shakes and a cloud of grey-beige dust rolls along the ground and hangs in the air for 5 s, hiding zombies.",
@@ -7676,7 +7711,7 @@ var en = {
7676
7711
  block_wall: {
7677
7712
  name: "Wall brought down with holes",
7678
7713
  short: "A burst leaves holes and chips; the wall falls in blocks and the holes stay on them.",
7679
- cost: "\u2264 300 part.",
7714
+ cost: "\u2264 300 particles",
7680
7715
  costNote: "30 blocks \xB7 attached holes",
7681
7716
  when: "A concrete wall, low wall or barricade that loses health from shots, explosion, the Brute or a car (map and arsenal destruction).",
7682
7717
  look: "Each bullet opens a dark hole with a chipped rim, giving off dust and pebbles. When the wall gives way it splits into blocks that topple with physics and a cloud of dust rolls along the ground. The bullet holes are attached to the blocks: they stay on the fallen pieces, turned with them, and do not vanish when the wall breaks.",
@@ -7686,7 +7721,7 @@ var en = {
7686
7721
  metal_door: {
7687
7722
  name: "Metal door denting",
7688
7723
  short: "Each blow sinks the plate, flakes the paint and throws sparks; the hinge bursts.",
7689
- cost: "\u2264 160 part.",
7724
+ cost: "\u2264 160 particles",
7690
7725
  costNote: "deformable mesh",
7691
7726
  when: "A door, gate or steel plate taking a zombie blow (Brute 3x), a 12-gauge shot or a car hit.",
7692
7727
  look: "The plate sinks where it is hit (a deformed mesh, not a model swap), with 3 visible levels. Each blow gives off sparks, flakes of green paint and rust dust. When the health runs out the top hinge bursts in sparks, the door topples and scrapes on the ground giving off more sparks.",
@@ -7696,7 +7731,7 @@ var en = {
7696
7731
  iron_railing: {
7697
7732
  name: "Iron railing bending",
7698
7733
  short: "The horde pushes, the bars bow, the weld pops in a spark and the railing falls.",
7699
- cost: "\u2264 200 part.",
7734
+ cost: "\u2264 200 particles",
7700
7735
  costNote: "3 deformable bars",
7701
7736
  when: "A railing, iron gate, handrail or chain-link fence with zombies pushing (horde pressure) or a car hitting it.",
7702
7737
  look: "The bars bow gradually at the point of pressure and the vertical ones tilt with them. Rust falls in a thread during the strain. At two moments the weld pops with a crackle of sparks. At the end the middle post gives and the railing topples, leaving the bent iron on the ground.",
@@ -7706,7 +7741,7 @@ var en = {
7706
7741
  wooden_fence: {
7707
7742
  name: "Wooden fence breaking",
7708
7743
  short: "Planks snap one by one, chips and dust, and the section topples as the horde passes.",
7709
- cost: "\u2264 150 part.",
7744
+ cost: "\u2264 150 particles",
7710
7745
  costNote: "12 planks",
7711
7746
  when: "A fence, yard gate or plank barricade taking a shot, blow or horde pressure.",
7712
7747
  look: "Each plank snaps at a random point: the stump stays on the rail and the top piece flies off with chips and wood dust. The zombie appears through the gap. At the end the rail cracks and the whole section topples forward.",
@@ -7716,7 +7751,7 @@ var en = {
7716
7751
  hit_point_breakage: {
7717
7752
  name: "Breakage by the point hit",
7718
7753
  short: "A shot to the leg, a machete on the corner, a bat on the top and a 12-gauge up close: each weapon breaks the part it hit.",
7719
- cost: "\u2264 120 part.",
7754
+ cost: "\u2264 120 particles",
7720
7755
  costNote: "parts with their own health",
7721
7756
  when: "Any destructible item. The damage goes to the part that was hit, not to the whole item.",
7722
7757
  look: "A 9 mm shot to the front leg: the lower part of the leg breaks off and the table tips toward that corner. A machete on the corner of the top: the corner comes off whole in a straight cut, with chips in a line. A bat on the other corner: the top cracks and falls apart in pieces with dust. A 12-gauge up close on what is left: 9 grouped holes that stay in the wood.",
@@ -7726,7 +7761,7 @@ var en = {
7726
7761
  pressure_cylinders: {
7727
7762
  name: "Extinguisher and oxygen cylinder",
7728
7763
  short: "A shot to the extinguisher makes a white cloud and a spin; on oxygen the valve breaks and the cylinder becomes a rocket.",
7729
- cost: "\u2264 250 part.",
7764
+ cost: "\u2264 250 particles",
7730
7765
  costNote: "cloud entity",
7731
7766
  paramLabel: "Cylinder",
7732
7767
  when: "A shot, a strong blow or fire on an extinguisher, oxygen cylinder or welding cylinder (extinguisher and oxygen_cylinder keys of the map catalogue).",
@@ -7737,7 +7772,7 @@ var en = {
7737
7772
  building_fire: {
7738
7773
  name: "Building on fire",
7739
7774
  short: "Fire coming out of the windows, licking the facade, embers and smoke with the wind.",
7740
- cost: "\u2264 600 part.",
7775
+ cost: "\u2264 600 particles",
7741
7776
  costNote: "2 lights \xB7 reference",
7742
7777
  when: "A building fire (molotov, explosion, vehicle). It lasts minutes and spreads to the neighbour.",
7743
7778
  look: "Windows lit orange that flicker, tongues of fire coming out of the top of each window and climbing the facade, embers carried by the wind and a thick slanted column of smoke. The light paints the street.",
@@ -7778,7 +7813,7 @@ var en = {
7778
7813
  engine_smoke: {
7779
7814
  name: "Engine smoke",
7780
7815
  short: "White steam, grey smoke, then black with fire, depending on condition.",
7781
- cost: "\u2264 120 part.",
7816
+ cost: "\u2264 120 particles",
7782
7817
  costNote: "continuous",
7783
7818
  paramLabel: "Condition",
7784
7819
  when: "Whenever the engine is on or hot, from the part condition (0 to 100) in the fleet brief.",
@@ -7789,7 +7824,7 @@ var en = {
7789
7824
  fuel_leak: {
7790
7825
  name: "Tank leak and fire",
7791
7826
  short: "Dripping petrol, a pool, a spark and the fire running to the tank.",
7792
- cost: "\u2264 400 part.",
7827
+ cost: "\u2264 400 particles",
7793
7828
  costNote: "fire entity",
7794
7829
  when: "A tank punctured by a shot or a crash. A spark, a shot or nearby fire lights the pool.",
7795
7830
  look: "Drops of petrol with an oily sheen forming a growing pool. A shot on the metal throws a spark, the fire lights on the pool, runs to the car and, if nobody puts it out, the car explodes.",
@@ -7799,7 +7834,7 @@ var en = {
7799
7834
  car_explosion: {
7800
7835
  name: "Car explosion",
7801
7836
  short: "A fireball, the car jumping, the bonnet and doors flying, the shell burning.",
7802
- cost: "\u2264 600 part.",
7837
+ cost: "\u2264 600 particles",
7803
7838
  costNote: "rare event",
7804
7839
  when: "A tank on fire for more than 4 s, or damage above the threshold on a car with fuel.",
7805
7840
  look: "A large explosion (grenade scale 1.8), the car jumps and lands crooked, the bonnet, doors and a wheel fly off, the glass bursts into shards. The bodywork goes black and the shell burns with black smoke for minutes.",
@@ -7860,7 +7895,7 @@ var en = {
7860
7895
  bloater_blindness: {
7861
7896
  name: "Bloater blindness",
7862
7897
  short: "Green gas in the face: a blurred screen for 5 s and mucus on the lens.",
7863
- cost: "post + 30 part.",
7898
+ cost: "post + 30 particles",
7864
7899
  costNote: "server entity",
7865
7900
  when: "A player inside the Bloater cloud (radius 4 m) when it spawns.",
7866
7901
  look: "A green cloud bursts between the zombie and the camera, the screen goes green and blurred and clears in 5 s, with drops of green mucus on the lens that run down. A cough shakes the camera twice.",
@@ -7870,7 +7905,7 @@ var en = {
7870
7905
  campfire: {
7871
7906
  name: "Campsite fire",
7872
7907
  short: "A low flame, embers spiralling up and a flickering warm light.",
7873
- cost: "\u2264 120 part.",
7908
+ cost: "\u2264 120 particles",
7874
7909
  costNote: "1 fire light",
7875
7910
  when: "A campfire lit by the group or by NPCs. It warms, lights and draws zombies from afar (light).",
7876
7911
  look: "Small low flames, embers that rise turning and fade, thin smoke and a warm light that flickers and paints the survivor.",
@@ -7880,7 +7915,7 @@ var en = {
7880
7915
  cough_and_breath: {
7881
7916
  name: "Cough, breath and flashlight",
7882
7917
  short: "Breath vapour in the cold, the fever cough visible to others and the flashlight beam.",
7883
- cost: "\u2264 40 part.",
7918
+ cost: "\u2264 40 particles",
7884
7919
  costNote: "1 spot with shadow",
7885
7920
  when: "A cold night: breath always. Infection fever: a cough every few seconds, audible at 10 m.",
7886
7921
  look: "A short puff of vapour every 2.4 s. On a cough, three quick bigger puffs and the body jolts. The flashlight shows the beam in the fog and is the only light with a shadow.",