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

« back to all changes in this revision

Viewing changes to data/compiled/objects/white_shooting_flower_base.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
hitpoints="8"
 
3
id="white_shooting_flower_base"
 
4
on_child_spawned="[set(vars.stems, vars.stems+[child]),set(child.vars.len_index,size(vars.stems)+1),
 
5
                                                set(child.zorder,context.zorder + size(vars.stems)+1)]"
 
6
on_collide_feet="map(vars.stems, 'stem',  set(stem.midpoint_y, context.midpoint_y - stem_voffset*(index+1) ))"
 
7
on_create="[map(range(stem_size),'n',spawn('white_shooting_flower_stem',midpoint_x,midpoint_y-stem_voffset*(n+1),facing)),
 
8
        spawn('white_shooting_flower',midpoint_x,midpoint_y-stem_voffset*(stem_size+1),facing)]"
 
9
on_die="map(stems, 'stem', set(stem.hitpoints, 0))"
 
10
on_end_normal_anim="[animation('normal'),set(time_in_animation,1d6)]"
 
11
on_timer="[if(find(stems, hitpoints <= 0),[map(stems, set(hitpoints, 0)),die()] ),  map(stems,'stem', set(stem.vars.target_x, context.midpoint_x + ((index+1)*context.target_x/stem_size)))] where target_x = (wave(cycle*sidle_speed)*sidle_range)/1000"
 
12
solid_area="5,5,20,15"
 
13
timer_frequency="5"
 
14
zorder="0"
 
15
        [vars]
 
16
        damage="1"
 
17
        points_value="50"
 
18
        sidle_range="20"
 
19
        sidle_speed="8"
 
20
        stem_size="3"
 
21
        stem_voffset="14"
 
22
        team="'evil'"
 
23
        [/vars]
 
24
 
 
25
        [animation]
 
26
        accel_y="80"
 
27
        body_area="all"
 
28
        duration="10"
 
29
        frame_info="23,5,15,5,573,145,33,18,24,3,13,2,606,145,34,23,25,1,13,0,640,145,33,27"
 
30
        frames="3"
 
31
        frames_per_row="1"
 
32
        id="editor"
 
33
        image="compiled-2.png"
 
34
        rect="550,140,620,167"
 
35
        [/animation]
 
36
 
 
37
        [animation]
 
38
        accel_y="80"
 
39
        body_area="all"
 
40
        duration="12"
 
41
        frame_info="2,2,3,1,418,425,22,17,2,2,2,1,440,425,23,17"
 
42
        frames="2"
 
43
        frames_per_row="1"
 
44
        id="normal"
 
45
        image="compiled-2.png"
 
46
        rect="416,423,442,442"
 
47
        [/animation]
 
48
 
 
49
[/object_type]
 
50