narrat 3.2.1 → 3.2.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.
- package/dist/app.vue.d.ts +1 -1
- package/dist/components/MainMenu.vue.d.ts +1 -1
- package/dist/components/SkillsWindow.vue.d.ts +1 -1
- package/dist/components/StartMenu.vue.d.ts +1 -1
- package/dist/components/achievements/achievement-tile.vue.d.ts +1 -1
- package/dist/components/achievements/achievements-section.vue.d.ts +1 -1
- package/dist/components/achievements/achievements-ui.vue.d.ts +1 -1
- package/dist/components/auto-play/AutoPlayFeedback.vue.d.ts +1 -1
- package/dist/components/debug/debug-menu.vue.d.ts +1 -1
- package/dist/components/dialog-picture.vue.d.ts +1 -1
- package/dist/components/engine-splash/engine-splash.vue.d.ts +1 -1
- package/dist/components/game-dialog.vue.d.ts +1 -1
- package/dist/components/game-splash/game-splash.vue.d.ts +1 -1
- package/dist/components/hud.vue.d.ts +1 -1
- package/dist/components/in-game.vue.d.ts +1 -1
- package/dist/components/inventory/inventory-section.vue.d.ts +1 -1
- package/dist/components/inventory/item-details.vue.d.ts +1 -1
- package/dist/components/inventory-ui.vue.d.ts +1 -1
- package/dist/components/loading-bar.vue.d.ts +1 -1
- package/dist/components/menu-buttons.vue.d.ts +1 -1
- package/dist/components/notification-toast.vue.d.ts +1 -1
- package/dist/components/quests/QuestDetails.vue.d.ts +1 -1
- package/dist/components/quests/QuestDisplay.vue.d.ts +1 -1
- package/dist/components/quests/quests-list-section.vue.d.ts +1 -1
- package/dist/components/quests-ui.vue.d.ts +1 -1
- package/dist/components/save-slots.vue.d.ts +1 -1
- package/dist/components/saves/save-slot-ui.vue.d.ts +1 -1
- package/dist/components/screen-layer.vue.d.ts +1 -1
- package/dist/components/screen-objects/screen-object.vue.d.ts +1 -1
- package/dist/components/screens.vue.d.ts +1 -1
- package/dist/components/settings/setting-widget.vue.d.ts +1 -1
- package/dist/components/settings/settings-menu.vue.d.ts +1 -1
- package/dist/components/tabs/TabsController.vue.d.ts +1 -1
- package/dist/components/tabs/tab-selector.vue.d.ts +1 -1
- package/dist/components/tooltips/tooltips-ui.vue.d.ts +1 -1
- package/dist/components/transitions/NarratTransition.vue.d.ts +1 -1
- package/dist/components/utils/alert-modal.vue.d.ts +1 -1
- package/dist/components/utils/floating-tooltip.vue.d.ts +1 -1
- package/dist/components/utils/modal-window.vue.d.ts +1 -1
- package/dist/components/utils/yes-no.vue.d.ts +1 -1
- package/dist/components/volume-controls.vue.d.ts +1 -1
- package/dist/config/characters-config.d.ts +2 -0
- package/dist/config/config-input.d.ts +2 -0
- package/dist/config/config-output.d.ts +10 -8
- package/dist/config.d.ts +10 -8
- package/dist/dialog-box.vue.d.ts +1 -1
- package/dist/narrat.es.js +18966 -17858
- package/dist/narrat.es.js.map +1 -1
- package/dist/narrat.umd.js +122 -122
- package/dist/narrat.umd.js.map +1 -1
- package/dist/stores/config-store.d.ts +10 -1
- package/dist/vm/commands/util-commands.d.ts +6 -0
- package/package.json +1 -1
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import { Config } from '../config/config-output';
|
|
2
|
+
export type ConfigStoreSave = {
|
|
3
|
+
playerCharacter: string;
|
|
4
|
+
gameCharacter: string;
|
|
5
|
+
};
|
|
2
6
|
export declare const useConfig: import("pinia").StoreDefinition<"config", {
|
|
3
7
|
config: Config;
|
|
4
|
-
}, {
|
|
8
|
+
}, {
|
|
9
|
+
playerCharacter(): string;
|
|
10
|
+
gameCharacter(): string;
|
|
11
|
+
}, {
|
|
5
12
|
setConfig(config: Config): Promise<void>;
|
|
6
13
|
extendConfig(config: Partial<Config>): void;
|
|
14
|
+
generateSaveData(): ConfigStoreSave;
|
|
15
|
+
loadSaveData(saveData: ConfigStoreSave): void;
|
|
7
16
|
}>;
|
|
@@ -2,3 +2,9 @@ import { CommandPlugin } from './command-plugin';
|
|
|
2
2
|
export declare const loadDataPlugin: CommandPlugin<{
|
|
3
3
|
url: string;
|
|
4
4
|
}, {}>;
|
|
5
|
+
export declare const changePlayerCharacterPlugin: CommandPlugin<{
|
|
6
|
+
character: string;
|
|
7
|
+
}, {}>;
|
|
8
|
+
export declare const changeGameCharacterPlugin: CommandPlugin<{
|
|
9
|
+
character: string;
|
|
10
|
+
}, {}>;
|