@jtff/miztemplate-lib 2.1.6 → 2.1.7
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/package.json +1 -1
- package/scripts/inject-scripts.js +14 -1
package/package.json
CHANGED
|
@@ -167,8 +167,21 @@ function injectScripts(jtffci, env_mission) {
|
|
|
167
167
|
mapResourceObject = {};
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
|
-
// injection
|
|
170
|
+
// injection SplashDamage
|
|
171
171
|
let tuple = jtffci.injectScripts(
|
|
172
|
+
missionObject['trig'],
|
|
173
|
+
missionObject['trigrules'],
|
|
174
|
+
mapResourceObject,
|
|
175
|
+
'SplashDamage load',
|
|
176
|
+
['Splash_Damage_2_0.lua'],
|
|
177
|
+
9,
|
|
178
|
+
'0x008000ff'
|
|
179
|
+
);
|
|
180
|
+
missionObject['trig'] = tuple.tObject;
|
|
181
|
+
missionObject['trigrules'] = tuple.trObject;
|
|
182
|
+
mapResourceObject = tuple.mrObject;
|
|
183
|
+
// injection Moose
|
|
184
|
+
tuple = jtffci.injectScripts(
|
|
172
185
|
missionObject['trig'],
|
|
173
186
|
missionObject['trigrules'],
|
|
174
187
|
mapResourceObject,
|