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

« back to all changes in this revision

Viewing changes to data/objects/props/bubbling_pot.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=bubbling_pot
 
3
        ignore_collide=true
 
4
        zorder=-1
 
5
 
 
6
        [editor_info]
 
7
        category=decor
 
8
                [var]
 
9
                name=is_bubbling
 
10
                value="1"
 
11
                type=boolean
 
12
                [/var]
 
13
        [/editor_info]
 
14
 
 
15
        on_create="if(is_bubbling,animation('bubble'),animation('normal'))"
 
16
        on_end_normal_anim="animation('normal')"
 
17
        on_end_bubble_anim="animation('bubble')"
 
18
        on_puff="if(1d2=2,spawn('steam_particle',midpoint_x,y+5,facing))"
 
19
                [animation]
 
20
                id=normal
 
21
                image=props/furniture.png
 
22
                rect=131,81,148,95
 
23
                collide=0,0,10,13
 
24
                frames=1
 
25
                duration=100
 
26
                pad=0
 
27
                [/animation]
 
28
                [animation]
 
29
                id=bubble
 
30
                image=props/furniture.png
 
31
                rect=77,96,94,110
 
32
                collide=0,0,10,13
 
33
                frames=8
 
34
                frames_per_row=4
 
35
                duration=6
 
36
                pad=0
 
37
                events="2,26:puff"
 
38
                [/animation]
 
39
        [/object_type]