File: mortimer_npc.cfg

package info (click to toggle)
frogatto-data 1.0-2
  • links: PTS, VCS
  • area: non-free
  • in suites: squeeze
  • size: 155,116 kB
  • sloc: makefile: 1
file content (48 lines) | stat: -rw-r--r-- 1,325 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[object_prototype]
id="mortimer_npc"
on_create="animation('stand')"
on_end_stand_anim="[if(turn_to_face_player,set(facing, if(level.player.x < x, -1, 1))), animation('stand')]"
on_have_distance="[set(level.player.control_lock, ['ctrl_right']), schedule(2, fire_event('start_talking'))]"
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'))]"
on_start_talking="[set(level.player.control_lock, null()), fire_event('talk'), set(level.zoom, 1)]"
solid_area="9,10,29,29"
solid_dimensions="npc"
zorder="-2"
	[animation]
	accel_y="80"
	duplicates="3"
	duration="7"
	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"
	frames="3"
	id="stand"
	image="compiled-2.png"
	interact_area="all"
	play_backwards="yes"
	rect="536,220,573,251"
	reverse="yes"
	[/animation]

	[animation]
	accel_y="80"
	duration="7"
	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"
	frames="3"
	id="stand"
	image="compiled-2.png"
	interact_area="all"
	rect="442,221,479,252"
	reverse="yes"
	[/animation]

	[animation]
	accel_y="80"
	frame_info="2,5,4,6,235,252,30,25"
	id="portrait"
	image="compiled-2.png"
	interact_area="all"
	rect="233,247,268,282"
	scale="6"
	[/animation]

[/object_prototype]