briyah 2.0.1 → 2.0.2

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 (313) hide show
  1. package/README.md +19 -10
  2. package/data/common/config/markup +1 -1
  3. package/data/common/config/model_prices.json +46369 -46361
  4. package/data/common/config/rpg_models.json +60 -0
  5. package/data/common/prompts/narrator/create_chapter.prompt +12 -1
  6. package/data/common/prompts/pdf_converter/convert_pdf_page.prompt +8 -1
  7. package/data/common/prompts/perceive.prompt +287 -291
  8. package/data/packs/acts/agents/character-guide.json +6 -0
  9. package/data/packs/acts/agents/discipleship-mentor.json +6 -0
  10. package/data/packs/acts/agents/mentor-coach.json +6 -0
  11. package/data/packs/acts/agents/student.json +13 -0
  12. package/data/packs/acts/agents/table-moderator.json +6 -0
  13. package/data/packs/acts/artifacts/chapter-01-acts-1.md +405 -0
  14. package/data/packs/acts/artifacts/chapter-02-acts-2.md +443 -0
  15. package/data/packs/acts/artifacts/chapter-03-acts-3.md +409 -0
  16. package/data/packs/acts/artifacts/chapter-04-acts-4.md +438 -0
  17. package/data/packs/acts/artifacts/chapter-05-acts-5.md +434 -0
  18. package/data/packs/acts/artifacts/chapter-06-acts-6.md +441 -0
  19. package/data/packs/acts/artifacts/chapter-07-acts-7.md +472 -0
  20. package/data/packs/acts/artifacts/chapter-08-acts-8.md +512 -0
  21. package/data/packs/acts/artifacts/chapter-09-acts-9.md +346 -0
  22. package/data/packs/acts/artifacts/chapter-10-acts-10.md +367 -0
  23. package/data/packs/acts/artifacts/chapter-11-acts-11.md +391 -0
  24. package/data/packs/acts/artifacts/chapter-12-acts-12.md +390 -0
  25. package/data/packs/acts/artifacts/chapter-13-acts-13.md +388 -0
  26. package/data/packs/acts/artifacts/chapter-14-acts-14.md +466 -0
  27. package/data/packs/acts/artifacts/chapter-15-acts-15.md +413 -0
  28. package/data/packs/acts/artifacts/chapter-16-acts-16.md +585 -0
  29. package/data/packs/acts/artifacts/chapter-17-acts-17.md +428 -0
  30. package/data/packs/acts/artifacts/chapter-18-acts-18.md +486 -0
  31. package/data/packs/acts/artifacts/chapter-19-acts-19.md +461 -0
  32. package/data/packs/acts/artifacts/chapter-20-acts-20.md +389 -0
  33. package/data/packs/acts/artifacts/chapter-21-acts-21.md +452 -0
  34. package/data/packs/acts/artifacts/chapter-22-acts-22.md +424 -0
  35. package/data/packs/acts/artifacts/chapter-23-acts-23.md +395 -0
  36. package/data/packs/acts/artifacts/chapter-24-acts-24.md +446 -0
  37. package/data/packs/acts/artifacts/chapter-25-acts-25.md +391 -0
  38. package/data/packs/acts/artifacts/chapter-26-acts-26.md +431 -0
  39. package/data/packs/acts/artifacts/chapter-27-acts-27.md +530 -0
  40. package/data/packs/acts/artifacts/chapter-28-acts-28.md +1871 -0
  41. package/data/packs/acts/artifacts/chapters.manifest.json +170 -0
  42. package/data/packs/acts/artifacts/character_guide-creation.md +112 -0
  43. package/data/packs/acts/artifacts/discipleship_mentor-procedure.md +154 -0
  44. package/data/packs/acts/artifacts/discipleship_mentor-systems.md +72 -0
  45. package/data/packs/acts/artifacts/manifest.json +197 -0
  46. package/data/packs/acts/artifacts/stage-guide.md +94 -0
  47. package/data/packs/acts/pack.json +6 -0
  48. package/data/packs/acts/prompts/acts_player/defaults_config.json +5 -0
  49. package/data/packs/acts/prompts/acts_player/perceive.json +29 -0
  50. package/data/packs/acts/prompts/acts_player/perceive.prompt +87 -0
  51. package/data/packs/acts/prompts/acts_player/system_instruction.prompt +0 -0
  52. package/data/packs/acts/prompts/acts_room_moderator/defaults_config.json +9 -0
  53. package/data/packs/acts/prompts/acts_room_moderator/moderate.json +34 -0
  54. package/data/packs/acts/prompts/acts_room_moderator/moderate.prompt +70 -0
  55. package/data/packs/acts/prompts/acts_room_moderator/system_instruction.prompt +0 -0
  56. package/data/packs/acts/prompts/character_guide/defaults_config.json +18 -0
  57. package/data/packs/acts/prompts/character_guide/perceive.json +29 -0
  58. package/data/packs/acts/prompts/character_guide/perceive.prompt +140 -0
  59. package/data/packs/acts/prompts/character_guide/system_instruction.prompt +0 -0
  60. package/data/packs/acts/prompts/discipleship_mentor/defaults_config.json +23 -0
  61. package/data/packs/acts/prompts/discipleship_mentor/perceive.json +33 -0
  62. package/data/packs/acts/prompts/discipleship_mentor/perceive.prompt +245 -0
  63. package/data/packs/acts/prompts/discipleship_mentor/system_instruction.prompt +0 -0
  64. package/data/packs/acts/prompts/mentor_coach/defaults_config.json +13 -0
  65. package/data/packs/acts/prompts/mentor_coach/perceive.json +29 -0
  66. package/data/packs/acts/prompts/mentor_coach/perceive.prompt +87 -0
  67. package/data/packs/acts/prompts/mentor_coach/system_instruction.prompt +0 -0
  68. package/data/packs/acts/rooms/session.json +14 -0
  69. package/data/packs/acts/rooms/training.json +58 -0
  70. package/data/packs/dnd5e/artifacts/background-acolyte.md +66 -0
  71. package/data/packs/dnd5e/artifacts/character_creator-basics.md +31 -13
  72. package/data/packs/dnd5e/artifacts/class-barbarian.md +4 -1
  73. package/data/packs/dnd5e/artifacts/class-bard.md +2 -1
  74. package/data/packs/dnd5e/artifacts/class-cleric.md +2 -1
  75. package/data/packs/dnd5e/artifacts/class-druid.md +3 -1
  76. package/data/packs/dnd5e/artifacts/class-fighter.md +3 -1
  77. package/data/packs/dnd5e/artifacts/class-monk.md +2 -1
  78. package/data/packs/dnd5e/artifacts/class-paladin.md +2 -1
  79. package/data/packs/dnd5e/artifacts/class-ranger.md +3 -1
  80. package/data/packs/dnd5e/artifacts/class-rogue.md +3 -1
  81. package/data/packs/dnd5e/artifacts/class-sorcerer.md +2 -1
  82. package/data/packs/dnd5e/artifacts/class-warlock.md +3 -1
  83. package/data/packs/dnd5e/artifacts/class-wizard.md +2 -1
  84. package/data/packs/dnd5e/artifacts/manifest.json +6 -0
  85. package/data/packs/dnd5e/pack.json +1 -1
  86. package/data/packs/dnd5e/prompts/battle_master/perceive.prompt +491 -378
  87. package/data/packs/dnd5e/prompts/campaign_designer/perceive.prompt +24 -7
  88. package/data/packs/dnd5e/prompts/character_creator/defaults_config.json +2 -13
  89. package/data/packs/dnd5e/prompts/character_creator/perceive.prompt +217 -87
  90. package/data/packs/dnd5e/prompts/dnd_player/defaults_config.json +5 -5
  91. package/data/packs/dnd5e/prompts/dnd_player/perceive.prompt +18 -4
  92. package/data/packs/dnd5e/prompts/dnd_room_moderator/defaults_config.json +9 -9
  93. package/data/packs/dnd5e/prompts/dnd_room_moderator/moderate.prompt +13 -10
  94. package/data/packs/dnd5e/prompts/dungeon_master/defaults_config.json +32 -30
  95. package/data/packs/dnd5e/prompts/dungeon_master/perceive.prompt +794 -764
  96. package/data/packs/dnd5e/rooms/campaign.json +15 -0
  97. package/dist-sdk/server/src/ai/LLM/anthropic.service.d.ts +3 -0
  98. package/dist-sdk/server/src/ai/LLM/anthropic.service.js +40 -11
  99. package/dist-sdk/server/src/ai/LLM/base-ai.service.d.ts +1 -0
  100. package/dist-sdk/server/src/ai/LLM/base-ai.service.js +16 -0
  101. package/dist-sdk/server/src/ai/LLM/deepseek.service.js +5 -3
  102. package/dist-sdk/server/src/ai/agent-store.service.js +1 -1
  103. package/dist-sdk/server/src/ai/artifact.service.d.ts +2 -0
  104. package/dist-sdk/server/src/ai/artifact.service.js +6 -0
  105. package/dist-sdk/server/src/ai/pack-artifacts.d.ts +2 -0
  106. package/dist-sdk/server/src/ai/pack-artifacts.js +65 -8
  107. package/dist-sdk/server/src/app/user-service-factory.js +6 -1
  108. package/dist-sdk/server/src/app/user-service-manager.js +1 -1
  109. package/dist-sdk/server/src/app.controller.d.ts +9 -1
  110. package/dist-sdk/server/src/app.controller.js +123 -12
  111. package/dist-sdk/server/src/app.service.d.ts +23 -2
  112. package/dist-sdk/server/src/app.service.js +97 -106
  113. package/dist-sdk/server/src/auth/auth.controller.js +4 -0
  114. package/dist-sdk/server/src/auth/auth.service.d.ts +2 -1
  115. package/dist-sdk/server/src/auth/dto/phone-login.dto.d.ts +2 -1
  116. package/dist-sdk/server/src/documents/pdf-conversion.d.ts +43 -0
  117. package/dist-sdk/server/src/documents/pdf-conversion.js +175 -0
  118. package/dist-sdk/server/src/room/room-store.service.js +5 -1
  119. package/dist-sdk/server/src/room/room.d.ts +15 -2
  120. package/dist-sdk/server/src/room/room.js +82 -23
  121. package/dist-sdk/server/src/rpg/rpg-models.d.ts +9 -0
  122. package/dist-sdk/server/src/rpg/rpg-models.js +128 -0
  123. package/dist-sdk/server/src/rpg/rpg-roster.d.ts +10 -0
  124. package/dist-sdk/server/src/rpg/rpg-roster.js +71 -0
  125. package/dist-sdk/server/src/rpg/rpg.service.d.ts +29 -0
  126. package/dist-sdk/server/src/rpg/rpg.service.js +199 -0
  127. package/dist-sdk/server/src/sdk/index.d.ts +5 -2
  128. package/dist-sdk/server/src/sdk/index.js +8 -1
  129. package/dist-sdk/server/src/story/story.service.d.ts +2 -1
  130. package/dist-sdk/server/src/story/story.service.js +42 -4
  131. package/dist-sdk/server/src/tools/native-tool.types.d.ts +5 -0
  132. package/dist-sdk/server/src/tools/packs/acts/data/cards.d.ts +53 -0
  133. package/dist-sdk/server/src/tools/packs/acts/data/cards.js +54 -0
  134. package/dist-sdk/server/src/tools/packs/acts/data/character-cards.generated.d.ts +2 -0
  135. package/dist-sdk/server/src/tools/packs/acts/data/character-cards.generated.js +185 -0
  136. package/dist-sdk/server/src/tools/packs/acts/data/encounters.d.ts +12 -0
  137. package/dist-sdk/server/src/tools/packs/acts/data/encounters.js +102 -0
  138. package/dist-sdk/server/src/tools/packs/acts/data/event-cards.generated.d.ts +2 -0
  139. package/dist-sdk/server/src/tools/packs/acts/data/event-cards.generated.js +196 -0
  140. package/dist-sdk/server/src/tools/packs/acts/data/item-cards.generated.d.ts +2 -0
  141. package/dist-sdk/server/src/tools/packs/acts/data/item-cards.generated.js +1311 -0
  142. package/dist-sdk/server/src/tools/packs/acts/engine/cards.d.ts +5 -0
  143. package/dist-sdk/server/src/tools/packs/acts/engine/cards.js +27 -0
  144. package/dist-sdk/server/src/tools/packs/acts/engine/challenge.d.ts +37 -0
  145. package/dist-sdk/server/src/tools/packs/acts/engine/challenge.js +120 -0
  146. package/dist-sdk/server/src/tools/packs/acts/engine/dice.d.ts +20 -0
  147. package/dist-sdk/server/src/tools/packs/acts/engine/dice.js +41 -0
  148. package/dist-sdk/server/src/tools/packs/acts/engine/sheet.d.ts +54 -0
  149. package/dist-sdk/server/src/tools/packs/acts/engine/sheet.js +200 -0
  150. package/dist-sdk/server/src/tools/packs/acts/index.d.ts +2 -0
  151. package/dist-sdk/server/src/tools/packs/acts/index.js +24 -0
  152. package/dist-sdk/server/src/tools/packs/acts/tools/award.tool.d.ts +2 -0
  153. package/dist-sdk/server/src/tools/packs/acts/tools/award.tool.js +184 -0
  154. package/dist-sdk/server/src/tools/packs/acts/tools/challenge.tool.d.ts +2 -0
  155. package/dist-sdk/server/src/tools/packs/acts/tools/challenge.tool.js +107 -0
  156. package/dist-sdk/server/src/tools/packs/acts/tools/chapter.tool.d.ts +3 -0
  157. package/dist-sdk/server/src/tools/packs/acts/tools/chapter.tool.js +146 -0
  158. package/dist-sdk/server/src/tools/packs/acts/tools/check.tool.d.ts +4 -0
  159. package/dist-sdk/server/src/tools/packs/acts/tools/check.tool.js +241 -0
  160. package/dist-sdk/server/src/tools/packs/acts/tools/encounter.tool.d.ts +3 -0
  161. package/dist-sdk/server/src/tools/packs/acts/tools/encounter.tool.js +72 -0
  162. package/dist-sdk/server/src/tools/packs/acts/tools/faith.tool.d.ts +2 -0
  163. package/dist-sdk/server/src/tools/packs/acts/tools/faith.tool.js +75 -0
  164. package/dist-sdk/server/src/tools/packs/acts/tools/shared.d.ts +20 -0
  165. package/dist-sdk/server/src/tools/packs/acts/tools/shared.js +70 -0
  166. package/dist-sdk/server/src/tools/packs/acts/tools/sheet.tools.d.ts +4 -0
  167. package/dist-sdk/server/src/tools/packs/acts/tools/sheet.tools.js +215 -0
  168. package/dist-sdk/server/src/tools/packs/dnd5e/data/backgrounds.d.ts +0 -21
  169. package/dist-sdk/server/src/tools/packs/dnd5e/data/backgrounds.js +1 -56
  170. package/dist-sdk/server/src/tools/packs/dnd5e/data/cantrips.d.ts +10 -0
  171. package/dist-sdk/server/src/tools/packs/dnd5e/data/cantrips.js +67 -0
  172. package/dist-sdk/server/src/tools/packs/dnd5e/data/gear.d.ts +5 -0
  173. package/dist-sdk/server/src/tools/packs/dnd5e/data/gear.js +7 -1
  174. package/dist-sdk/server/src/tools/packs/dnd5e/engine/bestiary.js +4 -3
  175. package/dist-sdk/server/src/tools/packs/dnd5e/engine/cantrips.d.ts +6 -0
  176. package/dist-sdk/server/src/tools/packs/dnd5e/engine/cantrips.js +92 -0
  177. package/dist-sdk/server/src/tools/packs/dnd5e/engine/character.d.ts +32 -5
  178. package/dist-sdk/server/src/tools/packs/dnd5e/engine/character.js +177 -28
  179. package/dist-sdk/server/src/tools/packs/dnd5e/engine/coerce.d.ts +1 -13
  180. package/dist-sdk/server/src/tools/packs/dnd5e/engine/coerce.js +15 -145
  181. package/dist-sdk/server/src/tools/packs/dnd5e/engine/dice.d.ts +7 -0
  182. package/dist-sdk/server/src/tools/packs/dnd5e/engine/dice.js +11 -0
  183. package/dist-sdk/server/src/tools/packs/dnd5e/engine/encounter.d.ts +5 -0
  184. package/dist-sdk/server/src/tools/packs/dnd5e/engine/encounter.js +45 -2
  185. package/dist-sdk/server/src/tools/packs/dnd5e/engine/foes.js +3 -0
  186. package/dist-sdk/server/src/tools/packs/dnd5e/engine/guides.d.ts +21 -0
  187. package/dist-sdk/server/src/tools/packs/dnd5e/engine/guides.js +45 -0
  188. package/dist-sdk/server/src/tools/packs/dnd5e/engine/races.js +6 -4
  189. package/dist-sdk/server/src/tools/packs/dnd5e/engine/sheet.d.ts +17 -0
  190. package/dist-sdk/server/src/tools/packs/dnd5e/engine/sheet.js +56 -4
  191. package/dist-sdk/server/src/tools/packs/dnd5e/index.js +3 -0
  192. package/dist-sdk/server/src/tools/packs/dnd5e/tools/check.tool.js +117 -15
  193. package/dist-sdk/server/src/tools/packs/dnd5e/tools/class.tool.d.ts +2 -0
  194. package/dist-sdk/server/src/tools/packs/dnd5e/tools/class.tool.js +96 -0
  195. package/dist-sdk/server/src/tools/packs/dnd5e/tools/dice.tools.js +40 -3
  196. package/dist-sdk/server/src/tools/packs/dnd5e/tools/encounter.tool.js +36 -27
  197. package/dist-sdk/server/src/tools/packs/dnd5e/tools/monster.tool.js +7 -4
  198. package/dist-sdk/server/src/tools/packs/dnd5e/tools/shared.d.ts +15 -1
  199. package/dist-sdk/server/src/tools/packs/dnd5e/tools/shared.js +73 -0
  200. package/dist-sdk/server/src/tools/packs/dnd5e/tools/sheet.tools.js +40 -12
  201. package/dist-sdk/server/src/tools/packs/dnd5e/tools/state.tools.js +68 -2
  202. package/dist-sdk/server/src/tools/packs/dnd5e/tools/world.tools.d.ts +1 -0
  203. package/dist-sdk/server/src/tools/packs/dnd5e/tools/world.tools.js +119 -14
  204. package/dist-sdk/server/src/tools/packs/index.d.ts +2 -1
  205. package/dist-sdk/server/src/tools/packs/index.js +4 -1
  206. package/dist-sdk/server/src/tools/shared/coerce.d.ts +13 -0
  207. package/dist-sdk/server/src/tools/shared/coerce.js +147 -0
  208. package/dist-sdk/server/src/tools/tool-execution.service.d.ts +3 -2
  209. package/dist-sdk/server/src/tools/tool-execution.service.js +4 -1
  210. package/dist-sdk/shared/types/app.types.d.ts +64 -0
  211. package/dist-sdk/shared/types/app.types.js +2 -1
  212. package/docs/assets/hierarchy.js +1 -1
  213. package/docs/assets/navigation.js +1 -1
  214. package/docs/assets/search.js +1 -1
  215. package/docs/classes/Agent.html +73 -73
  216. package/docs/classes/Briyah.html +16 -16
  217. package/docs/classes/BriyahConfigService.html +7 -7
  218. package/docs/classes/NativeToolRegistry.html +10 -10
  219. package/docs/classes/PackInstantiationService.html +7 -7
  220. package/docs/classes/PackService.html +13 -13
  221. package/docs/classes/Room.html +118 -93
  222. package/docs/classes/RoomMessage.html +22 -22
  223. package/docs/enums/MessageAction.html +18 -18
  224. package/docs/functions/actsTools.html +44 -0
  225. package/docs/functions/availableToolPacks.html +4 -4
  226. package/docs/functions/buildMarkdown.html +54 -0
  227. package/docs/functions/dnd5eTools.html +4 -4
  228. package/docs/functions/installToolPacks.html +4 -4
  229. package/docs/functions/pageMarker.html +45 -0
  230. package/docs/functions/registerToolPacks.html +4 -4
  231. package/docs/functions/splitMarkdownIntoPages.html +51 -0
  232. package/docs/functions/stripWrappingFence.html +52 -0
  233. package/docs/hierarchy.html +13 -9
  234. package/docs/index.html +11 -8
  235. package/docs/interfaces/AgentCreationOptions.html +12 -12
  236. package/docs/interfaces/AgentInfo.html +30 -30
  237. package/docs/interfaces/AgentMessagesResponse.html +8 -8
  238. package/docs/interfaces/AppService.html +271 -196
  239. package/docs/interfaces/Artifact.html +9 -9
  240. package/docs/interfaces/ArtifactMetadata.html +13 -13
  241. package/docs/interfaces/ArtifactWriteOptions.html +7 -7
  242. package/docs/interfaces/AttachDocumentResponse.html +6 -6
  243. package/docs/interfaces/BriyahConfigOptions.html +12 -12
  244. package/docs/interfaces/ChapterInfo.html +6 -6
  245. package/docs/interfaces/Character.html +10 -10
  246. package/docs/interfaces/ConversionAgent.html +78 -0
  247. package/docs/interfaces/CreateAgentResponse.html +5 -5
  248. package/docs/interfaces/CreateRoomResponse.html +6 -6
  249. package/docs/interfaces/CreateStoryResponse.html +5 -5
  250. package/docs/interfaces/FileList.html +5 -5
  251. package/docs/interfaces/FileMetadata.html +10 -10
  252. package/docs/interfaces/IConfigService.html +5 -5
  253. package/docs/interfaces/InstantiateModels.html +6 -6
  254. package/docs/interfaces/InstantiateRoomResult.html +7 -7
  255. package/docs/interfaces/LoadedPack.html +16 -16
  256. package/docs/interfaces/LoggingOptions.html +9 -9
  257. package/docs/interfaces/Message.html +9 -9
  258. package/docs/interfaces/ModelChoice.html +7 -7
  259. package/docs/interfaces/ModelInfo.html +8 -8
  260. package/docs/interfaces/NativeToolDefinition.html +10 -10
  261. package/docs/interfaces/PackAgentTemplate.html +9 -9
  262. package/docs/interfaces/PackRoomTemplate.html +11 -11
  263. package/docs/interfaces/PackView.html +20 -20
  264. package/docs/interfaces/PdfConversionOptions.html +102 -0
  265. package/docs/interfaces/PdfConversionResult.html +97 -0
  266. package/docs/interfaces/PdfMarkdownOptions.html +198 -0
  267. package/docs/interfaces/PdfMarkdownResult.html +106 -0
  268. package/docs/interfaces/PdfPageMarkdown.html +94 -0
  269. package/docs/interfaces/PreparedPromptResponse.html +6 -6
  270. package/docs/interfaces/ProcessTextResponse.html +10 -10
  271. package/docs/interfaces/PromptFile.html +7 -7
  272. package/docs/interfaces/PromptFileContent.html +8 -8
  273. package/docs/interfaces/PromptFilesResponse.html +5 -5
  274. package/docs/interfaces/PromptFolder.html +8 -8
  275. package/docs/interfaces/PromptFolderDefaults.html +19 -19
  276. package/docs/interfaces/PromptFolderDefaultsResponse.html +7 -7
  277. package/docs/interfaces/PromptFoldersResponse.html +5 -5
  278. package/docs/interfaces/RoomDetails.html +19 -19
  279. package/docs/interfaces/RoomErrorUpdate.html +8 -8
  280. package/docs/interfaces/RoomInfo.html +10 -10
  281. package/docs/interfaces/RoomMessageUpdate.html +13 -13
  282. package/docs/interfaces/RoomMessagesResponse.html +6 -6
  283. package/docs/interfaces/SendMessageResult.html +6 -6
  284. package/docs/interfaces/StoryErrorEvent.html +8 -8
  285. package/docs/interfaces/StoryIdea.html +8 -8
  286. package/docs/interfaces/StoryInfo.html +28 -28
  287. package/docs/interfaces/StoryIntroduceCharacterEvent.html +7 -7
  288. package/docs/interfaces/StoryProgressChapterEvent.html +6 -6
  289. package/docs/interfaces/StoryState.html +12 -12
  290. package/docs/interfaces/StoryStateEvent.html +7 -7
  291. package/docs/interfaces/ToolArtifact.html +9 -9
  292. package/docs/interfaces/ToolCaller.html +7 -7
  293. package/docs/interfaces/ToolDefinition.html +9 -9
  294. package/docs/interfaces/ToolHelpers.html +17 -8
  295. package/docs/interfaces/ToolPackDocuments.html +100 -0
  296. package/docs/interfaces/ToolParameter.html +8 -8
  297. package/docs/interfaces/ToolRoomAccess.html +14 -14
  298. package/docs/interfaces/ToolSummary.html +8 -8
  299. package/docs/interfaces/ToolsResponse.html +7 -7
  300. package/docs/interfaces/Transaction.html +13 -13
  301. package/docs/interfaces/TransactionHistoryResponse.html +6 -6
  302. package/docs/modules.html +8 -8
  303. package/docs/types/PackOrigin.html +4 -4
  304. package/docs/types/PromptScope.html +4 -4
  305. package/docs/types/RoomTurnMode.html +4 -4
  306. package/docs/types/RoomUpdate.html +4 -4
  307. package/docs/types/RosterOverrides.html +4 -4
  308. package/docs/types/ToolContext.html +4 -4
  309. package/docs/types/ToolRunResult.html +4 -4
  310. package/package.json +1 -1
  311. package/src/tools/packs/dnd5e/README.md +147 -66
  312. package/dist-sdk/server/src/tools/packs/dnd5e/engine/backgrounds.d.ts +0 -20
  313. package/dist-sdk/server/src/tools/packs/dnd5e/engine/backgrounds.js +0 -112
