@maka/maka-cli 5.381.0 → 5.381.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/bundle/typescript/package.json +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/engine-version.js +6 -1
- package/bundle/typescript/src/commands/game/sideQuest/game.js +7 -3
- package/bundle/typescript/src/commands/game/sideQuest/types/repro.js +5 -1
- package/bundle/typescript/src/commands/game/sideQuest/utilities/repro-boot.js +12 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maka/maka-cli",
|
|
3
|
-
"version": "5.381.
|
|
3
|
+
"version": "5.381.1",
|
|
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.",
|
|
@@ -3303,5 +3303,10 @@
|
|
|
3303
3303
|
// severity), Gremlins, Scorched, Uncouth, Uneducated and Weak Immune
|
|
3304
3304
|
// System add one, Blandness takes one off. Elf Poser, Ork Poser and
|
|
3305
3305
|
// Spirit Bane have no catalog row yet.
|
|
3306
|
-
|
|
3306
|
+
// 1.193.1 (2026-10-04): A REPUTATION BENCHES (rfJGmF42kdnRw5AMT). Repro
|
|
3307
|
+
// fixture 2.10.0 takes notoriety/awareness -- a record already earned
|
|
3308
|
+
// at boot -- and the reputation game over is awaited before the
|
|
3309
|
+
// command's reply, so the banner is that step's outcome on every
|
|
3310
|
+
// client and in a dry run's transcript.
|
|
3311
|
+
export const ENGINE_VERSION = '1.193.1';
|
|
3307
3312
|
//# sourceMappingURL=engine-version.js.map
|
|
@@ -9861,7 +9861,7 @@ ${client.name} won't be remembering anything. Dead Johnsons pay nothing -- and t
|
|
|
9861
9861
|
this.gameMaster?.afterCommand();
|
|
9862
9862
|
// A quit (null) has already sealed the save; nothing ends after it.
|
|
9863
9863
|
if (res.text !== null)
|
|
9864
|
-
this.settleReputationEndings();
|
|
9864
|
+
await this.settleReputationEndings();
|
|
9865
9865
|
return res;
|
|
9866
9866
|
}
|
|
9867
9867
|
/**
|
|
@@ -9876,7 +9876,7 @@ ${client.name} won't be remembering anything. Dead Johnsons pay nothing -- and t
|
|
|
9876
9876
|
* the run goes on. Not a body on the floor, so no brink and no
|
|
9877
9877
|
* DocWagon -- neither one fixes a name.
|
|
9878
9878
|
*/
|
|
9879
|
-
settleReputationEndings() {
|
|
9879
|
+
async settleReputationEndings() {
|
|
9880
9880
|
const scene = this.scene;
|
|
9881
9881
|
if (!scene)
|
|
9882
9882
|
return;
|
|
@@ -9890,7 +9890,11 @@ ${client.name} won't be remembering anything. Dead Johnsons pay nothing -- and t
|
|
|
9890
9890
|
scene.addWorldEvent(`${p.name}'s reputation ended their career.`);
|
|
9891
9891
|
scene.markPlayerDead(p);
|
|
9892
9892
|
if (p === scene.getPlayer()) {
|
|
9893
|
-
|
|
9893
|
+
// Awaited, unlike the astral cord's sync site: the banner lands
|
|
9894
|
+
// before this command's reply, so a bench transcript and every
|
|
9895
|
+
// client read it as this step's outcome.
|
|
9896
|
+
await scene.endGame(line);
|
|
9897
|
+
announceGameOver(Logger.getInstance(), line, p.name);
|
|
9894
9898
|
}
|
|
9895
9899
|
else {
|
|
9896
9900
|
this.onPlayerDeath?.(p);
|
|
@@ -76,8 +76,12 @@ export function reproFixtureOf(repro) {
|
|
|
76
76
|
* IReproHost.owner (the room's owner, hence the host's spider,
|
|
77
77
|
* JnyuXsQCnCmn9erNL) and IReproHost.invite (hostInvite, the
|
|
78
78
|
* commlink rider's legal mark). All additive.
|
|
79
|
+
*
|
|
80
|
+
* 2.10.0 adds IReproFixture.notoriety / .awareness (a record already
|
|
81
|
+
* earned, so the game-over line at 5 benches -- rfJGmF42kdnRw5AMT).
|
|
82
|
+
* Additive.
|
|
79
83
|
*/
|
|
80
|
-
export const REPRO_SCHEMA_VERSION = '2.
|
|
84
|
+
export const REPRO_SCHEMA_VERSION = '2.10.0';
|
|
81
85
|
/** THE LIVE REASON, from the field or the card's own words.
|
|
82
86
|
*
|
|
83
87
|
* `repro.live` is authoritative -- but the server's validator must
|
|
@@ -43,6 +43,18 @@ export async function applyReproFixtureState(game, fixture, actorName = REPRO_AC
|
|
|
43
43
|
runner.takeStun(fixture.wounded.stun);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
+
// A RECORD ALREADY EARNED (fixture.notoriety / fixture.awareness): the
|
|
47
|
+
// stains go on before the first step; the reputation check then reads
|
|
48
|
+
// them after that step lands, like any other command.
|
|
49
|
+
if (fixture.notoriety || fixture.awareness) {
|
|
50
|
+
const runner = game.scene.getPlayerByName(actorName);
|
|
51
|
+
if (runner) {
|
|
52
|
+
for (let i = 0; i < (fixture.notoriety ?? 0); i++)
|
|
53
|
+
runner.addNotoriety(`a bench stain (${i + 1})`);
|
|
54
|
+
for (let i = 0; i < (fixture.awareness ?? 0); i++)
|
|
55
|
+
runner.addPublicAwareness(`a bench headline (${i + 1})`);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
46
58
|
// NUYEN (fixture.nuyen): a credstick in the pack, because money lives
|
|
47
59
|
// on a carrier item (Player.currency sums them) and the pregen has none.
|
|
48
60
|
if (fixture.nuyen && fixture.nuyen > 0) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maka/maka-cli",
|
|
3
|
-
"version": "5.381.
|
|
3
|
+
"version": "5.381.1",
|
|
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.",
|