File: vehicle_experience_object.cfg

package info (click to toggle)
frogatto-data 1.0-2
  • links: PTS, VCS
  • area: non-free
  • in suites: squeeze
  • size: 155,116 kB
  • sloc: makefile: 1
file content (17 lines) | stat: -rw-r--r-- 659 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[object_type]
id="vehicle_experience_object"
on_collide_object_body="if(collide_with.player,if((level.player.vehicle.experience < 20) and (level.player.vehicle != null),[set(level.player.experience, level.player.experience + 1),map([0,0,0,0],spawn('coin_sparkle',midpoint_x + 1d40-20,midpoint_y + 1d40-20,0)),sound('Gears.ogg'),die()]))"
on_end_anim="animation('normal')"
	[animation]
	body_area="all"
	duration="7"
	frame_info="5,9,5,0,680,727,10,11,5,9,5,0,690,727,10,11,5,9,5,0,700,727,10,11,5,9,5,0,710,727,10,11,5,9,5,0,720,727,10,11"
	frames="5"
	id="normal"
	image="compiled-0.png"
	rect="675,718,694,737"
	reverse="yes"
	[/animation]

[/object_type]