-- SOUND GROWLER : https://freesound.org/people/usamah/sounds/464993/

mobs:register_mob("forgotten_monsters:growler", {
	--nametag = "Growler" ,
	type = "monster",
	passive = false,
	attack_npcs = false,
	attack_type = "dogfight",
	pathfinding = true,
	reach = 3,
	damage = 3,
	hp_min = 15,
	hp_max = 15,
	armor = 100,
	collisionbox = {-1.1, -0.05, -0.8, 1.1, 0.7, 0.8},
	visual = "mesh",
	mesh = "growler.b3d",
	rotate = 180,
	textures = {
		{"growler.png"},
	},
	blood_texture = "growler_blood.png",
	sounds = {
		attack = "growl_growler",
		--death = "",
	},
	fly = true ,
	fly_in = "air",
	pathfinding = 1,
	walk_velocity = 1,
	run_velocity = 3,
	jump_height = 3,
	stepheight = 1.1,
	floats = 1,
	view_range = 25,
	drops = {
		{name = "forgotten_monsters:growler_meat_raw", chance = 1, min = 1, max = 1},
		--{name = "mobs:leather", chance = 3, min = 1, max = 1},

	},
	water_damage = 0,
	lava_damage = 1,
	light_damage = 0,
	animation = {
		speed_normal = 40,
		speed_run = 40,
		stand_start = 1,
		stand_end = 38,
		walk_start = 40,
		walk_end = 78,
		run_start = 80,
		run_end = 98,
		punch_start = 100,
		punch_end = 118,
	},
})





mobs:register_egg("forgotten_monsters:growler", "Growler", "egggrowler.png", 1)



-- Suporte a Hunger_ng :

if core.get_modpath("hunger_ng") then

hunger_ng.add_hunger_data('forgotten_monsters:growler_meat_raw', {
		satiates = -5.0,
	})

hunger_ng.add_hunger_data('forgotten_monsters:growler_meat', {
		satiates = 5.0,
	})

end


