@maka/maka-cli 5.125.0 → 5.126.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.
- package/bundle/typescript/package.json +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/companions.js +3 -3
- package/bundle/typescript/src/commands/game/sideQuest/commands/companions.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/garage.d.ts +15 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/garage.js +55 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/garage.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/jack.js +9 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/jack.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/jump.js +3 -3
- package/bundle/typescript/src/commands/game/sideQuest/commands/jump.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/project.js +7 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/project.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/engine-version.d.ts +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/engine-version.js +7 -1
- package/bundle/typescript/src/commands/game/sideQuest/engine-version.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/game.js +3 -1
- package/bundle/typescript/src/commands/game/sideQuest/game.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/utilities/owned-drones.d.ts +8 -1
- package/bundle/typescript/src/commands/game/sideQuest/utilities/owned-drones.js +14 -1
- package/bundle/typescript/src/commands/game/sideQuest/utilities/owned-drones.js.map +1 -1
- package/package.json +1 -1
|
@@ -28,5 +28,12 @@ export interface IOwnedDrone {
|
|
|
28
28
|
export declare function ownedDrones(actor: Player, homeRoom: Room | undefined, opts: {
|
|
29
29
|
reach: 'here' | 'owned';
|
|
30
30
|
}): IOwnedDrone[];
|
|
31
|
-
/** "Fly-Spy, Steel Lynx (garage)" -- for refusals
|
|
31
|
+
/** "Fly-Spy, Steel Lynx (garage)" -- for one-line refusals. */
|
|
32
32
|
export declare function describeDroneList(list: IOwnedDrone[]): string;
|
|
33
|
+
/**
|
|
34
|
+
* The picker, as a LIST (user ask 2026-09-06: "can those be in list
|
|
35
|
+
* form, rather than just a long string?"). One frame per line with where
|
|
36
|
+
* it sits and its hull, so nine drones read as a menu rather than a
|
|
37
|
+
* sentence. Returns the lines; the verb adds its own question and hint.
|
|
38
|
+
*/
|
|
39
|
+
export declare function droneListLines(list: IOwnedDrone[]): string[];
|
|
@@ -17,8 +17,21 @@ export function ownedDrones(actor, homeRoom, opts) {
|
|
|
17
17
|
}
|
|
18
18
|
return out;
|
|
19
19
|
}
|
|
20
|
-
/** "Fly-Spy, Steel Lynx (garage)" -- for refusals
|
|
20
|
+
/** "Fly-Spy, Steel Lynx (garage)" -- for one-line refusals. */
|
|
21
21
|
export function describeDroneList(list) {
|
|
22
22
|
return list.map(d => `${d.item.name}${d.where === 'garage' ? ' (garage)' : ''}`).join(', ');
|
|
23
23
|
}
|
|
24
|
+
/**
|
|
25
|
+
* The picker, as a LIST (user ask 2026-09-06: "can those be in list
|
|
26
|
+
* form, rather than just a long string?"). One frame per line with where
|
|
27
|
+
* it sits and its hull, so nine drones read as a menu rather than a
|
|
28
|
+
* sentence. Returns the lines; the verb adds its own question and hint.
|
|
29
|
+
*/
|
|
30
|
+
export function droneListLines(list) {
|
|
31
|
+
return list.map(d => {
|
|
32
|
+
const hull = d.item.maxDroneBoxes > 0 ? ` hull ${d.item.droneSummary()}` : '';
|
|
33
|
+
const state = d.item.isWrecked ? ' WRECKED' : '';
|
|
34
|
+
return ` • ${d.item.name.padEnd(26)} ${d.where === 'garage' ? 'garage' : 'pack'}${hull}${state}`;
|
|
35
|
+
});
|
|
36
|
+
}
|
|
24
37
|
//# sourceMappingURL=owned-drones.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"owned-drones.js","sourceRoot":"","sources":["../../../../../../../src/commands/game/sideQuest/utilities/owned-drones.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AA4B1D,MAAM,UAAU,WAAW,CACzB,KAAa,EACb,QAA0B,EAC1B,IAAiC;IAEjC,MAAM,GAAG,GAAkB,KAAK,CAAC,SAAS,CAAC,WAAW,EAAE;SACrD,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;SACxB,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,MAAe,EAAE,CAAC,CAAC,CAAC;IACnD,IAAI,CAAC,QAAQ;QAAE,OAAO,GAAG,CAAC;IAC1B,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,KAAK,OAAO,IAAI,KAAK,CAAC,eAAe,KAAK,QAAQ,CAAC;IAC5E,IAAI,CAAC,MAAM;QAAE,OAAO,GAAG,CAAC;IACxB,MAAM,MAAM,GAAG,UAAU,CAAC,QAAQ,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IAChD,IAAI,CAAC,MAAM;QAAE,OAAO,GAAG,CAAC;IACxB,KAAK,MAAM,IAAI,IAAI,MAAM,CAAC,SAAS,CAAC,WAAW,EAAE,EAAE,CAAC;QAClD,IAAI,IAAI,CAAC,OAAO,EAAE;YAAE,GAAG,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,CAAC;IAC1D,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC;AAED
|
|
1
|
+
{"version":3,"file":"owned-drones.js","sourceRoot":"","sources":["../../../../../../../src/commands/game/sideQuest/utilities/owned-drones.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AA4B1D,MAAM,UAAU,WAAW,CACzB,KAAa,EACb,QAA0B,EAC1B,IAAiC;IAEjC,MAAM,GAAG,GAAkB,KAAK,CAAC,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,GAAG,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC/E,MAAM,KAAK,GAAG,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC;QAClD,OAAO,OAAO,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,GAAG,IAAI,GAAG,KAAK,EAAE,CAAC;IACpG,CAAC,CAAC,CAAC;AACL,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maka/maka-cli",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.126.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"summary": "A command line tool for scaffolding Meteor 2.x applications using either React.",
|
|
6
6
|
"description": "A command line tool for scaffolding Meteor 2.x applications using React.",
|