narrat 2.6.3 → 2.6.4

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.
@@ -642,6 +642,7 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
642
642
  setupSkillCheck(skillCheck: import("./skills").SkillCheckState, id: string): void;
643
643
  passSkillCheck(skillCheckId: string, hide?: boolean | undefined): void;
644
644
  failSkillCheck(skillCheckId: string, hide?: boolean | undefined): void;
645
+ resetSkillCheck(skillCheckId: string): void;
645
646
  generateSaveData(): import("./skills").Skills;
646
647
  getSkillCheck(id: string): import("./skills").SkillCheckState;
647
648
  createSkillCheckState(): import("./skills").SkillCheckState;
@@ -23,6 +23,7 @@ export declare const useSkills: import("pinia").StoreDefinition<"skills", Skills
23
23
  setupSkillCheck(skillCheck: SkillCheckState, id: string): void;
24
24
  passSkillCheck(skillCheckId: string, hide?: boolean): void;
25
25
  failSkillCheck(skillCheckId: string, hide?: boolean): void;
26
+ resetSkillCheck(skillCheckId: string): void;
26
27
  generateSaveData(): SkillsSave;
27
28
  getSkillCheck(id: string): SkillCheckState;
28
29
  createSkillCheckState(): SkillCheckState;
@@ -29,7 +29,8 @@ export interface ChoicePromptReturnValue {
29
29
  skillId: string;
30
30
  skillCheckId: string;
31
31
  difficulty: number;
32
- hideAfterRoll: boolean;
32
+ hideAfterRoll?: boolean;
33
+ repeatable?: boolean;
33
34
  };
34
35
  }
35
36
  export declare type ChoicePromptReturn = ChoicePromptReturnValue;
@@ -25,6 +25,9 @@ export interface RollArgs {
25
25
  id: string;
26
26
  skill: string;
27
27
  value: number;
28
- hideAfterRoll?: boolean;
28
+ mode?: string;
29
29
  }
30
30
  export declare const rollPlugin: CommandPlugin<RollArgs, {}>;
31
+ export declare const resetSkillCheck: CommandPlugin<{
32
+ id: string;
33
+ }, {}>;
@@ -7,6 +7,7 @@ export interface SkillCheckParams {
7
7
  value: number;
8
8
  id: string;
9
9
  hideAfterRoll?: boolean;
10
+ repeatable?: boolean;
10
11
  }
11
12
  export declare function runSkillCheck(params: SkillCheckParams): SkillCheckState;
12
13
  export declare function runConditionCommand(command: Parser.Command<IfOptions, IfStaticOptions>): Parser.Branch | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "narrat",
3
- "version": "2.6.3",
3
+ "version": "2.6.4",
4
4
  "description": "narrat narrative engine",
5
5
  "main": "dist/narrat.umd.js",
6
6
  "module": "dist/narrat.es.js",