~ubuntu-branches/ubuntu/utopic/frogatto-data/utopic

« back to all changes in this revision

Viewing changes to data/compiled/objects/vehicle_heart_object.cfg

  • Committer: Bazaar Package Importer
  • Author(s): Dmitry E. Oboukhov
  • Date: 2010-07-16 12:14:11 UTC
  • Revision ID: james.westby@ubuntu.com-20100716121411-tobhfbyxrrz46dwz
Tags: upstream-1.0
ImportĀ upstreamĀ versionĀ 1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
[object_type]
 
2
id="vehicle_heart_object"
 
3
on_collide_object_body="if(collide_with.player,if(level.player.vehicle.hitpoints < level.player.vehicle.max_hitpoints,[set(level.player.vehicle, 'hitpoints', level.player.vehicle.hitpoints + 1),map([0,0,0,0],spawn('coin_sparkle',midpoint_x + 1d40-20,midpoint_y + 1d40-20,0)),sound('OilDrop.ogg'),die()]))"
 
4
on_end_anim="animation('normal')"
 
5
        [animation]
 
6
        body_area="all"
 
7
        duration="7"
 
8
        frame_info="4,8,4,0,934,458,12,12,4,8,4,0,946,458,12,12,4,8,4,0,958,458,12,12,4,8,4,0,970,458,12,12,4,8,4,0,982,458,12,12"
 
9
        frames="5"
 
10
        id="normal"
 
11
        image="compiled-2.png"
 
12
        rect="930,450,949,469"
 
13
        reverse="yes"
 
14
        [/animation]
 
15
 
 
16
[/object_type]
 
17