@@ -0,0 +1,170 @@
1
+ [
2
+ {
3
+ "id": "chapter-01",
4
+ "file": "chapter-01-acts-1.md",
5
+ "name": "Acts 1 — The Promise",
6
+ "description": "Session script for Acts 1: 13 scenes, 7 checks, 0 multi-roll scene(s), 4 item seed(s). Read by the Disciple Mentor through the chapter tool — it needs attaching to nobody."
7
+ },
8
+ {
9
+ "id": "chapter-02",
10
+ "file": "chapter-02-acts-2.md",
11
+ "name": "Acts 2 — The Day of Pentecost",
12
+ "description": "Session script for Acts 2: 14 scenes, 10 checks, 1 multi-roll scene(s), 4 item seed(s). Read by the Disciple Mentor through the chapter tool — it needs attaching to nobody."
13
+ },
14
+ {
15
+ "id": "chapter-03",
16
+ "file": "chapter-03-acts-3.md",
17
+ "name": "Acts 3 — The church has begun growing in Jerusalem. The apostles continue teaching and praying daily.",
18
+ "description": "Session script for Acts 3: 15 scenes, 10 checks, 1 multi-roll scene(s), 3 item seed(s). Read by the Disciple Mentor through the chapter tool — it needs attaching to nobody."
19
+ },
20
+ {
21
+ "id": "chapter-04",
22
+ "file": "chapter-04-acts-4.md",
23
+ "name": "Acts 4",
24
+ "description": "Session script for Acts 4: 12 scenes, 10 checks, 1 multi-roll scene(s), 4 item seed(s). Read by the Disciple Mentor through the chapter tool — it needs attaching to nobody."
25
+ },
26
+ {
27
+ "id": "chapter-05",
28
+ "file": "chapter-05-acts-5.md",
29
+ "name": "Acts 5 — Truth and Power",
30
+ "description": "Session script for Acts 5: 10 scenes, 8 checks, 0 multi-roll scene(s), 4 item seed(s). Read by the Disciple Mentor through the chapter tool — it needs attaching to nobody."
31
+ },
32
+ {
33
+ "id": "chapter-06",
34
+ "file": "chapter-06-acts-6.md",
35
+ "name": "Acts 6",
36
+ "description": "Session script for Acts 6: 18 scenes, 9 checks, 0 multi-roll scene(s), 5 item seed(s). Read by the Disciple Mentor through the chapter tool — it needs attaching to nobody."
37
+ },
38
+ {
39
+ "id": "chapter-07",
40
+ "file": "chapter-07-acts-7.md",
41
+ "name": "Acts 7 — The Witness Who Shines",
42
+ "description": "Session script for Acts 7: 14 scenes, 8 checks, 1 multi-roll scene(s), 6 item seed(s). Read by the Disciple Mentor through the chapter tool — it needs attaching to nobody."
43
+ },
44
+ {
45
+ "id": "chapter-08",
46
+ "file": "chapter-08-acts-8.md",
47
+ "name": "Acts 8 — The Gospel Spreads",
48
+ "description": "Session script for Acts 8: 10 scenes, 9 checks, 0 multi-roll scene(s), 6 item seed(s). Read by the Disciple Mentor through the chapter tool — it needs attaching to nobody."
49
+ },
50
+ {
51
+ "id": "chapter-09",
52
+ "file": "chapter-09-acts-9.md",
53
+ "name": "Acts 9",
54
+ "description": "Session script for Acts 9: 9 scenes, 11 checks, 0 multi-roll scene(s), 1 item seed(s). Read by the Disciple Mentor through the chapter tool — it needs attaching to nobody."
55
+ },
56
+ {
57
+ "id": "chapter-10",
58
+ "file": "chapter-10-acts-10.md",
59
+ "name": "Acts 10",
60
+ "description": "Session script for Acts 10: 6 scenes, 7 checks, 0 multi-roll scene(s), 0 item seed(s). Read by the Disciple Mentor through the chapter tool — it needs attaching to nobody."
61
+ },
62
+ {
63
+ "id": "chapter-11",
64
+ "file": "chapter-11-acts-11.md",
65
+ "name": "Acts 11 — Explaining the Impossible",
66
+ "description": "Session script for Acts 11: 10 scenes, 5 checks, 1 multi-roll scene(s), 2 item seed(s). Read by the Disciple Mentor through the chapter tool — it needs attaching to nobody."
67
+ },
68
+ {
69
+ "id": "chapter-12",
70
+ "file": "chapter-12-acts-12.md",
71
+ "name": "Acts 12 — Chains Fall in the Night",
72
+ "description": "Session script for Acts 12: 6 scenes, 7 checks, 1 multi-roll scene(s), 2 item seed(s). Read by the Disciple Mentor through the chapter tool — it needs attaching to nobody."
73
+ },
74
+ {
75
+ "id": "chapter-13",
76
+ "file": "chapter-13-acts-13.md",
77
+ "name": "Acts 13 — Sent by the Spirit",
78
+ "description": "Session script for Acts 13: 3 scenes, 8 checks, 1 multi-roll scene(s), 4 item seed(s). Read by the Disciple Mentor through the chapter tool — it needs attaching to nobody."
79
+ },
80
+ {
81
+ "id": "chapter-14",
82
+ "file": "chapter-14-acts-14.md",
83
+ "name": "Acts 14 — Miracles, Mobs, and Perseverance",
84
+ "description": "Session script for Acts 14: 7 scenes, 6 checks, 0 multi-roll scene(s), 4 item seed(s). Read by the Disciple Mentor through the chapter tool — it needs attaching to nobody."
85
+ },
86
+ {
87
+ "id": "chapter-15",
88
+ "file": "chapter-15-acts-15.md",
89
+ "name": "Acts 15 — The Jerusalem Council",
90
+ "description": "Session script for Acts 15: 12 scenes, 3 checks, 1 multi-roll scene(s), 3 item seed(s). Read by the Disciple Mentor through the chapter tool — it needs attaching to nobody."
91
+ },
92
+ {
93
+ "id": "chapter-16",
94
+ "file": "chapter-16-acts-16.md",
95
+ "name": "Acts 16 — Songs in the Night",
96
+ "description": "Session script for Acts 16: 12 scenes, 11 checks, 0 multi-roll scene(s), 6 item seed(s). Read by the Disciple Mentor through the chapter tool — it needs attaching to nobody."
97
+ },
98
+ {
99
+ "id": "chapter-17",
100
+ "file": "chapter-17-acts-17.md",
101
+ "name": "Acts 17 — Truth in the Marketplace",
102
+ "description": "Session script for Acts 17: 10 scenes, 4 checks, 1 multi-roll scene(s), 4 item seed(s). Read by the Disciple Mentor through the chapter tool — it needs attaching to nobody."
103
+ },
104
+ {
105
+ "id": "chapter-18",
106
+ "file": "chapter-18-acts-18.md",
107
+ "name": "Acts 18 — Building the Church",
108
+ "description": "Session script for Acts 18: 13 scenes, 8 checks, 0 multi-roll scene(s), 5 item seed(s). Read by the Disciple Mentor through the chapter tool — it needs attaching to nobody."
109
+ },
110
+ {
111
+ "id": "chapter-19",
112
+ "file": "chapter-19-acts-19.md",
113
+ "name": "Acts 19 — Power in the Name of Jesus",
114
+ "description": "Session script for Acts 19: 18 scenes, 9 checks, 1 multi-roll scene(s), 5 item seed(s). Read by the Disciple Mentor through the chapter tool — it needs attaching to nobody."
115
+ },
116
+ {
117
+ "id": "chapter-20",
118
+ "file": "chapter-20-acts-20.md",
119
+ "name": "Acts 20",
120
+ "description": "Session script for Acts 20: 11 scenes, 11 checks, 1 multi-roll scene(s), 6 item seed(s). Read by the Disciple Mentor through the chapter tool — it needs attaching to nobody."
121
+ },
122
+ {
123
+ "id": "chapter-21",
124
+ "file": "chapter-21-acts-21.md",
125
+ "name": "Acts 21 — The Cost of Obedience",
126
+ "description": "Session script for Acts 21: 13 scenes, 8 checks, 0 multi-roll scene(s), 6 item seed(s). Read by the Disciple Mentor through the chapter tool — it needs attaching to nobody."
127
+ },
128
+ {
129
+ "id": "chapter-22",
130
+ "file": "chapter-22-acts-22.md",
131
+ "name": "Acts 22 — My Story",
132
+ "description": "Session script for Acts 22: 13 scenes, 9 checks, 1 multi-roll scene(s), 2 item seed(s). Read by the Disciple Mentor through the chapter tool — it needs attaching to nobody."
133
+ },
134
+ {
135
+ "id": "chapter-23",
136
+ "file": "chapter-23-acts-23.md",
137
+ "name": "Acts 23 — The Plot",
138
+ "description": "Session script for Acts 23: 3 scenes, 7 checks, 0 multi-roll scene(s), 4 item seed(s). Read by the Disciple Mentor through the chapter tool — it needs attaching to nobody."
139
+ },
140
+ {
141
+ "id": "chapter-24",
142
+ "file": "chapter-24-acts-24.md",
143
+ "name": "Acts 24",
144
+ "description": "Session script for Acts 24: 11 scenes, 7 checks, 1 multi-roll scene(s), 3 item seed(s). Read by the Disciple Mentor through the chapter tool — it needs attaching to nobody."
145
+ },
146
+ {
147
+ "id": "chapter-25",
148
+ "file": "chapter-25-acts-25.md",
149
+ "name": "Acts 25 — Appeal to Caesar",
150
+ "description": "Session script for Acts 25: 13 scenes, 7 checks, 0 multi-roll scene(s), 3 item seed(s). Read by the Disciple Mentor through the chapter tool — it needs attaching to nobody."
151
+ },
152
+ {
153
+ "id": "chapter-26",
154
+ "file": "chapter-26-acts-26.md",
155
+ "name": "Acts 26",
156
+ "description": "Session script for Acts 26: 11 scenes, 6 checks, 1 multi-roll scene(s), 2 item seed(s). Read by the Disciple Mentor through the chapter tool — it needs attaching to nobody."
157
+ },
158
+ {
159
+ "id": "chapter-27",
160
+ "file": "chapter-27-acts-27.md",
161
+ "name": "Acts 27 — The Storm",
162
+ "description": "Session script for Acts 27: 15 scenes, 13 checks, 1 multi-roll scene(s), 3 item seed(s). Read by the Disciple Mentor through the chapter tool — it needs attaching to nobody."
163
+ },
164
+ {
165
+ "id": "chapter-28",
166
+ "file": "chapter-28-acts-28.md",
167
+ "name": "Acts 28 — To the Ends of the Earth",
168
+ "description": "Session script for Acts 28: 22 scenes, 12 checks, 0 multi-roll scene(s), 4 item seed(s). Read by the Disciple Mentor through the chapter tool — it needs attaching to nobody."
169
+ }
170
+ ]
@@ -0,0 +1,112 @@
1
+ # Acts Adventure — Session Zero and character creation
2
+
3
+ How to build a character with a student who has probably never played a role-playing game.
4
+
5
+ The whole thing should take a few minutes per student. Characters do **not** need complicated
6
+ backstories, and saying so out loud takes the pressure off.
7
+
8
+ ## What a character is
9
+
10
+ A follower of Jesus living during the time of the early church. **Not** one of the apostles: an
11
+ ordinary person who trusts God, helps others, and shares the good news — someone who travels with
12
+ the apostles, witnesses what happens, and takes part.
13
+
14
+ That framing matters. The apostles' story is fixed by Acts; the student's character is free.
15
+
16
+ ## Step 1 — Explain what a role-playing game is
17
+
18
+ A cooperative storytelling game. Each student controls one character. The Disciple Mentor
19
+ describes what is happening; the students decide what their characters do. Sometimes it simply
20
+ works, and sometimes the dice decide.
21
+
22
+ Nobody wins. The group experiences the story together.
23
+
24
+ ## Step 2 — Who is the character?
25
+
26
+ Ask for a name and a role in the first-century world. Offer examples if they are stuck:
27
+
28
+ - a fisherman from Galilee
29
+ - a merchant from Jerusalem
30
+ - a traveller who heard Peter preach
31
+ - a former temple worker
32
+ - a widow of Joppa
33
+ - a household servant in a Roman house
34
+ - a young student of the synagogue
35
+ - a dyer, a tentmaker, a potter
36
+
37
+ Anything ordinary and first-century works. Resist the urge to make it elaborate.
38
+
39
+ ## Step 3 — The five attributes
40
+
41
+ | Attribute | What it means |
42
+ |---|---|
43
+ | **Faith** | Trusting God, praying, and believing his promises |
44
+ | **Compassion** | Helping people, caring for the poor, encouraging others |
45
+ | **Knowledge** | Understanding Scripture and explaining truth |
46
+ | **Wisdom** | Making wise decisions and recognising what is right |
47
+ | **Courage** | Standing firm during danger or persecution |
48
+
49
+ Explain that when the Mentor asks for a roll, they roll a d20 and add the attribute that fits.
50
+
51
+ ## Step 4 — Assign the scores
52
+
53
+ Every character distributes exactly these five numbers:
54
+
55
+ > **+3, +2, +2, +1, +1**
56
+
57
+ The simplest way to ask it:
58
+
59
+ 1. "What is your character *best* at?" → that one gets **+3**.
60
+ 2. "What two things are they *good* at?" → those get **+2** each.
61
+ 3. The remaining two get **+1**.
62
+
63
+ Example:
64
+
65
+ ```
66
+ Faith +3 Compassion +2 Knowledge +2 Wisdom +1 Courage +1
67
+ ```
68
+
69
+ Say what it means: "This shows what your character is naturally good at." There is no wrong
70
+ spread, and no attribute is a dump stat — every one of the five gets rolled during the campaign.
71
+
72
+ `create_character` refuses any other distribution, so there is nothing to remember beyond the five
73
+ numbers.
74
+
75
+ ## Step 5 — The starting ability
76
+
77
+ Every character begins with the same one:
78
+
79
+ > **Faithful Witness** — Once per session, you may reroll a failed Faith roll when sharing the
80
+ > gospel.
81
+
82
+ Explain it as "the courage and faith of the early believers".
83
+
84
+ ## Step 6 — Faith Points
85
+
86
+ Tell them they will earn Faith Points during the story for acting courageously, helping others,
87
+ sharing the message of Jesus, and completing important story events. A point can be spent to
88
+ reroll a failed roll or to add +2 to one. They can hold ten.
89
+
90
+ They start with none. The first one usually arrives in the first scene.
91
+
92
+ ## Step 7 — A warm-up question
93
+
94
+ Optional, and worth the minute it takes:
95
+
96
+ > "What made your character decide to follow Jesus?"
97
+
98
+ It gets a student thinking in character before the first scene, which is much harder to do cold.
99
+
100
+ ## Checklist before play begins
101
+
102
+ - The student understands they say what their character *attempts*, not what happens.
103
+ - They know the five attributes.
104
+ - Their sheet exists, with the +3/+2/+2/+1/+1 spread.
105
+ - They know what Faith Points are and how to earn them.
106
+ - They know the story begins in Jerusalem, after Jesus has risen.
107
+
108
+ ## Levelling up
109
+
110
+ There is none. Characters grow by collecting abilities, items and cards during the story, not by
111
+ gaining levels or raising attributes. The "Level" printed on each chapter script is a note to the
112
+ Disciple Mentor about where the campaign has reached, and has no effect on a character.
@@ -0,0 +1,154 @@
1
+ # Acts Adventure — Disciple Mentor procedure
2
+
3
+ Everything a Disciple Mentor needs during play that is not in the chapter script. The chapter
4
+ script tells you *what happens*; this tells you *how to run it*.
5
+
6
+ ## The goal, which decides every other question
7
+
8
+ **The goal of this adventure is to make the details in Acts memorable for the students.**
9
+
10
+ Extra detail during the game which is not in the Bible is not important. Facts from Acts are.
11
+ Colour a scene as much as you like — the smell of the fish market, the noise of a crowd — but
12
+ never let invention crowd out the real thing, and never present something you made up as though
13
+ Scripture said it.
14
+
15
+ The Book of Acts is the story of **God working through ordinary believers**. Everything below
16
+ serves that.
17
+
18
+ ## The session, in six steps
19
+
20
+ 1. **Read the Scripture passage.** The chapter script gives you the verses.
21
+ 2. **Describe the scene.** Two or three sentences: where they are, what they see, what is
22
+ happening.
23
+ 3. **Ask what they do.** Name one student. Never ask the group and wait.
24
+ 4. **Ask for a roll** when the action is difficult.
25
+ 5. **Explain the result.**
26
+ 6. **Continue the story.**
27
+
28
+ Finish by reading the chapter of Acts you have just played, now that the students know the story
29
+ from the inside.
30
+
31
+ ## Difficulty
32
+
33
+ | Difficulty | DC |
34
+ |---|---|
35
+ | Easy | 10–11 |
36
+ | Normal | 12–13 |
37
+ | Hard | 14–15 |
38
+ | Very Hard | 16+ |
39
+
40
+ Most rolls in this game are **DC 11–13**. When the chapter script names a DC, use it. When a
41
+ student tries something the script never anticipated, pick a band and move on — a slightly wrong
42
+ DC costs nothing, and stopping to deliberate costs the table's attention.
43
+
44
+ A roll succeeds when the total **equals or beats** the DC.
45
+
46
+ ## Which attribute
47
+
48
+ | Attribute | Used when a character is… |
49
+ |---|---|
50
+ | **Faith** | Praying, preaching, trusting God during a miracle, obeying an instruction from God |
51
+ | **Compassion** | Helping the poor, caring for the sick, encouraging a believer, showing kindness |
52
+ | **Knowledge** | Explaining a passage, answering a question about faith, debating an opponent |
53
+ | **Wisdom** | Solving a problem, recognising deception, making a leadership decision |
54
+ | **Courage** | Facing persecution, standing before leaders, staying faithful in danger |
55
+
56
+ If two fit, let the student pick — they know what their character is good at, and asking gives
57
+ them a decision.
58
+
59
+ ## Success and failure
60
+
61
+ **Success:** the action works, the story moves forward, something good happens. A successful
62
+ Faith roll might mean a crowd listens carefully, a miracle inspires people, or someone believes.
63
+
64
+ **Failure does not stop the story.** It means the crowd becomes confused, the leaders become
65
+ angry, or the students must try another approach. Describe what happens next and keep going.
66
+ Never let a failed roll end a scene with nothing happening, and never let it remove a student
67
+ from play.
68
+
69
+ This is the single most common mistake a new Disciple Mentor makes.
70
+
71
+ ## Faith Points
72
+
73
+ Faith Points represent spiritual growth and trust in God. They are the main way a student feels
74
+ that their choices mattered, so award them out loud and say why:
75
+
76
+ > "You chose to pray instead of panic. Gain 1 Faith Point."
77
+
78
+ **Award one when a student:**
79
+
80
+ - trusts God in a difficult situation, prays when facing uncertainty, or believes instead of
81
+ fearing;
82
+ - explains the gospel, speaks about Jesus, or defends their faith;
83
+ - stands firm during persecution or continues despite threats;
84
+ - helps someone in need, encourages a believer, or shows generosity;
85
+ - follows God's guidance, or makes a difficult but right choice.
86
+
87
+ **How many:** +1 for most actions, +2 for a major story moment. At the end of a chapter, one to
88
+ everyone, or one or two to whoever was especially engaged.
89
+
90
+ **Aim for 2–5 per student per session.** More than that and they stop meaning anything.
91
+
92
+ **The cap is 10**, which is what the ten boxes on the paper sheet are. It exists to stop hoarding
93
+ — if a student is sitting at ten, tell them to spend one.
94
+
95
+ **Spending:** a student may spend a Faith Point to reroll **any** failed roll, to add +2 to a
96
+ roll, to activate an item ability, or to influence a story outcome at your discretion.
97
+
98
+ If you are unsure, ask yourself: *did this action reflect faith, courage, or obedience?* If yes,
99
+ award one. Do not overthink it.
100
+
101
+ ## Items and cards
102
+
103
+ Items represent important moments in the story. Award them at the moments the chapter script
104
+ marks, and say what the moment was.
105
+
106
+ - A student may use **one item card per roll**.
107
+ - They must say so **before** the die is rolled.
108
+ - Bonuses **stack** — an item's +2 and a Faith Point's +2 both apply.
109
+ - Cards may be **shared**: a student may spend their card on another student's roll. Encourage
110
+ this; it is the cooperative heart of the game.
111
+ - A one-use card is spent when used and goes to the discard pile. You may let it return later
112
+ after a fitting scene — prayer tokens after a prayer scene, for instance.
113
+
114
+ Some cards have no fixed bonus. Their text tells you what they do, and you rule on it in the
115
+ moment.
116
+
117
+ ## Multi-roll scenes
118
+
119
+ Sermons, testimonies, courtroom defences and the storm at sea use several rolls: a number of
120
+ successes before a number of failures. The chapter script gives you the exact numbers, and they
121
+ differ from scene to scene — Peter's sermon in Acts 2 is three successes before one failure at
122
+ DC 12; Stephen's testimony in Acts 7 is four before two at DC 13.
123
+
124
+ Never keep the tally in your head. Start the scene and let the running total be visible to the
125
+ whole table.
126
+
127
+ ## When students go off the script
128
+
129
+ They will. A student wants to talk to a character the script never mentioned, or go somewhere it
130
+ does not describe.
131
+
132
+ **Do not block them.** Let them try, roll for it, and steer the consequence back toward what
133
+ actually happened in Acts. If you need a small unscripted moment, use the encounter generator
134
+ rather than inventing a difficulty on the spot.
135
+
136
+ If a student proposes something that contradicts the text — "I stop Stephen from being killed" —
137
+ let them attempt it, let the dice answer, and narrate the outcome the way Acts records it. Their
138
+ character can grieve, protest, or carry the story forward; the events of Acts still happen.
139
+
140
+ ## Running it for young people
141
+
142
+ - **Show emotion.** A monotone, robotic mentor makes this miserable. Read the crowd's anger
143
+ angrily. Pause before the miracle.
144
+ - **Be prepared.** Read the chapter and the script before the session.
145
+ - **Include everyone by name.** If a student has been quiet for two scenes, call on them with
146
+ something easy to answer.
147
+ - **Be flexible.** If a student suggests something creative, let them try it.
148
+ - **Do not worry about mistakes.** The goal is to explore the story of Acts together and grow in
149
+ understanding it.
150
+
151
+ ## Ending a campaign
152
+
153
+ The campaign ends when the gospel reaches Rome — but the mission of the church continues today,
154
+ and that is worth saying out loud at the last session.
@@ -0,0 +1,72 @@
1
+ # Acts Adventure — the named systems
2
+
3
+ The curriculum names several "game systems". They are not separate rule sets: every one of them
4
+ is either a single attribute check or a **progress clock** — roll repeatedly, count successes and
5
+ failures, stop when either total is reached.
6
+
7
+ What differs between them is the numbers, and **the numbers live in the chapter script**, not
8
+ here. Acts 2's sermon is three successes before one failure at DC 12; Acts 7's testimony is four
9
+ before two at DC 13; Acts 26's speech before Agrippa is four before two at DC 14. Read the
10
+ chapter, use its numbers.
11
+
12
+ ## The clock systems
13
+
14
+ Start these with the `challenge` tool and roll each part with `roll_check` and
15
+ `"challenge": true`. The tally is then visible to the whole table and cannot drift.
16
+
17
+ | System | Shape | Where it appears |
18
+ |---|---|---|
19
+ | **Testimony / Sermon** | N successes before M failures. Each success is one part of the speech. | Peter's sermons (Acts 2, 3), Stephen's defence (Acts 7), Paul's speeches (Acts 22, 26) |
20
+ | **Royal Speech** | The same, at a higher DC, before a ruler. | Acts 26 before Agrippa |
21
+ | **Accusation vs Defense** | Fixed rounds rather than a race — each round is one roll, and the tally at the end decides. | Acts 24, 25 before Felix and Festus |
22
+ | **Storm Survival** | Fixed phases, one roll each. Failure does not end it; the count at the end is the outcome. | Acts 27 |
23
+ | **Church Leadership** | N successes to resolve a dispute or choose leaders. Wisdom, Compassion and Knowledge are the usual attributes. | Acts 6 (the Seven), Acts 15 (the Jerusalem Council) |
24
+ | **City Response** | Rolls as the players preach in a new city; the total decides how the city receives them. | The missionary journeys, Acts 13–20 |
25
+
26
+ Evidence and items collected earlier give bonuses during trials — that is what makes the
27
+ courtroom chapters pay off the earlier ones. The chapter script names which card applies.
28
+
29
+ ## The single-roll systems
30
+
31
+ These need no clock; they are one check, and they are named only so the chapter scripts can refer
32
+ to them.
33
+
34
+ **Miracle System.** A miracle happens when a character trusts God at an important moment. Call
35
+ for a **Faith** roll and let the result shape how the miracle lands in the story — not whether
36
+ God acts, but how the people around them respond. Use miracles to reinforce the message of the
37
+ gospel, never as combat power.
38
+
39
+ **Persecution System.** When authorities oppose the believers, the characters respond with
40
+ **Courage**, **Wisdom** or **Faith** — let the student choose which, since the choice is the
41
+ interesting part. Failure may mean imprisonment, threats or a beating. Success often means the
42
+ church is strengthened and the gospel spreads further. Neither outcome ends anyone's story.
43
+
44
+ **Travel.** Missionary journeys use **Knowledge** and **Wisdom** rolls to guide decisions about
45
+ routes, weather and resources.
46
+
47
+ ## The encounter generator
48
+
49
+ For a moment the script does not cover — the players travel somewhere new, ask an unexpected
50
+ question, or the scene needs something to happen. The `random_encounter` tool rolls it: 1d6 for a
51
+ category, 1d6 for the event, and the category fixes the attribute and DC.
52
+
53
+ | 1d6 | Category | Roll |
54
+ |---|---|---|
55
+ | 1 | Miracle Moment | Faith DC 11 |
56
+ | 2 | Crowd Encounter | Faith DC 11 |
57
+ | 3 | Persecution | Courage DC 12 |
58
+ | 4 | Teaching Opportunity | Knowledge DC 11 |
59
+ | 5 | Travel Event | Wisdom DC 11 |
60
+ | 6 | Divine Guidance | Faith DC 10 |
61
+
62
+ After a successful encounter, a 5 or 6 on 1d6 means the players find an item card.
63
+
64
+ Encounters should **support** the story of Acts, not distract from it. Use them to encourage
65
+ role-playing and conversation, not to fill time.
66
+
67
+ ## Card rules that apply everywhere
68
+
69
+ - One item card per roll, declared before rolling.
70
+ - A card's bonus and a Faith Point stack.
71
+ - Cards may be shared with another student.
72
+ - One-use cards go to the discard pile, and may return later if a scene fits.