@maka/maka-cli 5.3.16 → 5.4.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.
Files changed (220) hide show
  1. package/bundle/typescript/package.json +1 -1
  2. package/bundle/typescript/src/commands/create.js +1 -1
  3. package/bundle/typescript/src/commands/create.js.map +1 -1
  4. package/bundle/typescript/src/commands/game/sideQuest/archetypes.d.ts +43 -0
  5. package/bundle/typescript/src/commands/game/sideQuest/archetypes.js +131 -0
  6. package/bundle/typescript/src/commands/game/sideQuest/archetypes.js.map +1 -0
  7. package/bundle/typescript/src/commands/game/sideQuest/commands/assense.d.ts +14 -0
  8. package/bundle/typescript/src/commands/game/sideQuest/commands/assense.js +79 -0
  9. package/bundle/typescript/src/commands/game/sideQuest/commands/assense.js.map +1 -0
  10. package/bundle/typescript/src/commands/game/sideQuest/commands/attack.d.ts +42 -0
  11. package/bundle/typescript/src/commands/game/sideQuest/commands/attack.js +224 -0
  12. package/bundle/typescript/src/commands/game/sideQuest/commands/attack.js.map +1 -0
  13. package/bundle/typescript/src/commands/game/sideQuest/commands/bypass-command.d.ts +28 -0
  14. package/bundle/typescript/src/commands/game/sideQuest/commands/bypass-command.js +101 -0
  15. package/bundle/typescript/src/commands/game/sideQuest/commands/bypass-command.js.map +1 -0
  16. package/bundle/typescript/src/commands/game/sideQuest/commands/call.d.ts +19 -0
  17. package/bundle/typescript/src/commands/game/sideQuest/commands/call.js +149 -0
  18. package/bundle/typescript/src/commands/game/sideQuest/commands/call.js.map +1 -0
  19. package/bundle/typescript/src/commands/game/sideQuest/commands/cast.d.ts +58 -0
  20. package/bundle/typescript/src/commands/game/sideQuest/commands/cast.js +378 -0
  21. package/bundle/typescript/src/commands/game/sideQuest/commands/cast.js.map +1 -0
  22. package/bundle/typescript/src/commands/game/sideQuest/commands/command-registry.d.ts +11 -1
  23. package/bundle/typescript/src/commands/game/sideQuest/commands/command-registry.js +8 -3
  24. package/bundle/typescript/src/commands/game/sideQuest/commands/command-registry.js.map +1 -1
  25. package/bundle/typescript/src/commands/game/sideQuest/commands/command.d.ts +6 -0
  26. package/bundle/typescript/src/commands/game/sideQuest/commands/command.js +4 -0
  27. package/bundle/typescript/src/commands/game/sideQuest/commands/command.js.map +1 -1
  28. package/bundle/typescript/src/commands/game/sideQuest/commands/drone.d.ts +15 -0
  29. package/bundle/typescript/src/commands/game/sideQuest/commands/drone.js +60 -0
  30. package/bundle/typescript/src/commands/game/sideQuest/commands/drone.js.map +1 -0
  31. package/bundle/typescript/src/commands/game/sideQuest/commands/edge.d.ts +13 -0
  32. package/bundle/typescript/src/commands/game/sideQuest/commands/edge.js +31 -0
  33. package/bundle/typescript/src/commands/game/sideQuest/commands/edge.js.map +1 -0
  34. package/bundle/typescript/src/commands/game/sideQuest/commands/end-call.d.ts +6 -0
  35. package/bundle/typescript/src/commands/game/sideQuest/commands/end-call.js +27 -0
  36. package/bundle/typescript/src/commands/game/sideQuest/commands/end-call.js.map +1 -0
  37. package/bundle/typescript/src/commands/game/sideQuest/commands/equip.d.ts +4 -0
  38. package/bundle/typescript/src/commands/game/sideQuest/commands/equip.js +40 -0
  39. package/bundle/typescript/src/commands/game/sideQuest/commands/equip.js.map +1 -1
  40. package/bundle/typescript/src/commands/game/sideQuest/commands/equipment.d.ts +13 -0
  41. package/bundle/typescript/src/commands/game/sideQuest/commands/equipment.js +43 -0
  42. package/bundle/typescript/src/commands/game/sideQuest/commands/equipment.js.map +1 -0
  43. package/bundle/typescript/src/commands/game/sideQuest/commands/give.js +7 -1
  44. package/bundle/typescript/src/commands/game/sideQuest/commands/give.js.map +1 -1
  45. package/bundle/typescript/src/commands/game/sideQuest/commands/go.d.ts +11 -0
  46. package/bundle/typescript/src/commands/game/sideQuest/commands/go.js +115 -4
  47. package/bundle/typescript/src/commands/game/sideQuest/commands/go.js.map +1 -1
  48. package/bundle/typescript/src/commands/game/sideQuest/commands/hack.d.ts +25 -0
  49. package/bundle/typescript/src/commands/game/sideQuest/commands/hack.js +176 -0
  50. package/bundle/typescript/src/commands/game/sideQuest/commands/hack.js.map +1 -0
  51. package/bundle/typescript/src/commands/game/sideQuest/commands/inv.d.ts +12 -0
  52. package/bundle/typescript/src/commands/game/sideQuest/commands/inv.js +39 -0
  53. package/bundle/typescript/src/commands/game/sideQuest/commands/inv.js.map +1 -0
  54. package/bundle/typescript/src/commands/game/sideQuest/commands/jack.d.ts +17 -0
  55. package/bundle/typescript/src/commands/game/sideQuest/commands/jack.js +64 -0
  56. package/bundle/typescript/src/commands/game/sideQuest/commands/jack.js.map +1 -0
  57. package/bundle/typescript/src/commands/game/sideQuest/commands/kill.d.ts +10 -3
  58. package/bundle/typescript/src/commands/game/sideQuest/commands/kill.js +11 -33
  59. package/bundle/typescript/src/commands/game/sideQuest/commands/kill.js.map +1 -1
  60. package/bundle/typescript/src/commands/game/sideQuest/commands/look.js +35 -4
  61. package/bundle/typescript/src/commands/game/sideQuest/commands/look.js.map +1 -1
  62. package/bundle/typescript/src/commands/game/sideQuest/commands/map.d.ts +12 -0
  63. package/bundle/typescript/src/commands/game/sideQuest/commands/map.js +46 -0
  64. package/bundle/typescript/src/commands/game/sideQuest/commands/map.js.map +1 -0
  65. package/bundle/typescript/src/commands/game/sideQuest/commands/pan.d.ts +12 -0
  66. package/bundle/typescript/src/commands/game/sideQuest/commands/pan.js +55 -0
  67. package/bundle/typescript/src/commands/game/sideQuest/commands/pan.js.map +1 -0
  68. package/bundle/typescript/src/commands/game/sideQuest/commands/pick.d.ts +9 -0
  69. package/bundle/typescript/src/commands/game/sideQuest/commands/pick.js +18 -0
  70. package/bundle/typescript/src/commands/game/sideQuest/commands/pick.js.map +1 -0
  71. package/bundle/typescript/src/commands/game/sideQuest/commands/project.d.ts +19 -0
  72. package/bundle/typescript/src/commands/game/sideQuest/commands/project.js +54 -0
  73. package/bundle/typescript/src/commands/game/sideQuest/commands/project.js.map +1 -0
  74. package/bundle/typescript/src/commands/game/sideQuest/commands/read.js +6 -5
  75. package/bundle/typescript/src/commands/game/sideQuest/commands/read.js.map +1 -1
  76. package/bundle/typescript/src/commands/game/sideQuest/commands/reboot.d.ts +12 -0
  77. package/bundle/typescript/src/commands/game/sideQuest/commands/reboot.js +52 -0
  78. package/bundle/typescript/src/commands/game/sideQuest/commands/reboot.js.map +1 -0
  79. package/bundle/typescript/src/commands/game/sideQuest/commands/reload.d.ts +14 -0
  80. package/bundle/typescript/src/commands/game/sideQuest/commands/reload.js +40 -0
  81. package/bundle/typescript/src/commands/game/sideQuest/commands/reload.js.map +1 -0
  82. package/bundle/typescript/src/commands/game/sideQuest/commands/rest.d.ts +15 -0
  83. package/bundle/typescript/src/commands/game/sideQuest/commands/rest.js +59 -0
  84. package/bundle/typescript/src/commands/game/sideQuest/commands/rest.js.map +1 -0
  85. package/bundle/typescript/src/commands/game/sideQuest/commands/say.js +23 -2
  86. package/bundle/typescript/src/commands/game/sideQuest/commands/say.js.map +1 -1
  87. package/bundle/typescript/src/commands/game/sideQuest/commands/search.js +20 -3
  88. package/bundle/typescript/src/commands/game/sideQuest/commands/search.js.map +1 -1
  89. package/bundle/typescript/src/commands/game/sideQuest/commands/sheet.d.ts +12 -0
  90. package/bundle/typescript/src/commands/game/sideQuest/commands/sheet.js +49 -0
  91. package/bundle/typescript/src/commands/game/sideQuest/commands/sheet.js.map +1 -0
  92. package/bundle/typescript/src/commands/game/sideQuest/commands/silent.d.ts +13 -0
  93. package/bundle/typescript/src/commands/game/sideQuest/commands/silent.js +50 -0
  94. package/bundle/typescript/src/commands/game/sideQuest/commands/silent.js.map +1 -0
  95. package/bundle/typescript/src/commands/game/sideQuest/commands/solve.js +32 -11
  96. package/bundle/typescript/src/commands/game/sideQuest/commands/solve.js.map +1 -1
  97. package/bundle/typescript/src/commands/game/sideQuest/commands/spells.d.ts +14 -0
  98. package/bundle/typescript/src/commands/game/sideQuest/commands/spells.js +65 -0
  99. package/bundle/typescript/src/commands/game/sideQuest/commands/spells.js.map +1 -0
  100. package/bundle/typescript/src/commands/game/sideQuest/commands/stance.d.ts +12 -0
  101. package/bundle/typescript/src/commands/game/sideQuest/commands/stance.js +41 -0
  102. package/bundle/typescript/src/commands/game/sideQuest/commands/stance.js.map +1 -0
  103. package/bundle/typescript/src/commands/game/sideQuest/commands/subdue.d.ts +21 -0
  104. package/bundle/typescript/src/commands/game/sideQuest/commands/subdue.js +43 -0
  105. package/bundle/typescript/src/commands/game/sideQuest/commands/subdue.js.map +1 -0
  106. package/bundle/typescript/src/commands/game/sideQuest/commands/surrender.d.ts +20 -0
  107. package/bundle/typescript/src/commands/game/sideQuest/commands/surrender.js +45 -0
  108. package/bundle/typescript/src/commands/game/sideQuest/commands/surrender.js.map +1 -0
  109. package/bundle/typescript/src/commands/game/sideQuest/commands/take.d.ts +8 -0
  110. package/bundle/typescript/src/commands/game/sideQuest/commands/take.js +80 -1
  111. package/bundle/typescript/src/commands/game/sideQuest/commands/take.js.map +1 -1
  112. package/bundle/typescript/src/commands/game/sideQuest/commands/unlock.js +1 -0
  113. package/bundle/typescript/src/commands/game/sideQuest/commands/unlock.js.map +1 -1
  114. package/bundle/typescript/src/commands/game/sideQuest/commands/use.d.ts +24 -0
  115. package/bundle/typescript/src/commands/game/sideQuest/commands/use.js +101 -1
  116. package/bundle/typescript/src/commands/game/sideQuest/commands/use.js.map +1 -1
  117. package/bundle/typescript/src/commands/game/sideQuest/factories/item-factory.js +2 -1
  118. package/bundle/typescript/src/commands/game/sideQuest/factories/item-factory.js.map +1 -1
  119. package/bundle/typescript/src/commands/game/sideQuest/factories/npc-factory.js +7 -2
  120. package/bundle/typescript/src/commands/game/sideQuest/factories/npc-factory.js.map +1 -1
  121. package/bundle/typescript/src/commands/game/sideQuest/factories/puzzle-factory.js +2 -1
  122. package/bundle/typescript/src/commands/game/sideQuest/factories/puzzle-factory.js.map +1 -1
  123. package/bundle/typescript/src/commands/game/sideQuest/factories/room-factory.js +2 -0
  124. package/bundle/typescript/src/commands/game/sideQuest/factories/room-factory.js.map +1 -1
  125. package/bundle/typescript/src/commands/game/sideQuest/factories/scene-factory.d.ts +8 -1
  126. package/bundle/typescript/src/commands/game/sideQuest/factories/scene-factory.js +138 -21
  127. package/bundle/typescript/src/commands/game/sideQuest/factories/scene-factory.js.map +1 -1
  128. package/bundle/typescript/src/commands/game/sideQuest/factories/scene-seed-generator.d.ts +119 -0
  129. package/bundle/typescript/src/commands/game/sideQuest/factories/scene-seed-generator.js +816 -0
  130. package/bundle/typescript/src/commands/game/sideQuest/factories/scene-seed-generator.js.map +1 -0
  131. package/bundle/typescript/src/commands/game/sideQuest/game.d.ts +70 -9
  132. package/bundle/typescript/src/commands/game/sideQuest/game.js +403 -164
  133. package/bundle/typescript/src/commands/game/sideQuest/game.js.map +1 -1
  134. package/bundle/typescript/src/commands/game/sideQuest/minigames/hack-minigame.d.ts +16 -0
  135. package/bundle/typescript/src/commands/game/sideQuest/minigames/hack-minigame.js +101 -0
  136. package/bundle/typescript/src/commands/game/sideQuest/minigames/hack-minigame.js.map +1 -0
  137. package/bundle/typescript/src/commands/game/sideQuest/minigames/lockpick-minigame.d.ts +15 -0
  138. package/bundle/typescript/src/commands/game/sideQuest/minigames/lockpick-minigame.js +95 -0
  139. package/bundle/typescript/src/commands/game/sideQuest/minigames/lockpick-minigame.js.map +1 -0
  140. package/bundle/typescript/src/commands/game/sideQuest/models/door.d.ts +10 -0
  141. package/bundle/typescript/src/commands/game/sideQuest/models/door.js +15 -2
  142. package/bundle/typescript/src/commands/game/sideQuest/models/door.js.map +1 -1
  143. package/bundle/typescript/src/commands/game/sideQuest/models/inventory.d.ts +10 -0
  144. package/bundle/typescript/src/commands/game/sideQuest/models/inventory.js +54 -4
  145. package/bundle/typescript/src/commands/game/sideQuest/models/inventory.js.map +1 -1
  146. package/bundle/typescript/src/commands/game/sideQuest/models/item.d.ts +41 -0
  147. package/bundle/typescript/src/commands/game/sideQuest/models/item.js +106 -3
  148. package/bundle/typescript/src/commands/game/sideQuest/models/item.js.map +1 -1
  149. package/bundle/typescript/src/commands/game/sideQuest/models/npc.d.ts +25 -0
  150. package/bundle/typescript/src/commands/game/sideQuest/models/npc.js +220 -47
  151. package/bundle/typescript/src/commands/game/sideQuest/models/npc.js.map +1 -1
  152. package/bundle/typescript/src/commands/game/sideQuest/models/player.d.ts +213 -0
  153. package/bundle/typescript/src/commands/game/sideQuest/models/player.js +525 -9
  154. package/bundle/typescript/src/commands/game/sideQuest/models/player.js.map +1 -1
  155. package/bundle/typescript/src/commands/game/sideQuest/models/puzzle.d.ts +75 -1
  156. package/bundle/typescript/src/commands/game/sideQuest/models/puzzle.js +174 -6
  157. package/bundle/typescript/src/commands/game/sideQuest/models/puzzle.js.map +1 -1
  158. package/bundle/typescript/src/commands/game/sideQuest/models/room.d.ts +20 -0
  159. package/bundle/typescript/src/commands/game/sideQuest/models/room.js +39 -18
  160. package/bundle/typescript/src/commands/game/sideQuest/models/room.js.map +1 -1
  161. package/bundle/typescript/src/commands/game/sideQuest/models/scene.d.ts +69 -0
  162. package/bundle/typescript/src/commands/game/sideQuest/models/scene.js +175 -2
  163. package/bundle/typescript/src/commands/game/sideQuest/models/scene.js.map +1 -1
  164. package/bundle/typescript/src/commands/game/sideQuest/scenes/scene1.json +80 -1
  165. package/bundle/typescript/src/commands/game/sideQuest/scenes/scene2.json +7 -2
  166. package/bundle/typescript/src/commands/game/sideQuest/types/player-equipment.d.ts +1 -0
  167. package/bundle/typescript/src/commands/game/sideQuest/types/seed/exit-seed.d.ts +1 -0
  168. package/bundle/typescript/src/commands/game/sideQuest/types/seed/item-seed.d.ts +1 -0
  169. package/bundle/typescript/src/commands/game/sideQuest/types/seed/npc-seed.d.ts +1 -0
  170. package/bundle/typescript/src/commands/game/sideQuest/types/seed/player-seed.d.ts +34 -0
  171. package/bundle/typescript/src/commands/game/sideQuest/types/seed/puzzle-seed.d.ts +15 -1
  172. package/bundle/typescript/src/commands/game/sideQuest/types/seed/room-seed.d.ts +3 -0
  173. package/bundle/typescript/src/commands/game/sideQuest/types/seed/scene-seed.d.ts +5 -0
  174. package/bundle/typescript/src/commands/game/sideQuest/types/seed/win-condition-seed.d.ts +15 -0
  175. package/bundle/typescript/src/commands/game/sideQuest/types/seed/win-condition-seed.js +2 -0
  176. package/bundle/typescript/src/commands/game/sideQuest/types/seed/win-condition-seed.js.map +1 -0
  177. package/bundle/typescript/src/commands/game/sideQuest/types/shared/abstracts.d.ts +1 -0
  178. package/bundle/typescript/src/commands/game/sideQuest/types/shared/abstracts.js +5 -0
  179. package/bundle/typescript/src/commands/game/sideQuest/types/shared/abstracts.js.map +1 -1
  180. package/bundle/typescript/src/commands/game/sideQuest/types/shared/item-enum.d.ts +1 -0
  181. package/bundle/typescript/src/commands/game/sideQuest/types/shared/item-enum.js +1 -0
  182. package/bundle/typescript/src/commands/game/sideQuest/types/shared/item-enum.js.map +1 -1
  183. package/bundle/typescript/src/commands/game/sideQuest/ui.d.ts +3 -0
  184. package/bundle/typescript/src/commands/game/sideQuest/ui.js +95 -5
  185. package/bundle/typescript/src/commands/game/sideQuest/ui.js.map +1 -1
  186. package/bundle/typescript/src/commands/game/sideQuest/utilities/auto-fight.d.ts +60 -0
  187. package/bundle/typescript/src/commands/game/sideQuest/utilities/auto-fight.js +138 -0
  188. package/bundle/typescript/src/commands/game/sideQuest/utilities/auto-fight.js.map +1 -0
  189. package/bundle/typescript/src/commands/game/sideQuest/utilities/combat-exchange.d.ts +143 -0
  190. package/bundle/typescript/src/commands/game/sideQuest/utilities/combat-exchange.js +328 -0
  191. package/bundle/typescript/src/commands/game/sideQuest/utilities/combat-exchange.js.map +1 -0
  192. package/bundle/typescript/src/commands/game/sideQuest/utilities/comm-style.d.ts +2 -0
  193. package/bundle/typescript/src/commands/game/sideQuest/utilities/comm-style.js +12 -0
  194. package/bundle/typescript/src/commands/game/sideQuest/utilities/comm-style.js.map +1 -0
  195. package/bundle/typescript/src/commands/game/sideQuest/utilities/dice.d.ts +22 -0
  196. package/bundle/typescript/src/commands/game/sideQuest/utilities/dice.js +34 -0
  197. package/bundle/typescript/src/commands/game/sideQuest/utilities/dice.js.map +1 -0
  198. package/bundle/typescript/src/commands/game/sideQuest/utilities/fuzzy-match.d.ts +36 -0
  199. package/bundle/typescript/src/commands/game/sideQuest/utilities/fuzzy-match.js +92 -0
  200. package/bundle/typescript/src/commands/game/sideQuest/utilities/fuzzy-match.js.map +1 -0
  201. package/bundle/typescript/src/commands/game/sideQuest/utilities/planes.d.ts +44 -0
  202. package/bundle/typescript/src/commands/game/sideQuest/utilities/planes.js +193 -0
  203. package/bundle/typescript/src/commands/game/sideQuest/utilities/planes.js.map +1 -0
  204. package/bundle/typescript/src/commands/game/sideQuest/utilities/pursuit.d.ts +16 -0
  205. package/bundle/typescript/src/commands/game/sideQuest/utilities/pursuit.js +36 -0
  206. package/bundle/typescript/src/commands/game/sideQuest/utilities/pursuit.js.map +1 -0
  207. package/bundle/typescript/src/commands/game/sideQuest.sub.cmd.js +54 -7
  208. package/bundle/typescript/src/commands/game/sideQuest.sub.cmd.js.map +1 -1
  209. package/bundle/typescript/src/commands/set/global.sub.cmd.js +59 -5
  210. package/bundle/typescript/src/commands/set/global.sub.cmd.js.map +1 -1
  211. package/bundle/typescript/src/tools/ai/ai.class.d.ts +35 -0
  212. package/bundle/typescript/src/tools/ai/ai.class.js +112 -0
  213. package/bundle/typescript/src/tools/ai/ai.class.js.map +1 -0
  214. package/bundle/typescript/src/tools/fsi/fsi.interfaces.d.ts +1 -0
  215. package/bundle/typescript/src/tools/fsi/fsi.interfaces.js.map +1 -1
  216. package/bundle/typescript/src/tools/https/https.class.d.ts +2 -1
  217. package/bundle/typescript/src/tools/https/https.class.js +43 -0
  218. package/bundle/typescript/src/tools/https/https.class.js.map +1 -1
  219. package/bundle/typescript/src/tools/https/https.interface.d.ts +8 -0
  220. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"npc.js","sourceRoot":"","sources":["../../../../../../../src/commands/game/sideQuest/models/npc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,E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AC,KAAK,CAAC,GAAG,IAAI,CAAC,IAAI,yBAAyB,WAAW,EAAE,CAAC,CAAC;gBACtE,IAAI,CAAC;oBACH,IAAI,WAAW,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;wBAC3B,MAAM,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;oBAC9B,CAAC;gBACH,CAAC;gBAAC,OAAO,GAAG,EAAE,CAAC;oBACb,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,IAAI,+BAA+B,WAAW,MAAM,GAAG,EAAE,CAAC,CAAC;oBACrF,0DAA0D;gBAC5D,CAAC;YACH,CAAC;QACH,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,6BAA6B,GAAG,EAAE,CAAC,CAAC;YACtD,oEAAoE;YACpE,MAAM,CAAC,GAAG,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;YAC9D,MAAM,CAAC,CAAC;QACV,CAAC;IACH,CAAC"}
