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

« back to all changes in this revision

Viewing changes to data/compiled/objects/diorre_npc.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_prototype]
 
2
id="diorre_npc"
 
3
on_create="animation('stand')"
 
4
on_end_stand_anim="[if(turn_to_face_player,set(facing, if(level.player.x < x, -1, 1))), animation('stand')]"
 
5
on_have_distance="[set(level.player.control_lock, ['ctrl_right']), schedule(2, fire_event('start_talking'))]"
 
6
on_interact="[set(level.zoom, 2), set(level.player.control_lock, ['ctrl_left']), set(level.player.tmp.running, 0), schedule(20, fire_event('have_distance'))]"
 
7
on_start_talking="[set(level.player.control_lock, null()), fire_event('talk'), set(level.zoom, 1)]"
 
8
solid_area="17,18,30,43"
 
9
solid_dimensions="npc"
 
10
zorder="-2"
 
11
        [animation]
 
12
        accel_y="80"
 
13
        duration="7"
 
14
        frame_info="5,6,6,2,581,683,32,38,4,7,5,2,613,683,34,37,3,9,4,2,647,683,36,35,6,6,6,2,683,683,31,38,9,5,9,2,714,683,25,39"
 
15
        frames="5"
 
16
        id="stand"
 
17
        image="compiled-1.png"
 
18
        interact_area="all"
 
19
        rect="576,677,618,722"
 
20
        reverse="yes"
 
21
        [/animation]
 
22
 
 
23
[/object_prototype]
 
24