File: kinguin_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 (85 lines) | stat: -rw-r--r-- 2,025 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[object_prototype]
friction="2000"
hitpoints="1"
id="kinguin_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,8,23,30"
solid_dimensions="npc"
zorder="-2"
	[animation]
	accel_x="0"
	accel_y="80"
	duplicates="6"
	duration="6"
	frame_info="4,8,5,1,599,173,23,24,4,7,5,1,622,173,23,25,4,6,5,1,645,173,23,26"
	frames="3"
	id="stand"
	image="compiled-2.png"
	interact_area="all"
	rect="595,165,626,197"
	reverse="yes"
	[/animation]

	[animation]
	accel_x="0"
	accel_y="80"
	duration="6"
	frame_info="4,8,5,1,668,173,23,24,4,7,5,1,691,173,23,25,4,6,5,1,714,173,23,26"
	frames="3"
	id="stand"
	image="compiled-2.png"
	interact_area="all"
	rect="664,165,695,197"
	reverse="yes"
	[/animation]

	[animation]
	accel_x="800"
	accel_y="80"
	duration="5"
	frame_info="13,16,15,5,64,89,20,27,9,14,14,8,84,89,25,26,9,15,15,6,109,89,24,27,11,16,16,6,133,89,21,26,8,15,16,6,154,89,24,27,5,14,16,6,178,89,27,28,11,15,16,6,205,89,21,27,11,17,16,5,226,89,21,26"
	frames="8"
	id="walk"
	image="compiled-2.png"
	interact_area="all"
	rect="51,73,98,120"
	solid_area="17,18,31,40"
	[/animation]

	[animation]
	accel_x="0"
	accel_y="80"
	duration="5"
	frame_info="6,7,5,0,957,117,21,26"
	frames="1"
	id="turn"
	image="compiled-0.png"
	interact_area="all"
	rect="951,110,982,142"
	[/animation]

	[animation]
	accel_x="0"
	accel_y="80"
	frame_info="4,8,5,1,983,252,23,24"
	id="portrait"
	image="compiled-2.png"
	interact_area="all"
	rect="979,244,1010,276"
	scale="6"
	[/animation]

	[vars]
	standing_still="0"
	[/vars]

	[tmp]
	last_turned="0"
	[/tmp]

[/object_prototype]