@@ -5,10 +5,63 @@ import { Room } from './room.js';
5
5
  import { Item } from './item.js';
6
6
  import { Inventory } from './inventory.js';
7
7
  import { AbstractPlayer } from '../types/shared/abstracts.js';
8
+ /**
9
+ * Shadowrun-style combat attributes, deliberately trimmed to the four that
10
+ * drive dice pools here: Body (soak + condition monitor size), Agility
11
+ * (attack pool), Reaction (defense pool), and a single flat combat skill
12
+ * (attack pool). Everything else a real character sheet would carry is out
13
+ * of scope until something actually needs it.
14
+ */
15
+ export type FightStance = 'manual' | 'guarded' | 'aggressive';
16
+ export declare const STANCE_CYCLE: FightStance[];
17
+ export type Plane = 'meat' | 'matrix' | 'astral';
18
+ export type SimMode = 'cold' | 'hot';
19
+ export interface ICombatAttributes {
20
+ body?: number;
21
+ agility?: number;
22
+ reaction?: number;
23
+ combatSkill?: number;
24
+ /**
25
+ * Innate magical talent -- 0 (the default) is mundane, like most of the
26
+ * Sixth World. An Awakened actor (magic > 0) knows every spell innately
27
+ * and casts from this attribute instead of needing formulas; see the
28
+ * magic section below.
29
+ */
30
+ magic?: number;
31
+ /** Melee/unarmed damage and carrying capacity. */
32
+ strength?: number;
33
+ /** Stun track size and drain resistance. */
34
+ willpower?: number;
35
+ /** First aid effectiveness; NPC hacking. */
36
+ logic?: number;
37
+ /** Defense pool (half, rounded down) and future perception checks. */
38
+ intuition?: number;
39
+ /** Social presence -- listed on the sheet now, mechanics to come. */
40
+ charisma?: number;
41
+ /** Luck: per-job pool of edge points, burned to push a strike (see edge.ts). */
42
+ edge?: number;
43
+ /**
44
+ * Technomancer talent -- 0 (the default) for everyone else. A resonance
45
+ * actor is a LIVING PERSONA: they jack into the Matrix with no deck and
46
+ * no commlink (their brain is the hardware), resonance boosts every
47
+ * Matrix pool, and ALL Matrix damage lands on their real stun track --
48
+ * there's no deck to brick, only a mind to burn.
49
+ */
50
+ resonance?: number;
51
+ /**
52
+ * Physical adept: magic channeled into the body instead of spells.
53
+ * Counts as Awakened (auras read them, assensing works) but they cast
54
+ * NOTHING -- not even from formulas -- and cannot astrally project.
55
+ * Instead, half their magic (rounded down) is added to their meat-plane
56
+ * attack and defense pools: improved reflexes, killing hands.
57
+ */
58
+ adept?: boolean;
59
+ }
8
60
  export interface IPlayerConstructorConfig {
9
61
  playerName: string;
10
62
  startLocation: Room;
11
63
  lifestyleChoices?: LifestyleChoices;
64
+ combat?: ICombatAttributes;
12
65
  }
