{
id: "mouse",
prototype: ["ant"],
vars: {
	points_value: 4,
},
consts: {
	basic_type: "mouse",
	thrown_type: "mouse.thrown",
},
on_end_walk_anim: "if (1d20 = 1, [animation('stand'), set('velocity_x', 0)], animation('walk'))",
on_end_stand_anim: "if (1d50 = 1, if (1d2=1, [set(facing, -facing), animation('turn')], animation('walk')), null)",
on_end_anim: "null",
on_process_stand: "null",
animation: [
	{
		image: "enemies/ant-flying-black.png",
		rotate_on_slope: true,
		pad: 3,
		accel_x: 0,
		accel_y: 80,
		body_area: "all",
		id: "stand",
	},
	{
		image: "enemies/ant-flying-black.png",
		rotate_on_slope: true,
		pad: 3,
		accel_x: 750,
		accel_y: 80,
		body_area: "all",
		id: "walk",
		duplicates: 6,
		rect: [3,1,27,28],
		duration: 2,
	},
	{
		image: "enemies/ant-flying-black.png",
		rotate_on_slope: true,
		pad: 3,
		accel_x: 0,
		accel_y: 80,
		body_area: "all",
		id: "spring",
	},
	{
		image: "enemies/ant-flying-black.png",
		rotate_on_slope: true,
		pad: 3,
		accel_x: 0,
		accel_y: 80,
		body_area: "all",
		id: "turn",
		duration: 3,
	},
	{
		image: "enemies/ant-flying-black.png",
		rotate_on_slope: true,
		pad: 3,
		accel_x: 0,
		accel_y: 80,
		body_area: "all",
		id: "hurt",
	},
],
object_type: {
	id: "thrown",
	prototype: ["throwable_small_enemy"],
	solid_dimensions: ["common","enemy"],
	consts: {
		basic_type: "mouse",
		thrown_type: "mouse",
	},
	animation: [
		{
			image: "enemies/ant-flying-black.png",
			id: "thrown",
			thrown_area: "all",
			duration: 60,
			rect: [31,33,55,60],
			frames: 1,
			body_area: null,
		},
		{
			image: "enemies/ant-flying-black.png",
			id: "on_back",
			rect: [31,33,55,60],
			frames: 2,
			duration: 5,
			body_area: "all",
		},
	],
},
}
