@maka/maka-cli 5.6.0 → 5.8.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 +2 -2
- package/bundle/typescript/src/commands/_index.d.ts +4 -0
- package/bundle/typescript/src/commands/_index.js +4 -0
- package/bundle/typescript/src/commands/_index.js.map +1 -1
- package/bundle/typescript/src/commands/debug.js +1 -7
- package/bundle/typescript/src/commands/debug.js.map +1 -1
- package/bundle/typescript/src/commands/deploy/ubuntu.sub.cmd.js +33 -32
- package/bundle/typescript/src/commands/deploy/ubuntu.sub.cmd.js.map +1 -1
- package/bundle/typescript/src/commands/env/_index.d.ts +3 -0
- package/bundle/typescript/src/commands/env/_index.js +4 -0
- package/bundle/typescript/src/commands/env/_index.js.map +1 -0
- package/bundle/typescript/src/commands/env/env.command.d.ts +3 -0
- package/bundle/typescript/src/commands/env/env.command.js +22 -0
- package/bundle/typescript/src/commands/env/env.command.js.map +1 -0
- package/bundle/typescript/src/commands/env/get.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/env/get.sub.cmd.js +46 -0
- package/bundle/typescript/src/commands/env/get.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/env/prompt-for-env.d.ts +10 -0
- package/bundle/typescript/src/commands/env/prompt-for-env.js +27 -0
- package/bundle/typescript/src/commands/env/prompt-for-env.js.map +1 -0
- package/bundle/typescript/src/commands/env/set.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/env/set.sub.cmd.js +59 -0
- package/bundle/typescript/src/commands/env/set.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/archetypes.d.ts +16 -0
- package/bundle/typescript/src/commands/game/sideQuest/archetypes.js +81 -2
- package/bundle/typescript/src/commands/game/sideQuest/archetypes.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/augmentations.d.ts +31 -0
- package/bundle/typescript/src/commands/game/sideQuest/augmentations.js +125 -0
- package/bundle/typescript/src/commands/game/sideQuest/augmentations.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/advance.d.ts +17 -7
- package/bundle/typescript/src/commands/game/sideQuest/commands/advance.js +113 -15
- package/bundle/typescript/src/commands/game/sideQuest/commands/advance.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/ask.d.ts +37 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/ask.js +197 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/ask.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/assense.js +3 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/assense.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/attack.js +21 -11
- package/bundle/typescript/src/commands/game/sideQuest/commands/attack.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/bluff.d.ts +3 -2
- package/bundle/typescript/src/commands/game/sideQuest/commands/bluff.js +13 -5
- package/bundle/typescript/src/commands/game/sideQuest/commands/bluff.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/brandish.js +7 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/brandish.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/buy.d.ts +16 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/buy.js +97 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/buy.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/bypass-command.d.ts +21 -10
- package/bundle/typescript/src/commands/game/sideQuest/commands/bypass-command.js +41 -27
- package/bundle/typescript/src/commands/game/sideQuest/commands/bypass-command.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/call.d.ts +6 -7
- package/bundle/typescript/src/commands/game/sideQuest/commands/call.js +54 -20
- package/bundle/typescript/src/commands/game/sideQuest/commands/call.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/cast.d.ts +35 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/cast.js +306 -55
- package/bundle/typescript/src/commands/game/sideQuest/commands/cast.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/companions.d.ts +33 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/companions.js +137 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/companions.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/contacts.d.ts +13 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/contacts.js +37 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/contacts.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/drink.d.ts +14 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/drink.js +15 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/drink.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/drone.js +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/drone.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/drop.js +7 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/drop.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/eat.d.ts +14 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/eat.js +15 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/eat.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/edge.js +10 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/edge.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/equip.js +3 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/equip.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/give.js +101 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/give.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/go.d.ts +6 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/go.js +67 -22
- package/bundle/typescript/src/commands/game/sideQuest/commands/go.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/hack.js +15 -7
- package/bundle/typescript/src/commands/game/sideQuest/commands/hack.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/haggle.js +58 -2
- package/bundle/typescript/src/commands/game/sideQuest/commands/haggle.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/initiate.d.ts +26 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/initiate.js +125 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/initiate.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/install.d.ts +21 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/install.js +125 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/install.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/jump.d.ts +16 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/jump.js +83 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/jump.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/lifestyle.d.ts +16 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/lifestyle.js +76 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/lifestyle.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/lock.js +4 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/lock.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/look.js +7 -6
- package/bundle/typescript/src/commands/game/sideQuest/commands/look.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/order.d.ts +19 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/order.js +151 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/order.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/pay.d.ts +13 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/pay.js +39 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/pay.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/persuade.js +5 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/persuade.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/pick.js +6 -3
- package/bundle/typescript/src/commands/game/sideQuest/commands/pick.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/quality-trade.d.ts +21 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/quality-trade.js +121 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/quality-trade.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/rest.js +60 -12
- package/bundle/typescript/src/commands/game/sideQuest/commands/rest.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/say.js +27 -10
- package/bundle/typescript/src/commands/game/sideQuest/commands/say.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/search.js +15 -4
- package/bundle/typescript/src/commands/game/sideQuest/commands/search.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/sell.d.ts +17 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/sell.js +125 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/sell.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/sheet.js +36 -3
- package/bundle/typescript/src/commands/game/sideQuest/commands/sheet.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/sneak.js +9 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/sneak.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/spells.js +27 -4
- package/bundle/typescript/src/commands/game/sideQuest/commands/spells.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/stance.js +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/stance.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/summon.d.ts +19 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/summon.js +112 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/summon.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/take.js +8 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/take.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/treat.d.ts +14 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/treat.js +67 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/treat.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/unlock.js +7 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/unlock.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/use.d.ts +29 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/use.js +118 -11
- package/bundle/typescript/src/commands/game/sideQuest/commands/use.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/work.d.ts +15 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/work.js +68 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/work.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/factories/item-factory.js +2 -1
- package/bundle/typescript/src/commands/game/sideQuest/factories/item-factory.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/factories/scene-chunks.d.ts +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/factories/scene-chunks.js +132 -5
- package/bundle/typescript/src/commands/game/sideQuest/factories/scene-chunks.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/factories/scene-seed-generator.d.ts +6 -2
- package/bundle/typescript/src/commands/game/sideQuest/factories/scene-seed-generator.js +10 -6
- package/bundle/typescript/src/commands/game/sideQuest/factories/scene-seed-generator.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/game.d.ts +196 -0
- package/bundle/typescript/src/commands/game/sideQuest/game.js +828 -31
- package/bundle/typescript/src/commands/game/sideQuest/game.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/models/item.d.ts +28 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/item.js +111 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/item.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/models/npc.d.ts +33 -1
- package/bundle/typescript/src/commands/game/sideQuest/models/npc.js +232 -10
- package/bundle/typescript/src/commands/game/sideQuest/models/npc.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/models/player.d.ts +111 -5
- package/bundle/typescript/src/commands/game/sideQuest/models/player.js +432 -41
- package/bundle/typescript/src/commands/game/sideQuest/models/player.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/models/puzzle.d.ts +6 -6
- package/bundle/typescript/src/commands/game/sideQuest/models/puzzle.js +38 -14
- package/bundle/typescript/src/commands/game/sideQuest/models/puzzle.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/models/room.d.ts +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/room.js +6 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/room.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/models/scene.d.ts +9 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/scene.js +48 -8
- package/bundle/typescript/src/commands/game/sideQuest/models/scene.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/qualities.d.ts +44 -0
- package/bundle/typescript/src/commands/game/sideQuest/qualities.js +155 -0
- package/bundle/typescript/src/commands/game/sideQuest/qualities.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/scenes/scene2.json +274 -5
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/item-seed.d.ts +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/scene-seed.d.ts +17 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/shared/item-enum.d.ts +2 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/shared/item-enum.js +4 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/shared/item-enum.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/ui.js +82 -8
- package/bundle/typescript/src/commands/game/sideQuest/ui.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/utilities/auto-fight.d.ts +13 -6
- package/bundle/typescript/src/commands/game/sideQuest/utilities/auto-fight.js +28 -15
- package/bundle/typescript/src/commands/game/sideQuest/utilities/auto-fight.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/utilities/combat-exchange.d.ts +15 -3
- package/bundle/typescript/src/commands/game/sideQuest/utilities/combat-exchange.js +207 -34
- package/bundle/typescript/src/commands/game/sideQuest/utilities/combat-exchange.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/utilities/commerce.d.ts +56 -0
- package/bundle/typescript/src/commands/game/sideQuest/utilities/commerce.js +144 -0
- package/bundle/typescript/src/commands/game/sideQuest/utilities/commerce.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/utilities/dice.d.ts +7 -4
- package/bundle/typescript/src/commands/game/sideQuest/utilities/dice.js +8 -5
- package/bundle/typescript/src/commands/game/sideQuest/utilities/dice.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/utilities/log-style.d.ts +14 -0
- package/bundle/typescript/src/commands/game/sideQuest/utilities/log-style.js +15 -0
- package/bundle/typescript/src/commands/game/sideQuest/utilities/log-style.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/utilities/logger.d.ts +16 -0
- package/bundle/typescript/src/commands/game/sideQuest/utilities/logger.js +49 -4
- package/bundle/typescript/src/commands/game/sideQuest/utilities/logger.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/utilities/outdoors.d.ts +10 -0
- package/bundle/typescript/src/commands/game/sideQuest/utilities/outdoors.js +16 -0
- package/bundle/typescript/src/commands/game/sideQuest/utilities/outdoors.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/utilities/planes.d.ts +21 -0
- package/bundle/typescript/src/commands/game/sideQuest/utilities/planes.js +107 -0
- package/bundle/typescript/src/commands/game/sideQuest/utilities/planes.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/utilities/terminal-reset.d.ts +17 -0
- package/bundle/typescript/src/commands/game/sideQuest/utilities/terminal-reset.js +23 -0
- package/bundle/typescript/src/commands/game/sideQuest/utilities/terminal-reset.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest.sub.cmd.js +51 -15
- package/bundle/typescript/src/commands/game/sideQuest.sub.cmd.js.map +1 -1
- package/bundle/typescript/src/commands/remote/reconfig.sub.cmd.js +27 -1
- package/bundle/typescript/src/commands/remote/reconfig.sub.cmd.js.map +1 -1
- package/bundle/typescript/src/commands/run/run.command.js +1 -7
- package/bundle/typescript/src/commands/run/run.command.js.map +1 -1
- package/bundle/typescript/src/commands/ssl.js +10 -15
- package/bundle/typescript/src/commands/ssl.js.map +1 -1
- package/bundle/typescript/src/commands/testCmd/mocha.sub.cmd.js +1 -6
- package/bundle/typescript/src/commands/testCmd/mocha.sub.cmd.js.map +1 -1
- package/bundle/typescript/src/generators/config.js +11 -10
- package/bundle/typescript/src/generators/config.js.map +1 -1
- package/bundle/typescript/src/templates/meteor/config/pm2.config.js +3 -3
- package/bundle/typescript/src/templates/meteor/project/gitignore +2 -1
- package/bundle/typescript/src/templates/react/kit/mui/auth/password-reset/basic-password-reset-page.js.tsx +3 -4
- package/bundle/typescript/src/tool.d.ts +2 -0
- package/bundle/typescript/src/tool.js +3 -0
- package/bundle/typescript/src/tool.js.map +1 -1
- package/bundle/typescript/src/tools/aws/aws.class.js +6 -4
- package/bundle/typescript/src/tools/aws/aws.class.js.map +1 -1
- package/bundle/typescript/src/tools/dotenvx/dotenvx.class.d.ts +24 -0
- package/bundle/typescript/src/tools/dotenvx/dotenvx.class.js +66 -0
- package/bundle/typescript/src/tools/dotenvx/dotenvx.class.js.map +1 -0
- package/bundle/typescript/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/typescript/src/tools/ssh/ssh.class.js.map +1 -1
- package/bundle/typescript/src/tools/ssl/ssl.class.d.ts +8 -0
- package/bundle/typescript/src/tools/ssl/ssl.class.js +53 -0
- package/bundle/typescript/src/tools/ssl/ssl.class.js.map +1 -1
- package/package.json +2 -2
|
@@ -14,7 +14,9 @@ import { AbstractPlayer } from '../types/shared/abstracts.js';
|
|
|
14
14
|
*/
|
|
15
15
|
export type FightStance = 'manual' | 'guarded' | 'aggressive';
|
|
16
16
|
export declare const STANCE_CYCLE: FightStance[];
|
|
17
|
-
export type Plane = 'meat' | 'matrix' | 'astral';
|
|
17
|
+
export type Plane = 'meat' | 'matrix' | 'astral' | 'drone';
|
|
18
|
+
/** Meat and a jumped-in drone share the physical world. */
|
|
19
|
+
export declare function isPhysicalPlane(plane: Plane): boolean;
|
|
18
20
|
export type SimMode = 'cold' | 'hot';
|
|
19
21
|
/**
|
|
20
22
|
* The SR5e-condensed active skill list. Every pool that used to lean on
|
|
@@ -24,7 +26,7 @@ export type SimMode = 'cold' | 'hot';
|
|
|
24
26
|
* mechanics as they land -- perception drives search rolls today; the
|
|
25
27
|
* rest are rated on the sheet and waiting for their verbs.
|
|
26
28
|
*/
|
|
27
|
-
export type SkillName = 'firearms' | 'blades' | 'unarmed' | 'sneaking' | 'perception' | 'athletics' | 'hacking' | 'locksmith' | 'negotiation' | 'con' | 'intimidation' | 'first-aid' | 'assensing' | 'spellcasting' | 'piloting';
|
|
29
|
+
export type SkillName = 'firearms' | 'blades' | 'unarmed' | 'sneaking' | 'perception' | 'athletics' | 'hacking' | 'locksmith' | 'negotiation' | 'con' | 'intimidation' | 'first-aid' | 'assensing' | 'spellcasting' | 'piloting' | 'conjuring';
|
|
28
30
|
export declare const SKILL_NAMES: SkillName[];
|
|
29
31
|
/**
|
|
30
32
|
* Skills that fall back to the legacy `combatSkill` attribute when no
|
|
@@ -141,7 +143,10 @@ export declare class Player extends AbstractPlayer {
|
|
|
141
143
|
* and room listings.
|
|
142
144
|
*/
|
|
143
145
|
canPerceive(other: Player): boolean;
|
|
146
|
+
/** Whether these two can trade physical blows (see attack.ts targeting). */
|
|
147
|
+
sharesCombatPlane(other: Player): boolean;
|
|
144
148
|
waitingForLull: boolean;
|
|
149
|
+
deathClaimed: boolean;
|
|
145
150
|
body: number;
|
|
146
151
|
agility: number;
|
|
147
152
|
reaction: number;
|
|
@@ -160,6 +165,70 @@ export declare class Player extends AbstractPlayer {
|
|
|
160
165
|
private _damageTaken;
|
|
161
166
|
private _stunTaken;
|
|
162
167
|
constructor(config: IPlayerConstructorConfig);
|
|
168
|
+
/** Everyone is born whole. */
|
|
169
|
+
static readonly ESSENCE_MAX = 6;
|
|
170
|
+
essence: number;
|
|
171
|
+
baseMagic: number;
|
|
172
|
+
baseResonance: number;
|
|
173
|
+
/** Installed 'ware, by catalog key (see AUGMENTATIONS). */
|
|
174
|
+
augmentations: Set<string>;
|
|
175
|
+
hasAug(key: string): boolean;
|
|
176
|
+
/** Full essence points lost, rounded up -- the toll Magic/Resonance pay. */
|
|
177
|
+
get essenceBurn(): number;
|
|
178
|
+
/**
|
|
179
|
+
* Burns the essence and records the 'ware. No gating here -- the clinic
|
|
180
|
+
* (commands/install.ts) owns the refusals (essence floor, conflicts,
|
|
181
|
+
* payment); archetype starting chrome installs through this too.
|
|
182
|
+
*/
|
|
183
|
+
installAug(aug: {
|
|
184
|
+
key: string;
|
|
185
|
+
essence: number;
|
|
186
|
+
}): void;
|
|
187
|
+
/**
|
|
188
|
+
* The single tap every pool reads chrome through. Wired Reflexes tiers
|
|
189
|
+
* don't stack -- the higher tier wins (II supersedes I) -- but the
|
|
190
|
+
* synaptic-vs-wired conflict is the clinic's job, not this getter's.
|
|
191
|
+
*/
|
|
192
|
+
augBonus(kind: 'initiative' | 'defense' | 'attack' | 'firearms' | 'soak' | 'unarmed-damage' | 'perception' | 'matrix' | 'piloting'): number;
|
|
193
|
+
/** Installed qualities, by catalog key (see QUALITIES). */
|
|
194
|
+
qualities: Set<string>;
|
|
195
|
+
hasQuality(key: string): boolean;
|
|
196
|
+
/**
|
|
197
|
+
* Records a quality and applies its one-time creation effect. Lucky is
|
|
198
|
+
* the only quality that edits an attribute (RAW raises the Edge ceiling;
|
|
199
|
+
* with no attribute point-buy here, the point lands directly).
|
|
200
|
+
*/
|
|
201
|
+
addQuality(key: string): void;
|
|
202
|
+
/** The single tap every pool reads qualities through (cf. augBonus). */
|
|
203
|
+
qualityBonus(kind: 'sneak' | 'athletics' | 'matrix' | 'hacking' | 'piloting' | 'soak' | 'healing'): number;
|
|
204
|
+
private _firstImpressionUsed;
|
|
205
|
+
/** Spends the first impression: +2 for the social roll happening NOW. */
|
|
206
|
+
consumeFirstImpression(): number;
|
|
207
|
+
/** SINner tax (p.84-85): the cut every payout loses to having a file. */
|
|
208
|
+
get sinTaxRate(): number;
|
|
209
|
+
paralysisFreeze: boolean;
|
|
210
|
+
initiationGrade: number;
|
|
211
|
+
/** Metamagics (casters/adepts) and echoes (technomancers), by key. */
|
|
212
|
+
metamagics: Set<string>;
|
|
213
|
+
hasMetamagic(key: string): boolean;
|
|
214
|
+
/** Total karma EARNED in play -- spending it doesn't touch this. */
|
|
215
|
+
careerKarma: number;
|
|
216
|
+
private _notorietyReasons;
|
|
217
|
+
/** Records an incident once; false means this exact stain already stands. */
|
|
218
|
+
addNotoriety(reason: string): boolean;
|
|
219
|
+
get notorietyReasons(): readonly string[];
|
|
220
|
+
get streetCred(): number;
|
|
221
|
+
/** The p.368 quality list, restricted to the qualities this game ships. */
|
|
222
|
+
get qualityNotoriety(): number;
|
|
223
|
+
get notoriety(): number;
|
|
224
|
+
get publicAwareness(): number;
|
|
225
|
+
/**
|
|
226
|
+
* The dice a NAME is worth in shadow-side social work (haggle,
|
|
227
|
+
* persuade): cred minus the stories that undercut it. RAW makes cred a
|
|
228
|
+
* social LIMIT bonus; with no limit system here, net-rep dice carry
|
|
229
|
+
* the same idea -- and notoriety eating cred keeps it self-balancing.
|
|
230
|
+
*/
|
|
231
|
+
get socialRep(): number;
|
|
163
232
|
/** Explicit per-skill ratings; anything absent resolves via skillRating(). */
|
|
164
233
|
skills: Partial<Record<SkillName, number>>;
|
|
165
234
|
karma: number;
|
|
@@ -183,6 +252,7 @@ export declare class Player extends AbstractPlayer {
|
|
|
183
252
|
get inventory(): Inventory;
|
|
184
253
|
get equipment(): PlayerEquipment;
|
|
185
254
|
set equipment(newEquipment: PlayerEquipment);
|
|
255
|
+
private _carryCapOverrideKg?;
|
|
186
256
|
get maxCarryingWeight(): number;
|
|
187
257
|
set maxCarryingWeight(weight: number);
|
|
188
258
|
get currentWeight(): number;
|
|
@@ -244,7 +314,13 @@ export declare class Player extends AbstractPlayer {
|
|
|
244
314
|
};
|
|
245
315
|
/** e.g. "■■■□□□□□□□ (3/10)" */
|
|
246
316
|
conditionSummary(): string;
|
|
247
|
-
/**
|
|
317
|
+
/**
|
|
318
|
+
* Clears stun boxes; returns how many were actually recovered. FATIGUE
|
|
319
|
+
* boxes (see lockedFatigue) are untouchable until their need is met --
|
|
320
|
+
* SR5e p.172: fatigue damage cannot be healed while the condition
|
|
321
|
+
* causing it still exists. Eating/sleeping unlocks them (markFed /
|
|
322
|
+
* markSlept), after which they heal like any stun.
|
|
323
|
+
*/
|
|
248
324
|
healStun(boxes: number): number;
|
|
249
325
|
/** The stun track, same rendering as conditionSummary(). */
|
|
250
326
|
stunSummary(): string;
|
|
@@ -258,6 +334,7 @@ export declare class Player extends AbstractPlayer {
|
|
|
258
334
|
name: string;
|
|
259
335
|
damage: number;
|
|
260
336
|
poolBonus: number;
|
|
337
|
+
armorPen?: number;
|
|
261
338
|
};
|
|
262
339
|
/** The weapon riding in a hand slot, drawn or holstered. */
|
|
263
340
|
getCarriedWeapon(): Item | null;
|
|
@@ -292,8 +369,27 @@ export declare class Player extends AbstractPlayer {
|
|
|
292
369
|
* attack/subdue/manabolt this actor initiates.
|
|
293
370
|
*/
|
|
294
371
|
consumeEdgeBoost(): number;
|
|
295
|
-
|
|
296
|
-
|
|
372
|
+
lifestyleEdgeBonus: number;
|
|
373
|
+
ateThisCycle: boolean;
|
|
374
|
+
sleptThisCycle: boolean;
|
|
375
|
+
hungerStreak: number;
|
|
376
|
+
sleepStreak: number;
|
|
377
|
+
private _hungerFatigue;
|
|
378
|
+
private _sleepFatigue;
|
|
379
|
+
/** Stun boxes no recovery can touch until their need is met. */
|
|
380
|
+
get lockedFatigue(): number;
|
|
381
|
+
/** A real meal: hunger resets and hunger-fatigue unlocks (heals normally now). */
|
|
382
|
+
markFed(): void;
|
|
383
|
+
/** A real sleep (a bed, not a jobsite corner): sleep debt resets and unlocks. */
|
|
384
|
+
markSlept(): void;
|
|
385
|
+
/** Records freshly-taken stun as need-locked fatigue. */
|
|
386
|
+
addLockedFatigue(kind: 'hunger' | 'sleep', boxes: number): void;
|
|
387
|
+
/**
|
|
388
|
+
* New job bookkeeping -- the boost and the once-per-job haggle always
|
|
389
|
+
* reset, but the edge POOL only refills when the runner left fed and
|
|
390
|
+
* slept (SR5e p.56: a fulfilling meal and a good night's sleep).
|
|
391
|
+
*/
|
|
392
|
+
refreshEdge(wellRested?: boolean): void;
|
|
297
393
|
/** Base casting dice for a mundane casting from a formula/grimoire. */
|
|
298
394
|
private static readonly BASE_MAGIC_POOL;
|
|
299
395
|
/** Awakened: innate talent, no gear required. Adepts count -- their
|
|
@@ -305,10 +401,20 @@ export declare class Player extends AbstractPlayer {
|
|
|
305
401
|
private _sustainedArmor;
|
|
306
402
|
get sustainedArmor(): number;
|
|
307
403
|
setSustainedArmor(bonus: number): void;
|
|
404
|
+
sustainedInvisibility: boolean;
|
|
405
|
+
sustainedReflexes: boolean;
|
|
308
406
|
get sustainingPenalty(): number;
|
|
309
407
|
astralPerceiving: boolean;
|
|
310
408
|
sneaking: boolean;
|
|
409
|
+
riggedDrone?: Item;
|
|
410
|
+
/** Whether the ridden drone carries a weapon mount (name/description duck-typing). */
|
|
411
|
+
get droneArmed(): boolean;
|
|
412
|
+
dumpshockedUntil: number;
|
|
413
|
+
get dumpshocked(): boolean;
|
|
311
414
|
haggledThisJob: boolean;
|
|
415
|
+
liquidCourage: boolean;
|
|
416
|
+
/** Spends the drink: returns its bonus die for the roll happening NOW. */
|
|
417
|
+
consumeLiquidCourage(): number;
|
|
312
418
|
cameFrom?: {
|
|
313
419
|
room: string;
|
|
314
420
|
back: string;
|