-----------------------------------
-- Area: West Ronfaure (100)
--   NM: Fungus Beetle
-----------------------------------
local ID = zones[xi.zone.WEST_RONFAURE]
-----------------------------------
---@type TMobEntity
local entity = {}

entity.phList =
{
    [ID.mob.FUNGUS_BEETLE - 21] = ID.mob.FUNGUS_BEETLE, -- -332.722 -21.032 -112.044
}

entity.spawnPoints =
{
    { x = -133.001, y = -20.636, z = -141.110 },
    { x = -287.202, y = -20.826, z = -199.075 },
    { x = -295.626, y = -21.389, z = -192.191 },
    { x = -252.249, y = -20.538, z = -160.574 },
    { x = -226.055, y = -20.460, z = -170.825 },
    { x = -242.073, y = -19.500, z = -171.025 },
    { x = -216.035, y = -19.690, z = -153.690 },
    { x = -176.108, y = -20.878, z = -138.067 },
    { x = -190.373, y = -19.769, z = -151.189 },
    { x = -211.078, y = -19.739, z = -127.686 },
    { x = -218.936, y = -19.102, z = -147.128 },
    { x = -143.541, y = -20.285, z = -130.400 },
    { x = -194.311, y = -19.796, z = -119.369 },
    { x = -266.857, y = -23.044, z = -149.485 },
    { x = -234.316, y = -20.217, z = -197.830 },
    { x = -229.780, y = -21.087, z = -187.939 },
    { x = -202.223, y = -20.000, z = -156.869 },
    { x = -263.406, y = -19.965, z = -119.037 },
    { x = -242.801, y = -19.500, z = -148.395 },
    { x = -253.220, y = -20.649, z = -168.029 },
    { x = -162.497, y = -19.500, z = -151.499 },
    { x = -169.847, y = -20.232, z = -134.252 },
    { x = -121.798, y = -19.500, z = -150.639 },
    { x = -235.352, y = -19.926, z = -156.308 },
    { x = -211.173, y = -20.188, z = -169.174 },
    { x = -171.065, y = -19.980, z = -141.711 },
    { x = -262.558, y = -25.139, z = -99.857  },
    { x = -108.421, y = -21.746, z = -142.465 },
    { x = -208.288, y = -18.364, z = -151.782 },
    { x = -227.256, y = -20.596, z = -193.797 },
    { x = -262.264, y = -21.727, z = -185.715 },
    { x = -200.540, y = -26.731, z = -93.185  },
    { x = -140.414, y = -19.760, z = -124.514 },
    { x = -253.892, y = -20.743, z = -158.584 },
    { x = -199.370, y = -19.903, z = -137.574 },
    { x = -144.323, y = -20.033, z = -155.329 },
    { x = -209.735, y = -18.870, z = -145.829 },
    { x = -153.107, y = -19.814, z = -140.866 },
    { x = -250.801, y = -20.476, z = -154.371 },
    { x = -158.985, y = -19.741, z = -146.129 },
    { x = -182.749, y = -20.065, z = -153.827 },
    { x = -135.337, y = -20.281, z = -141.171 },
    { x = -142.426, y = -19.489, z = -145.079 },
    { x = -109.167, y = -19.870, z = -153.980 },
    { x = -240.463, y = -19.500, z = -188.056 },
    { x = -124.609, y = -19.983, z = -136.957 },
    { x = -160.393, y = -19.500, z = -131.787 },
    { x = -172.596, y = -19.581, z = -160.288 },
    { x = -246.897, y = -19.663, z = -192.657 },
    { x = -116.201, y = -20.031, z = -157.715 },
}

entity.onMobDeath = function(mob, player, optParams)
    xi.hunts.checkHunt(mob, player, 147)
end

return entity
