mirror of
https://github.com/ElCeejo/animalia.git
synced 2025-09-06 21:25:48 -04:00
Fix sheared Sheep texture, Improve behaviors, Improve mapgen spawning
This commit is contained in:
parent
31c0232697
commit
fc6af4b455
5 changed files with 76 additions and 56 deletions
|
@ -141,7 +141,8 @@ creatura.register_mob("animalia:cow", {
|
|||
[5] = {
|
||||
utility = "animalia:mammal_breed",
|
||||
get_score = function(self)
|
||||
if self.breeding then
|
||||
if self.breeding
|
||||
and animalia.get_nearby_mate(self, self.name) then
|
||||
return 0.9, {self}
|
||||
end
|
||||
return 0
|
||||
|
|
|
@ -162,11 +162,6 @@ creatura.register_mob("animalia:horse", {
|
|||
and type(self.lasso_origin) == "userdata" then
|
||||
return 0.8, {self, self.lasso_origin, true}
|
||||
end
|
||||
local player = creatura.get_nearby_player(self)
|
||||
if player
|
||||
and self:follow_wielded_item(player) then
|
||||
return 0.8, {self, player}
|
||||
end
|
||||
return 0
|
||||
end
|
||||
},
|
||||
|
|
|
@ -68,7 +68,6 @@ creatura.register_mob("animalia:sheep", {
|
|||
walk = {range = {x = 70, y = 110}, speed = 40, frame_blend = 0.3, loop = true},
|
||||
run = {range = {x = 70, y = 110}, speed = 50, frame_blend = 0.3, loop = true},
|
||||
},
|
||||
use_texture_alpha = true,
|
||||
-- Misc
|
||||
catch_with_net = true,
|
||||
catch_with_lasso = true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue