@adatechnology/game-destruction-three 0.3.0 → 0.3.2

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.
@@ -3475,6 +3475,14 @@ void main() {
3475
3475
  this.sound("ignite", ev.point, 0.7);
3476
3476
  this.sound("burn_loop", ev.point, 0.5);
3477
3477
  break;
3478
+ case "primed":
3479
+ if (ev.trigger !== "explosion") {
3480
+ this.fires.set(`${ev.object}|${ev.part}`, { object: ev.object, part: ev.part, point: ev.point, accFire: 0, accSmoke: 0 });
3481
+ this.activate(ev.object, ev.part);
3482
+ this.particles.burst("fire", ev.point, [0, 1, 0], 6, 1);
3483
+ this.sound("ignite", ev.point, 0.7);
3484
+ }
3485
+ break;
3478
3486
  case "extinguish": {
3479
3487
  const f = this.fires.get(`${ev.object}|${ev.part}`);
3480
3488
  if (f) {