Debian Codegraph @

modules/frogatto/data/objects/enemies/plants/missile boss attack pattern pollens/pollen_ball_generic_nocollide.cfg

raw
1 {
2 id: "pollen_ball_generic_nocollide",
3 always_active: true,
4 affected_by_currents: true,
5 object_level_collisions: false,
6 prototype: ["shot"],
7 on_create: "add_particles('particles')",
8 on_die: "[spawn('pollen_impact_particle',midpoint_x,midpoint_y,0)]",
9 timer_frequency: 4,
10 on_timer: "set(rotate, cycle*10)",
11 on_end_anim: "die()",
12 on_enter_water: "[add_wave(midpoint_x, y2, 500, velocity_y, 10*velocity_y, 100, 100),
13 add_wave(midpoint_x, y2, -500, velocity_y, 10*velocity_y, 100, 100), die()]",
14 zorder: 10,
15 animation: {
16 id: "normal",
17 image: "enemies/shooting-plant.png",
18 rect: [90,2,100,12],
19 frames: 1,
20 duration: 500,
21 body_area: "all",
22 attack_area: "all",
23 },
24 particle_system: {
25 id: "particles",
26 type: "point",
27 generation_rate_millis: 250,
28 time_to_live: 12,
29 time_to_live_rand: 24,
30 colors: ["f9f9dbff","ffc20eff","ffc20e55","ff7e0055","ae4a2855"],
31 pos_x: 10,
32 pos_y: 10,
33 velocity_x: -1500,
34 velocity_x_rand: 3000,
35 velocity_y: -1500,
36 velocity_y_rand: 3000,
37 },
38 }