File: bubbling_pot.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 (39 lines) | stat: -rw-r--r-- 811 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
35
36
37
38
39
{
id: "bubbling_pot",
ignore_collide: true,
zorder: -1,
on_create: "if(is_bubbling,animation('bubble'),animation('normal'))",
on_end_normal_anim: "animation('normal')",
on_end_bubble_anim: "animation('bubble')",
on_puff: "if(1d2=2, [add_object(puff), set(puff.rotation, 1d360)] where puff =  object('steam_particle',midpoint_x-5,y+5,choose([-1,1])))",
editor_info: {
	category: "decor, general",
	var: {
		name: "is_bubbling",
		value: 1,
		type: "boolean",
	},
},
animation: [
	{
		id: "normal",
		image: "props/furniture.png",
		rect: [131,81,148,95],
		collide: [0,0,10,13],
		frames: 1,
		duration: 100,
		pad: 0,
	},
	{
		id: "bubble",
		image: "props/furniture.png",
		rect: [77,96,94,110],
		collide: [0,0,10,13],
		frames: 8,
		frames_per_row: 4,
		duration: 6,
		pad: 0,
		events: "2,26:puff",
	},
],
}