1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
[object_prototype]
id="lock_blue"
on_unlock="[map([0]*5, spawn(consts.particle_type, me.midpoint_x, me.y - 1d20, me.facing)),sound('BlockBreak.ogg'),die()]"
zorder="-1"
[consts]
particle_type="'lock_blue.particle'"
[/consts]
[animation]
frame_info="2,0,2,0,379,400,12,16"
id="normal"
image="compiled-0.png"
rect="377,400,392,415"
[/animation]
[object_type]
id="particle"
prototype="lock_particle"
[animation]
accel_y="60"
duration="100"
frames="1"
id="normal1"
image="props/locks.png"
rect="80,16,87,23"
[/animation]
[animation]
accel_y="60"
duration="100"
frames="1"
id="normal2"
image="props/locks.png"
rect="88,16,95,23"
[/animation]
[animation]
accel_y="60"
duration="100"
frames="1"
id="normal3"
image="props/locks.png"
rect="80,24,87,31"
[/animation]
[animation]
accel_y="60"
duration="100"
frames="1"
id="normal4"
image="props/locks.png"
rect="88,24,95,31"
[/animation]
[/object_type]
[/object_prototype]
|