@maka/maka-cli 5.221.0 → 5.222.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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maka/maka-cli",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.222.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"summary": "A command line tool for scaffolding Meteor 3.x applications using either React.",
|
|
6
6
|
"description": "A command line tool for scaffolding Meteor 3.x applications using React.",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { rollPool, formatRoll } from './dice.js';
|
|
2
2
|
import { deviceDefensePool } from './matrix-intrusion.js';
|
|
3
|
-
import { isWatched
|
|
3
|
+
import { isWatched } from './surveillance.js';
|
|
4
4
|
import { DEFAULT_DEVICE_RATING } from '../models/device.js';
|
|
5
5
|
function hiddenDevice(device) {
|
|
6
6
|
return {
|
|
@@ -34,17 +34,25 @@ export function hiddenIconsIn(scene, room, viewer) {
|
|
|
34
34
|
.map(hiddenDevice);
|
|
35
35
|
// THE CAMERAS, which p.217 names FIRST. They are not a Device -- the
|
|
36
36
|
// cluster is derived from the room (surveillance.ts isWatched) -- so
|
|
37
|
-
// they hide on the room's own set and
|
|
38
|
-
// rating
|
|
39
|
-
//
|
|
40
|
-
//
|
|
41
|
-
//
|
|
37
|
+
// they hide on the room's own set, and they hide behind their OWN
|
|
38
|
+
// rating: an ordinary fixture, which canon prices at 2 (p.356).
|
|
39
|
+
//
|
|
40
|
+
// THE FIRST CUT GAVE THEM THEIR MASTER HOST'S RATING and that was
|
|
41
|
+
// wrong twice over. Canon first: p.233's slaving rule is about what a
|
|
42
|
+
// slave DEFENDS AN ATTACK with -- "whenever a slaved device is called
|
|
43
|
+
// on to make a defense test" -- and hiding is not an attack being
|
|
44
|
+
// defended. Borrowing the host's numbers here was an extrapolation
|
|
45
|
+
// with nothing under it, which is exactly what this project's rule
|
|
46
|
+
// against inventing canon is for. And then arithmetic: a rating-8
|
|
47
|
+
// host gave its lenses 16 dice against a sweep the Data Processing
|
|
48
|
+
// limit caps near 5, so a camera on any corporate host was not hard
|
|
49
|
+
// to find, it was impossible. Measured before shipping the fix --
|
|
50
|
+
// zero finds in twelve looks.
|
|
42
51
|
if (isWatched(room) && !room.camerasSpottedBy.has(viewer.name)) {
|
|
43
|
-
const
|
|
44
|
-
const rating = master?.hostRating ?? DEFAULT_DEVICE_RATING.lock ?? 2;
|
|
52
|
+
const rating = DEFAULT_DEVICE_RATING.lock ?? 2;
|
|
45
53
|
out.push({
|
|
46
54
|
name: 'Camera cluster',
|
|
47
|
-
hide: { pool: Math.max(0, rating * 2), label:
|
|
55
|
+
hide: { pool: Math.max(0, rating * 2), label: 'Device Rating' },
|
|
48
56
|
reveal: (v) => { room.camerasSpottedBy.add(v); },
|
|
49
57
|
});
|
|
50
58
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maka/maka-cli",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.222.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"summary": "A command line tool for scaffolding Meteor 3.x applications using either React.",
|
|
6
6
|
"description": "A command line tool for scaffolding Meteor 3.x applications using React.",
|