File: kinguin_npc.cfg

package info (click to toggle)
frogatto-data 1.2%2Bdfsg-1
  • links: PTS, VCS
  • area: non-free
  • in suites: wheezy
  • size: 201,844 kB
  • sloc: python: 302; xml: 223; perl: 139; sh: 48; makefile: 13; ruby: 4
file content (96 lines) | stat: -rw-r--r-- 2,200 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
86
87
88
89
90
91
92
93
94
95
96
[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_end_walk_anim="animation('walk')"
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="8,10,23,30"
solid_dimensions="npc"
zorder="-2"
	[editor_info]
	category="NPCs"
		[var]
		name="turn_to_face_player"
		type="boolean"
		value="1"
		[/var]

	[/editor_info]

	[animation]
	accel_x="0"
	accel_y="80"
	duplicates="6"
	duration="6"
	frame_info="4,8,5,1,675,395,23,24,4,7,5,1,698,395,23,25,4,6,5,1,721,395,23,26"
	frames="3"
	id="stand"
	image="compiled-2.png"
	interact_area="all"
	rect="671,387,702,419"
	reverse="yes"
	[/animation]

	[animation]
	accel_x="0"
	accel_y="80"
	duration="6"
	frame_info="4,8,5,1,843,395,23,24,4,7,5,1,866,395,23,25,4,6,5,1,889,395,23,26"
	frames="3"
	id="stand"
	image="compiled-2.png"
	interact_area="all"
	rect="839,387,870,419"
	reverse="yes"
	[/animation]

	[animation]
	accel_x="800"
	accel_y="80"
	duration="5"
	frame_info="13,16,15,5,313,255,20,27,9,14,14,8,333,255,25,26,9,15,15,6,358,255,24,27,11,16,16,6,382,255,21,26,8,15,16,6,403,255,24,27,5,14,16,6,427,255,27,28,11,15,16,6,454,255,21,27,11,17,16,5,475,255,21,26"
	frames="8"
	id="walk"
	image="compiled-2.png"
	interact_area="all"
	rect="300,239,347,286"
	solid_area="17,18,31,40"
	[/animation]

	[animation]
	accel_x="0"
	accel_y="80"
	duration="5"
	frame_info="6,7,5,0,383,449,21,26"
	frames="1"
	id="turn"
	image="compiled-2.png"
	interact_area="all"
	rect="377,442,408,474"
	[/animation]

	[animation]
	accel_x="0"
	accel_y="80"
	frame_info="4,8,5,1,488,576,23,24"
	id="portrait"
	image="compiled-2.png"
	interact_area="all"
	rect="484,568,515,600"
	scale="6"
	[/animation]

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

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

[/object_prototype]