File: chopple_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 (41 lines) | stat: -rw-r--r-- 1,300 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
[object_prototype]
id="chopple_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)]"
on_talk="speech_dialog( level.player, ['Hi, Chopple.'],
								self, ['Hey.', 'Welcome to the store.'],
									['Take your time, look around.'])"
solid_area="9,20,29,45"
solid_dimensions="npc"
zorder="-2"
	[animation]
	accel_y="80"
	duplicates="3"
	duration="7"
	frame_info="4,7,4,1,446,604,30,40,3,8,3,1,476,604,32,39,3,7,3,1,508,604,32,40"
	frames="3"
	id="stand"
	image="compiled-1.png"
	interact_area="all"
	play_backwards="yes"
	rect="442,597,479,644"
	reverse="yes"
	[/animation]

	[animation]
	accel_y="80"
	duration="7"
	frame_info="3,7,3,1,259,604,32,40,3,8,3,1,291,604,32,39,4,7,4,1,323,604,30,40"
	frames="3"
	id="stand"
	image="compiled-1.png"
	interact_area="all"
	rect="256,597,293,644"
	reverse="yes"
	[/animation]

[/object_prototype]