Various fixes

This commit is contained in:
ElCeejo 2022-08-13 23:15:43 -07:00
parent 70f6128b02
commit a1df98eed7
5 changed files with 16 additions and 4 deletions

View file

@ -171,6 +171,9 @@ creatura.register_mob("animalia:chicken", {
self:set_gravity(-4.9)
self:animate("fall")
end
if self:timer(60) then
animalia.random_drop_item("animalia:chicken_egg", 3)
end
end,
death_func = function(self)
if self:get_utility() ~= "animalia:die" then

View file

@ -30,8 +30,8 @@ creatura.register_mob("animalia:cow", {
-- Visuals
mesh = "animalia_cow.b3d",
hitbox = {
width = 0.45,
height = 0.9
width = 0.65,
height = 1.5
},
visual_size = {x = 10, y = 10},
female_textures = {

View file

@ -160,6 +160,9 @@ creatura.register_mob("animalia:turkey", {
self:set_gravity(-4.9)
self:animate("fall")
end
if self:timer(60) then
animalia.random_drop_item("animalia:chicken_egg", 3)
end
end,
death_func = function(self)
if self:get_utility() ~= "animalia:die" then