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

« back to all changes in this revision

Viewing changes to data/compiled/objects/mortimer_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="mortimer_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="9,10,29,29"
 
9
solid_dimensions="npc"
 
10
zorder="-2"
 
11
        [animation]
 
12
        accel_y="80"
 
13
        duplicates="3"
 
14
        duration="7"
 
15
        frame_info="3,6,5,1,539,226,30,25,2,5,4,1,569,226,32,26,2,5,3,1,601,226,33,26"
 
16
        frames="3"
 
17
        id="stand"
 
18
        image="compiled-2.png"
 
19
        interact_area="all"
 
20
        play_backwards="yes"
 
21
        rect="536,220,573,251"
 
22
        reverse="yes"
 
23
        [/animation]
 
24
 
 
25
        [animation]
 
26
        accel_y="80"
 
27
        duration="7"
 
28
        frame_info="2,5,3,1,444,226,33,26,2,5,4,1,477,226,32,26,3,6,5,1,509,226,30,25"
 
29
        frames="3"
 
30
        id="stand"
 
31
        image="compiled-2.png"
 
32
        interact_area="all"
 
33
        rect="442,221,479,252"
 
34
        reverse="yes"
 
35
        [/animation]
 
36
 
 
37
        [animation]
 
38
        accel_y="80"
 
39
        frame_info="2,5,4,6,235,252,30,25"
 
40
        id="portrait"
 
41
        image="compiled-2.png"
 
42
        interact_area="all"
 
43
        rect="233,247,268,282"
 
44
        scale="6"
 
45
        [/animation]
 
46
 
 
47
[/object_prototype]
 
48