narrat 0.9.2 → 0.9.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/lib/index.esm.js +4 -3
- package/lib/index.js +4 -3
- package/package.json +1 -1
package/lib/index.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Version: 0.9.
|
|
1
|
+
// Version: 0.9.3 - June 5, 2022 20:22:00
|
|
2
2
|
import 'es6-promise/auto';
|
|
3
3
|
import { ref, reactive, readonly, defineComponent, openBlock, createElementBlock, normalizeStyle, createElementVNode, createCommentVNode, Fragment, renderList, createBlock, Transition, withCtx, normalizeClass, renderSlot, createTextVNode, resolveComponent, withDirectives, vModelText, toDisplayString, TransitionGroup, createVNode, createApp } from 'vue';
|
|
4
4
|
import { createLogger, createStore } from 'vuex';
|
|
@@ -6903,9 +6903,10 @@ var script$b = defineComponent({
|
|
|
6903
6903
|
this.$store.dispatch('startMachine');
|
|
6904
6904
|
await this.$store.dispatch('runLine');
|
|
6905
6905
|
this.$store.commit('setFlowState', 'playing');
|
|
6906
|
+
this.$store.dispatch('saveGame');
|
|
6906
6907
|
},
|
|
6907
6908
|
async loadGame() {
|
|
6908
|
-
this.$store.
|
|
6909
|
+
this.$store.dispatch('startMachine');
|
|
6909
6910
|
await this.$store.dispatch('loadGame', this.saveFile);
|
|
6910
6911
|
this.$store.commit('setFlowState', 'playing');
|
|
6911
6912
|
},
|
|
@@ -8352,7 +8353,7 @@ let store$2;
|
|
|
8352
8353
|
async function startApp(config, options) {
|
|
8353
8354
|
const configFile = await getFile('data/config.json');
|
|
8354
8355
|
setConfig(JSON.parse(configFile));
|
|
8355
|
-
console.log('%c Narrat game engine – 0.9.
|
|
8356
|
+
console.log('%c Narrat game engine – 0.9.3 - June 5, 2022 20:22:00', 'background: #222; color: #bada55');
|
|
8356
8357
|
const storeSetup = setupStore(options);
|
|
8357
8358
|
store$2 = storeSetup.store;
|
|
8358
8359
|
app = createApp(script$b, {
|
package/lib/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Version: 0.9.
|
|
1
|
+
// Version: 0.9.3 - June 5, 2022 20:22:00
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -6907,9 +6907,10 @@ var script$b = vue.defineComponent({
|
|
|
6907
6907
|
this.$store.dispatch('startMachine');
|
|
6908
6908
|
await this.$store.dispatch('runLine');
|
|
6909
6909
|
this.$store.commit('setFlowState', 'playing');
|
|
6910
|
+
this.$store.dispatch('saveGame');
|
|
6910
6911
|
},
|
|
6911
6912
|
async loadGame() {
|
|
6912
|
-
this.$store.
|
|
6913
|
+
this.$store.dispatch('startMachine');
|
|
6913
6914
|
await this.$store.dispatch('loadGame', this.saveFile);
|
|
6914
6915
|
this.$store.commit('setFlowState', 'playing');
|
|
6915
6916
|
},
|
|
@@ -8356,7 +8357,7 @@ let store$2;
|
|
|
8356
8357
|
async function startApp(config, options) {
|
|
8357
8358
|
const configFile = await getFile('data/config.json');
|
|
8358
8359
|
setConfig(JSON.parse(configFile));
|
|
8359
|
-
console.log('%c Narrat game engine – 0.9.
|
|
8360
|
+
console.log('%c Narrat game engine – 0.9.3 - June 5, 2022 20:22:00', 'background: #222; color: #bada55');
|
|
8360
8361
|
const storeSetup = setupStore(options);
|
|
8361
8362
|
store$2 = storeSetup.store;
|
|
8362
8363
|
app = vue.createApp(script$b, {
|