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_silver"
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_silver.particle'"
[/consts]
[animation]
frame_info="2,0,2,0,1012,432,12,16"
id="normal"
image="compiled-0.png"
rect="1010,432,1025,447"
[/animation]
[object_type]
id="particle"
prototype="lock_particle"
[animation]
accel_y="60"
duration="100"
frames="1"
id="normal1"
image="props/locks.png"
rect="16,16,23,23"
[/animation]
[animation]
accel_y="60"
duration="100"
frames="1"
id="normal2"
image="props/locks.png"
rect="24,16,31,23"
[/animation]
[animation]
accel_y="60"
duration="100"
frames="1"
id="normal3"
image="props/locks.png"
rect="16,24,23,31"
[/animation]
[animation]
accel_y="60"
duration="100"
frames="1"
id="normal4"
image="props/locks.png"
rect="24,24,31,31"
[/animation]
[/object_type]
[/object_prototype]
|