@wwawing/loader 3.7.1 → 3.8.0-alpha.0
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.
|
@@ -125,7 +125,7 @@ var TextLoader = (function () {
|
|
|
125
125
|
wwaData.isVisibleStatusStrength = true;
|
|
126
126
|
wwaData.isVisibleStatusDefence = true;
|
|
127
127
|
wwaData.isVisibleStatusGold = true;
|
|
128
|
-
wwaData.
|
|
128
|
+
wwaData.gameOverPolicy = "default";
|
|
129
129
|
return wwaData;
|
|
130
130
|
};
|
|
131
131
|
TextLoader.prototype.getMessageFromData = function () {
|
package/lib/infra/index.js
CHANGED
|
@@ -175,6 +175,8 @@ function createDefaultWWAData() {
|
|
|
175
175
|
isVisibleStatusDefence: undefined,
|
|
176
176
|
isVisibleStatusGold: undefined,
|
|
177
177
|
isGameOverDisabled: undefined,
|
|
178
|
+
gameOverPolicy: "default",
|
|
179
|
+
ifElseStatus: "none"
|
|
178
180
|
};
|
|
179
181
|
}
|
|
180
182
|
exports.createDefaultWWAData = createDefaultWWAData;
|
|
@@ -122,7 +122,7 @@ var TextLoader = (function () {
|
|
|
122
122
|
wwaData.isVisibleStatusStrength = true;
|
|
123
123
|
wwaData.isVisibleStatusDefence = true;
|
|
124
124
|
wwaData.isVisibleStatusGold = true;
|
|
125
|
-
wwaData.
|
|
125
|
+
wwaData.gameOverPolicy = "default";
|
|
126
126
|
return wwaData;
|
|
127
127
|
};
|
|
128
128
|
TextLoader.prototype.getMessageFromData = function () {
|
package/module/infra/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wwawing/loader",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.0-alpha.0",
|
|
4
4
|
"description": "a World Wide Adventure mapdata loader for client-side web applications",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"module": "./module/index.js",
|
|
@@ -44,10 +44,10 @@
|
|
|
44
44
|
},
|
|
45
45
|
"homepage": "https://github.com/WWAWing/WWALoader#readme",
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@wwawing/event-emitter": "^3.
|
|
47
|
+
"@wwawing/event-emitter": "^3.8.0-alpha.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@wwawing/common-interface": "^3.
|
|
50
|
+
"@wwawing/common-interface": "^3.8.0-alpha.0",
|
|
51
51
|
"cross-env": "^7.0.3",
|
|
52
52
|
"html-loader": "^2.1.2",
|
|
53
53
|
"html-webpack-plugin": "^5.5.0",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"node": ">=16",
|
|
69
69
|
"npm": ">=8"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "760a3156483b7f1ce7ab9bc5a8a008c5f658ff30"
|
|
72
72
|
}
|