File: save_lantern_object.cfg

package info (click to toggle)
frogatto-data 1.3.1%2Bdfsg-4
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid, trixie
  • size: 254,428 kB
  • sloc: xml: 584; python: 396; perl: 249; sh: 126; ruby: 69; makefile: 21
file content (34 lines) | stat: -rw-r--r-- 675 bytes parent folder | download | duplicates (3)
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
{
id: "save_lantern_object",
on_collide_object_body: "if(collide_with.player,if(animation = 'normal', [animation('saving'),save_game()]))",
on_end_normal_anim: "animation('normal')",
on_end_saving_anim: "[animation('saved'),music('SavedGame.ogg')]",
on_end_saved_anim: "animation('saved')",
solid_area: [1,1,19,40],
animation: [
	{
		id: "normal",
		image: "props/items.png",
		rect: [132,2,151,62],
		pad: 3,
		frames: 1,
		duration: 30,
	},
	{
		id: "saving",
		image: "props/items.png",
		rect: [155,2,174,62],
		pad: 3,
		frames: 2,
		duration: 10,
	},
	{
		id: "saved",
		image: "props/items.png",
		rect: [178,2,197,62],
		pad: 3,
		frames: 1,
		duration: 100,
	},
],
}