@adatechnology/game-floorplan-structure 2.0.1 → 2.0.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.
- package/dist/index.global.js +2 -1
- package/dist/index.global.js.map +1 -1
- package/package.json +6 -6
package/dist/index.global.js
CHANGED
|
@@ -2388,6 +2388,7 @@ var GameFloorplanStructure = (() => {
|
|
|
2388
2388
|
}
|
|
2389
2389
|
|
|
2390
2390
|
// ../game-contracts/dist/index.js
|
|
2391
|
+
var DEFAULT_BLAST_IMPULSE = { bodyArea: 0.7, lift: 0.15, minSpeed: 0.3, tntPerJoule: 0.24 / 2e5 };
|
|
2391
2392
|
var DEFAULT_COST_ALLOCATION_BYTES = 1024 * 1024;
|
|
2392
2393
|
var DEFAULT_IGNITION_RULES = {
|
|
2393
2394
|
fillCurve: [
|
|
@@ -6771,7 +6772,7 @@ var GameFloorplanStructure = (() => {
|
|
|
6771
6772
|
return;
|
|
6772
6773
|
}
|
|
6773
6774
|
if (ex) {
|
|
6774
|
-
emit({ ...base(o, src), type: "explode", part: p.spec.id, point: c, energy: ex.energy, radius: ex.radius, ...ex.lethalRadius !== void 0 ? { lethalRadius: ex.lethalRadius } : {}, ...ex.effect !== void 0 ? { effect: ex.effect } : {} });
|
|
6775
|
+
emit({ ...base(o, src), type: "explode", part: p.spec.id, point: c, energy: ex.energy, radius: ex.radius, ...ex.lethalRadius !== void 0 ? { lethalRadius: ex.lethalRadius } : {}, ...ex.tnt !== void 0 ? { tnt: ex.tnt } : {}, ...ex.effect !== void 0 ? { effect: ex.effect } : {} });
|
|
6775
6776
|
blasts.push({ point: c, energy: ex.energy, radius: ex.radius, ...ex.lethalRadius !== void 0 ? { lethalRadius: ex.lethalRadius } : {}, source: src });
|
|
6776
6777
|
}
|
|
6777
6778
|
partLost(o, p, src);
|