|
2 | 2 | { |
3 | 3 | "id": "AE_NULL", |
4 | 4 | "type": "ammo_effect", |
5 | | - "aoe": { |
6 | | - "field_type": "fd_null", |
7 | | - "intensity_min": 0, |
8 | | - "intensity_max": 0, |
9 | | - "radius": 0, |
10 | | - "radius_z": 0, |
11 | | - "chance": 100, |
12 | | - "size": 0, |
13 | | - "check_passable": false, |
14 | | - "check_sees": false, |
15 | | - "check_sees_radius": 0 |
16 | | - }, |
| 5 | + "aoe": [ |
| 6 | + { |
| 7 | + "field_type": "fd_null", |
| 8 | + "intensity_min": 0, |
| 9 | + "intensity_max": 0, |
| 10 | + "radius": 0, |
| 11 | + "radius_z": 0, |
| 12 | + "chance": 100, |
| 13 | + "size": 0, |
| 14 | + "check_passable": false |
| 15 | + } |
| 16 | + ], |
17 | 17 | "explosion": { |
18 | 18 | "power": 0, |
19 | 19 | "distance_factor": 0.8, |
|
190 | 190 | "type": "ammo_effect", |
191 | 191 | "//": "Prevent HARDTOSHOOT monster flag from having any effect; automatically applied to ammo with `SHOT` flag or which have liquid phase. Hardcoded" |
192 | 192 | }, |
| 193 | + { |
| 194 | + "id": "ACT_ON_RANGED_HIT", |
| 195 | + "type": "ammo_effect", |
| 196 | + "//": "Is applied on projectiles made out of items with ACT_ON_RANGED_HIT flag. Hardcoded" |
| 197 | + }, |
| 198 | + { |
| 199 | + "id": "HURT_WHEN_WIELDED", |
| 200 | + "type": "ammo_effect", |
| 201 | + "//": "Is applied on projectiles made out of items with HURT_WHEN_WIELDED flag. Hardcoded" |
| 202 | + }, |
193 | 203 | { |
194 | 204 | "id": "FLAME", |
195 | 205 | "type": "ammo_effect", |
196 | 206 | "//": "Very small explosion that lights fires", |
197 | | - "aoe": { "field_type": "fd_fire", "intensity_min": 1, "intensity_max": 1, "size": 3 } |
| 207 | + "aoe": [ { "field_type": "fd_fire", "intensity_min": 1, "intensity_max": 1, "size": 3 } ] |
198 | 208 | }, |
199 | 209 | { |
200 | 210 | "id": "NAPALM", |
201 | 211 | "type": "ammo_effect", |
202 | 212 | "//": "Explosion that spreads fire", |
203 | | - "aoe": { "field_type": "fd_fire", "intensity_min": 1, "intensity_max": 1, "size": 3 }, |
| 213 | + "aoe": [ { "field_type": "fd_fire", "intensity_min": 1, "intensity_max": 1, "size": 3 } ], |
204 | 214 | "explosion": { "power": 60, "distance_factor": 0.7, "fire": true } |
205 | 215 | }, |
206 | 216 | { |
207 | 217 | "id": "PYROPHORIC", |
208 | 218 | "type": "ammo_effect", |
209 | 219 | "//": "Large explosion that spreads fire of high intensity", |
210 | | - "aoe": { "field_type": "fd_fire", "intensity_min": 2, "intensity_max": 2, "radius": 3 }, |
| 220 | + "aoe": [ { "field_type": "fd_fire", "intensity_min": 2, "intensity_max": 2, "radius": 3 } ], |
211 | 221 | "explosion": { "power": 360, "distance_factor": 0.8, "fire": true } |
212 | 222 | }, |
213 | 223 | { |
214 | 224 | "id": "ACIDBOMB", |
215 | 225 | "type": "ammo_effect", |
216 | 226 | "//": "Leaves a pool of acid on detonation", |
217 | | - "aoe": { "field_type": "fd_acid", "intensity_min": 3, "intensity_max": 3 } |
| 227 | + "aoe": [ { "field_type": "fd_acid", "intensity_min": 3, "intensity_max": 3 } ] |
218 | 228 | }, |
219 | 229 | { |
220 | 230 | "id": "TOXICGAS", |
221 | 231 | "type": "ammo_effect", |
222 | 232 | "//": "Creates a cloud of toxic gas on hit", |
223 | | - "aoe": { "field_type": "fd_toxic_gas", "intensity_min": 3, "intensity_max": 3 } |
| 233 | + "aoe": [ { "field_type": "fd_toxic_gas", "intensity_min": 3, "intensity_max": 3 } ] |
224 | 234 | }, |
225 | 235 | { |
226 | 236 | "id": "GAS_FUNGICIDAL", |
227 | 237 | "type": "ammo_effect", |
228 | 238 | "//": "Creates a cloud of fungicidal gas on hit", |
229 | | - "aoe": { "field_type": "fd_fungicidal_gas", "intensity_min": 3, "intensity_max": 3 } |
| 239 | + "aoe": [ { "field_type": "fd_fungicidal_gas", "intensity_min": 3, "intensity_max": 3 } ] |
230 | 240 | }, |
231 | 241 | { |
232 | 242 | "id": "GAS_INSECTICIDAL", |
233 | 243 | "type": "ammo_effect", |
234 | 244 | "//": "Creates a cloud of insecticidal gas on hit", |
235 | | - "aoe": { "field_type": "fd_insecticidal_gas", "intensity_min": 3, "intensity_max": 3 } |
| 245 | + "aoe": [ { "field_type": "fd_insecticidal_gas", "intensity_min": 3, "intensity_max": 3 } ] |
236 | 246 | }, |
237 | 247 | { |
238 | 248 | "id": "SMOKE", |
239 | 249 | "type": "ammo_effect", |
240 | 250 | "//": "Generates a cloud of smoke at the target", |
241 | | - "aoe": { "field_type": "fd_smoke", "intensity_min": 3, "intensity_max": 3 } |
| 251 | + "aoe": [ { "field_type": "fd_smoke", "intensity_min": 3, "intensity_max": 3 } ] |
242 | 252 | }, |
243 | 253 | { |
244 | 254 | "id": "SMOKE_BIG", |
245 | 255 | "type": "ammo_effect", |
246 | 256 | "//": "Generates a large cloud of smoke at the target", |
247 | | - "aoe": { "field_type": "fd_smoke", "intensity_min": 3, "intensity_max": 3, "radius": 6 } |
| 257 | + "aoe": [ { "field_type": "fd_smoke", "intensity_min": 3, "intensity_max": 3, "radius": 6 } ] |
248 | 258 | }, |
249 | 259 | { |
250 | 260 | "id": "FLARE", |
251 | 261 | "type": "ammo_effect", |
252 | 262 | "//": "Lights the target tile on fire", |
253 | | - "aoe": { "field_type": "fd_fire", "intensity_min": 1, "intensity_max": 1 } |
| 263 | + "aoe": [ { "field_type": "fd_fire", "intensity_min": 1, "intensity_max": 1 } ] |
254 | 264 | }, |
255 | 265 | { |
256 | 266 | "id": "LIGHTNING", |
257 | 267 | "type": "ammo_effect", |
258 | 268 | "//": "Creates a trail of lightning", |
259 | | - "aoe": { "field_type": "fd_electricity", "intensity_min": 6, "intensity_max": 10, "chance": 25 } |
| 269 | + "aoe": [ { "field_type": "fd_electricity", "intensity_min": 6, "intensity_max": 10, "chance": 25 } ] |
260 | 270 | }, |
261 | 271 | { |
262 | 272 | "id": "PLASMA", |
263 | 273 | "type": "ammo_effect", |
264 | 274 | "//": "Creates a trail of superheated plasma", |
265 | | - "aoe": { "field_type": "fd_plasma", "intensity_min": 2, "intensity_max": 3, "chance": 50 }, |
266 | | - "trail": { "field_type": "fd_plasma", "intensity_min": 1, "intensity_max": 2, "chance": 50 } |
| 275 | + "aoe": [ { "field_type": "fd_plasma", "intensity_min": 2, "intensity_max": 3, "chance": 50 } ], |
| 276 | + "trail": [ { "field_type": "fd_plasma", "intensity_min": 1, "intensity_max": 2, "chance": 50 } ] |
267 | 277 | }, |
268 | 278 | { |
269 | 279 | "id": "PLASMA_BUBBLE", |
270 | 280 | "type": "ammo_effect", |
271 | 281 | "//": "Creates a cloud of superheated plasma", |
272 | | - "aoe": { "field_type": "fd_plasma", "intensity_min": 1, "intensity_max": 3, "radius": 1, "chance": 10 } |
| 282 | + "aoe": [ { "field_type": "fd_plasma", "intensity_min": 1, "intensity_max": 3, "radius": 1, "chance": 10 } ] |
273 | 283 | }, |
274 | 284 | { |
275 | 285 | "id": "PLASMA_FAN", |
276 | 286 | "type": "ammo_effect", |
277 | 287 | "always_cast_spell": true, |
278 | | - "spell_data": { "id": "spell_plasma_fan" } |
| 288 | + "spell_data": [ { "id": "spell_plasma_fan" } ] |
279 | 289 | }, |
280 | 290 | { |
281 | 291 | "id": "EXPLOSIVE", |
|
344 | 354 | "id": "CORROSIVE", |
345 | 355 | "type": "ammo_effect", |
346 | 356 | "always_cast_spell": true, |
347 | | - "spell_data": { "id": "spell_corrosive_spray" } |
| 357 | + "spell_data": [ { "id": "spell_corrosive_spray" } ] |
348 | 358 | }, |
349 | 359 | { |
350 | 360 | "id": "GLUE_FOAM", |
351 | 361 | "type": "ammo_effect", |
352 | 362 | "always_cast_spell": true, |
353 | | - "spell_data": { "id": "spell_adhesive_spray" } |
| 363 | + "spell_data": [ { "id": "spell_adhesive_spray" } ] |
354 | 364 | }, |
355 | 365 | { |
356 | 366 | "id": "EXPLOSIVE_HESHOT", |
|
418 | 428 | "id": "TRAIL", |
419 | 429 | "type": "ammo_effect", |
420 | 430 | "//": "Creates a trail of smoke", |
421 | | - "trail": { "field_type": "fd_smoke", "intensity_min": 1, "intensity_max": 2, "chance": 75 } |
| 431 | + "trail": [ { "field_type": "fd_smoke", "intensity_min": 1, "intensity_max": 2, "chance": 75 } ] |
422 | 432 | }, |
423 | 433 | { |
424 | 434 | "id": "STREAM_TINY", |
425 | 435 | "type": "ammo_effect", |
426 | 436 | "//": "Sometimes leaves a trail of small fire fields. All of these STREAM_XXXXXX effects have hardcoded interactions in projectile_attack (ballistics.cpp)", |
427 | | - "trail": { "field_type": "fd_fire", "intensity_min": 1, "intensity_max": 1, "chance": 10 } |
| 437 | + "trail": [ { "field_type": "fd_fire", "intensity_min": 1, "intensity_max": 1, "chance": 10 } ] |
428 | 438 | }, |
429 | 439 | { |
430 | 440 | "id": "STREAM", |
431 | 441 | "type": "ammo_effect", |
432 | 442 | "//": "Leaves a trail of fire fields", |
433 | | - "trail": { "field_type": "fd_fire", "intensity_min": 1, "intensity_max": 2, "chance": 66 } |
| 443 | + "trail": [ { "field_type": "fd_fire", "intensity_min": 1, "intensity_max": 2, "chance": 66 } ] |
434 | 444 | }, |
435 | 445 | { |
436 | 446 | "id": "STREAM_BIG", |
437 | 447 | "type": "ammo_effect", |
438 | 448 | "//": "Leaves a trail of intense fire fields", |
439 | | - "trail": { "field_type": "fd_fire", "intensity_min": 2, "intensity_max": 2, "chance": 75 } |
| 449 | + "trail": [ { "field_type": "fd_fire", "intensity_min": 2, "intensity_max": 2, "chance": 75 } ] |
440 | 450 | }, |
441 | 451 | { |
442 | 452 | "id": "PYROTECHNIC_DISPLAY", |
443 | 453 | "type": "ammo_effect", |
444 | 454 | "//": "Looks like huge fires, but doesn't actually burn stuff.", |
445 | | - "trail": { "field_type": "fd_fire_FAKE", "intensity_min": 1, "intensity_max": 3, "chance": 85 } |
| 455 | + "trail": [ { "field_type": "fd_fire_FAKE", "intensity_min": 1, "intensity_max": 3, "chance": 85 } ] |
446 | 456 | }, |
447 | 457 | { |
448 | 458 | "id": "STREAM_GAS_FUNGICIDAL", |
449 | 459 | "type": "ammo_effect", |
450 | 460 | "//": "Leaves a trail of fungicidal gas", |
451 | | - "trail": { "field_type": "fd_fungicidal_gas", "intensity_min": 1, "intensity_max": 2, "chance": 66 } |
| 461 | + "trail": [ { "field_type": "fd_fungicidal_gas", "intensity_min": 1, "intensity_max": 2, "chance": 66 } ] |
452 | 462 | }, |
453 | 463 | { |
454 | 464 | "id": "LASER", |
455 | 465 | "type": "ammo_effect", |
456 | 466 | "//": "Creates a trail of laser", |
457 | | - "trail": { "field_type": "fd_laser", "intensity_min": 2, "intensity_max": 2 } |
| 467 | + "trail": [ { "field_type": "fd_laser", "intensity_min": 2, "intensity_max": 2 } ] |
458 | 468 | }, |
459 | 469 | { |
460 | 470 | "id": "GENE_STING_BARB", |
|
0 commit comments