@adatechnology/game-items-three 0.7.1 → 0.7.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 +8 -8
package/dist/index.global.js
CHANGED
|
@@ -1558,6 +1558,7 @@ var GameItemsThree = (() => {
|
|
|
1558
1558
|
}
|
|
1559
1559
|
|
|
1560
1560
|
// ../game-contracts/dist/index.js
|
|
1561
|
+
var DEFAULT_BLAST_IMPULSE = { bodyArea: 0.7, lift: 0.15, minSpeed: 0.3, tntPerJoule: 0.24 / 2e5 };
|
|
1561
1562
|
var DEFAULT_COST_ALLOCATION_BYTES = 1024 * 1024;
|
|
1562
1563
|
var DEFAULT_IGNITION_RULES = {
|
|
1563
1564
|
fillCurve: [
|
|
@@ -17214,7 +17215,7 @@ uniform mat4 uNodes[${nodes.length}]; attribute float aNodeIndex; attribute vec3
|
|
|
17214
17215
|
return;
|
|
17215
17216
|
}
|
|
17216
17217
|
if (ex) {
|
|
17217
|
-
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 } : {} });
|
|
17218
|
+
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 } : {} });
|
|
17218
17219
|
blasts.push({ point: c, energy: ex.energy, radius: ex.radius, ...ex.lethalRadius !== void 0 ? { lethalRadius: ex.lethalRadius } : {}, source: src });
|
|
17219
17220
|
}
|
|
17220
17221
|
partLost(o, p, src);
|