13
66
  export declare class Player extends AbstractPlayer {
14
67
  readonly _playerName: string;
@@ -19,6 +72,67 @@ export declare class Player extends AbstractPlayer {
19
72
  protected _lifestyleChoices: LifestyleChoices;
20
73
  protected logger: Logger;
21
74
  private _currency;
75
+ activeCallPartner?: Player;
76
+ runningSilent: boolean;
77
+ combatOpponent?: Player;
78
+ lastExchangeAt: number;
79
+ inExchange: boolean;
80
+ autoStance: FightStance;
81
+ surrendered: boolean;
82
+ plane: Plane;
83
+ bodyRoom?: Room;
84
+ simMode?: SimMode;
85
+ astralTicks: number;
86
+ activeDeck?: Item;
87
+ /** The best working cyberdeck carried (bricked ones don't count). */
88
+ getCyberdeck(): Item | undefined;
89
+ /** Any deck at all, bricked included -- for status displays and repair. */
90
+ getAnyCyberdeck(): Item | undefined;
91
+ arOffline: boolean;
92
+ /**
93
+ * The PAN's master device: your slaved gear defends behind its
94
+ * firewall (SR slaving, simplified). Best working deck beats the
95
+ * equipped commlink; no devices = no PAN (and nothing to hack).
96
+ */
97
+ getPanMaster(): Item | undefined;
98
+ /**
99
+ * Defense against a PAN intrusion: Logic + the master's firewall
100
+ * (+2 while running silent -- a hidden PAN must be FOUND first).
101
+ */
102
+ getPanDefensePool(): number;
103
+ get matrixTaken(): number;
104
+ get maxMatrixBoxes(): number;
105
+ /** Routes Matrix combat damage into the jacked-in deck's hardware track. */
106
+ takeMatrixDamage(boxes: number): number;
107
+ get matrixCrashed(): boolean;
108
+ /** The deck track, same rendering as conditionSummary(). */
109
+ matrixSummary(): string;
110
+ /**
111
+ * Cross-plane perception, the single rule everything filters through:
112
+ * same plane sees same plane; the astral perceives the meat world
113
+ * (shifted, not gone -- auras and movement, dimly); meat and Matrix see
114
+ * nothing beyond their own plane. Used by see/hear guards, targeting,
115
+ * and room listings.
116
+ */
117
+ canPerceive(other: Player): boolean;
118
+ waitingForLull: boolean;
119
+ body: number;
120
+ agility: number;
121
+ reaction: number;
122
+ combatSkill: number;
123
+ magic: number;
124
+ strength: number;
125
+ willpower: number;
126
+ logic: number;
127
+ intuition: number;
128
+ charisma: number;
129
+ edge: number;
130
+ resonance: number;
131
+ adept: boolean;
132
+ edgeRemaining: number;
133
+ edgeBoostArmed: boolean;
134
+ private _damageTaken;
135
+ private _stunTaken;
22
136
  constructor(config: IPlayerConstructorConfig);
23
137
  private initializeEquipment;
24
138
  get name(): string;
@@ -50,6 +164,105 @@ export declare class Player extends AbstractPlayer {
50
164
  }) => void;
51
165
  enterRoom(room: Room): void;
52
166
  leaveRoom(): void;
167
+ private static readonly ARMOR_CATEGORIES;
168
+ get maxConditionBoxes(): number;
169
+ get damageTaken(): number;
170
+ get maxStunBoxes(): number;
171
+ get stunTaken(): number;
172
+ /**
173
+ * SR5 wound modifier: -1 die on every pool per 3 full boxes of damage,
174
+ * and the two tracks STACK -- being shot and drained both make you worse
175
+ * at everything, including not getting shot.
176
+ */
177
+ get woundModifier(): number;
178
+ /** Dead: the physical track is full. */
179
+ isDown(): boolean;
180
+ /** Out cold: the stun track is full (but not necessarily dead). */
181
+ isUnconscious(): boolean;
182
+ /** Out of the fight either way -- the gate every action should check. */
183
+ isIncapacitated(): boolean;
184
+ /** Applies damage boxes; returns the number actually taken. */
185
+ takeDamage(boxes: number): number;
186
+ /**
187
+ * Clears damage boxes; returns how many were actually healed (can be
188
+ * less than asked when the track is nearly clean). Healing also restores
189
+ * wound-modifier dice, since that's derived from damageTaken.
190
+ */
191
+ healDamage(boxes: number): number;
192
+ /**
193
+ * Applies stun boxes; anything past a full stun track OVERFLOWS into the
194
+ * physical track (SR's rule -- enough drain doesn't just knock you out,
195
+ * it starts killing you). Returns what landed where.
196
+ */
197
+ takeStun(boxes: number): {
198
+ stun: number;
199
+ overflow: number;
200
+ };
201
+ /** e.g. "■■■□□□□□□□ (3/10)" */
202
+ conditionSummary(): string;
203
+ /** Clears stun boxes; returns how many were actually recovered. */
204
+ healStun(boxes: number): number;
205
+ /** The stun track, same rendering as conditionSummary(). */
206
+ stunSummary(): string;
207
+ /**
208
+ * The weapon actually in hand (right hand first, then left), or bare
209
+ * fists. Damage value and the attack-pool bonus both come off the item's
210
+ * quality rating -- gear is the whole progression system in this game,
211
+ * so it has to be what combat power flows from.
212
+ */
213
+ getWeaponProfile(): {
214
+ name: string;
215
+ damage: number;
216
+ poolBonus: number;
217
+ };
218
+ /** Total soak dice from every equipped armor-category item. */
219
+ getArmorValue(): number;
220
+ getAttackPool(): number;
221
+ getDefensePool(): number;
222
+ getSoakPool(): number;
223
+ /**
224
+ * Initiative: Reaction + Intuition (straight SR), plus the AR edge from
225
+ * an equipped, ONLINE commlink -- the tactical overlay feeding you
226
+ * angles. Running silent kills the overlay along with the broadcast, so
227
+ * going dark costs you speed on the draw: the silent tradeoff grows
228
+ * teeth. Wounds and sustained spells slow you like everything else.
229
+ */
230
+ getInitiativePool(): number;
231
+ /**
232
+ * If an edge boost is armed (see commands/edge.ts), consume it: returns
233
+ * the bonus dice for the strike being rolled right now and disarms.
234
+ * Called by the strike-profile builders, so the boost lands on the next
235
+ * attack/subdue/manabolt this actor initiates.
236
+ */
237
+ consumeEdgeBoost(): number;
238
+ /** New job, fresh luck. */
239
+ refreshEdge(): void;
240
+ /** Base casting dice for a mundane casting from a formula/grimoire. */
241
+ private static readonly BASE_MAGIC_POOL;
242
+ /** Awakened: innate talent, no gear required. Adepts count -- their
243
+ * aura burns like any mage's, and assensing works -- but they channel
244
+ * magic into the body, not spells (see knowsSpell/isCaster). */
245
+ isAwakened(): boolean;
246
+ /** Technomancer: living persona -- the Matrix without a deck (see ICombatAttributes.resonance). */
247
+ isTechnomancer(): boolean;
248
+ private _sustainedArmor;
249
+ get sustainedArmor(): number;
250
+ setSustainedArmor(bonus: number): void;
251
+ get sustainingPenalty(): number;
252
+ /** The best Focus item on this actor, if any -- scales casting power. */
253
+ getBestFocus(): Item | undefined;
254
+ getMagicPool(): number;
255
+ /**
256
+ * Awakened actors know every spell innately. A mundane knows a spell if
257
+ * they carry its formula (item name must contain the spell's name) or
258
+ * any grimoire (a spellbook teaches everything).
259
+ */
260
+ knowsSpell(spellName: string): boolean;
261
+ /**
262
+ * The gate for attempting magic at all (ward bypass included): innate
263
+ * talent, or any magic gear.
264
+ */
265
+ isCaster(): boolean;
53
266
  get lifestyleChoices(): LifestyleChoices;
54
267
  set lifestyleChoices(choices: LifestyleChoices);
55
268
  get currency(): number;