narrat 4.1.2 → 4.1.3

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.
@@ -713,6 +713,9 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
713
713
  allowHistoryToggling?: boolean | undefined;
714
714
  showAfterScriptEnd?: boolean | undefined;
715
715
  showOldChoices?: boolean | undefined;
716
+ showChoiceOutcomes?: boolean | undefined;
717
+ lockSeenChoices?: boolean | undefined;
718
+ allowSpacebarInChoices?: boolean | undefined;
716
719
  } | undefined;
717
720
  splashScreens?: {
718
721
  engineSplashScreen?: {
@@ -1639,6 +1642,9 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
1639
1642
  allowHistoryToggling?: boolean | undefined;
1640
1643
  showAfterScriptEnd?: boolean | undefined;
1641
1644
  showOldChoices?: boolean | undefined;
1645
+ showChoiceOutcomes?: boolean | undefined;
1646
+ lockSeenChoices?: boolean | undefined;
1647
+ allowSpacebarInChoices?: boolean | undefined;
1642
1648
  } | undefined;
1643
1649
  splashScreens?: {
1644
1650
  engineSplashScreen?: {
@@ -2565,6 +2571,9 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
2565
2571
  allowHistoryToggling?: boolean | undefined;
2566
2572
  showAfterScriptEnd?: boolean | undefined;
2567
2573
  showOldChoices?: boolean | undefined;
2574
+ showChoiceOutcomes?: boolean | undefined;
2575
+ lockSeenChoices?: boolean | undefined;
2576
+ allowSpacebarInChoices?: boolean | undefined;
2568
2577
  } | undefined;
2569
2578
  splashScreens?: {
2570
2579
  engineSplashScreen?: {
@@ -3491,6 +3500,9 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
3491
3500
  allowHistoryToggling?: boolean | undefined;
3492
3501
  showAfterScriptEnd?: boolean | undefined;
3493
3502
  showOldChoices?: boolean | undefined;
3503
+ showChoiceOutcomes?: boolean | undefined;
3504
+ lockSeenChoices?: boolean | undefined;
3505
+ allowSpacebarInChoices?: boolean | undefined;
3494
3506
  } | undefined;
3495
3507
  splashScreens?: {
3496
3508
  engineSplashScreen?: {
@@ -674,6 +674,9 @@ export declare function getModifiableDataPinia(): {
674
674
  allowHistoryToggling?: boolean | undefined;
675
675
  showAfterScriptEnd?: boolean | undefined;
676
676
  showOldChoices?: boolean | undefined;
677
+ showChoiceOutcomes?: boolean | undefined;
678
+ lockSeenChoices?: boolean | undefined;
679
+ allowSpacebarInChoices?: boolean | undefined;
677
680
  } | undefined;
678
681
  splashScreens?: {
679
682
  engineSplashScreen?: {
@@ -26,8 +26,8 @@ export interface ChoicePromptOptions {
26
26
  export interface ChoicePromptReturnValue {
27
27
  text: string | null;
28
28
  flag?: string;
29
+ allowed?: boolean;
29
30
  skillCheck?: {
30
- allowed?: boolean;
31
31
  options: SkillCheckParams;
32
32
  };
33
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "narrat",
3
- "version": "4.1.2",
3
+ "version": "4.1.3",
4
4
  "description": "narrat narrative engine",
5
5
  "main": "dist/narrat.umd.js",
6
6
  "module": "dist/narrat.es.js",