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

« back to all changes in this revision

Viewing changes to data/objects/plants/white_shooting_flower_stem.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=white_shooting_flower_stem
 
3
        [vars]
 
4
                team="'evil'"
 
5
                points_value="50"
 
6
                damage=1
 
7
        [/vars]
 
8
        hitpoints=8
 
9
 
 
10
        on_die="null()"
 
11
        
 
12
        #on_end_normal_anim="if(facing != desired_facing, animation('turn'), animation('shoot')) where desired_facing = if(level.player.x < x, -1, 1)"
 
13
        
 
14
        on_process="set(x,x+  if(3d4 >4, if(target_x > midpoint_x,1,-1)))  "
 
15
        
 
16
        on_end_normal_anim="[animation('normal'),set(time_in_animation,1d6)]"
 
17
                [base:animation]
 
18
                image=enemies/white-shooting-flower.png
 
19
                pad=3
 
20
                body_area=all
 
21
                [/animation]
 
22
 
 
23
                [animation]
 
24
                id=normal
 
25
                rect=5,5,31,24
 
26
                frames=2
 
27
                frames_per_row=1
 
28
                duration=12
 
29
                [/animation]
 
30
        [/object_type]
 
31