mirror of
https://github.com/ElCeejo/animalia.git
synced 2025-09-22 11:26:43 -04:00
Various fixes
This commit is contained in:
parent
70f6128b02
commit
a1df98eed7
5 changed files with 16 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue