mirror of
https://github.com/ElCeejo/animalia.git
synced 2025-08-11 00:38:17 -04:00
Bug Fixes
This commit is contained in:
parent
5cd21a7a37
commit
5fb25d9dbd
4 changed files with 7 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
-- Fox --
|
||||
---------
|
||||
|
||||
local vec_dir, vec_dist = vector.direction, vector.direction
|
||||
local vec_dir, vec_dist = vector.direction, vector.distance
|
||||
local dir2yaw = minetest.dir_to_yaw
|
||||
|
||||
local function get_food_pos(self)
|
||||
|
|
|
@ -132,6 +132,7 @@ creatura.register_mob("animalia:horse", {
|
|||
fancy_collide = false,
|
||||
|
||||
-- Animalia Props
|
||||
group_wander = true,
|
||||
catch_with_net = true,
|
||||
catch_with_lasso = true,
|
||||
consumable_nodes = {
|
||||
|
@ -147,7 +148,7 @@ creatura.register_mob("animalia:horse", {
|
|||
},
|
||||
utility_stack = {
|
||||
{
|
||||
utility = "animalia:wander_group",
|
||||
utility = "animalia:wander",
|
||||
step_delay = 0.25,
|
||||
get_score = function(self)
|
||||
return 0.1, {self}
|
||||
|
|
|
@ -76,6 +76,7 @@ creatura.register_mob("animalia:wolf", {
|
|||
follow = follow,
|
||||
|
||||
-- Animalia Props
|
||||
skittish_wander = true,
|
||||
assist_owner = true,
|
||||
flee_puncher = false,
|
||||
catch_with_net = true,
|
||||
|
@ -91,7 +92,7 @@ creatura.register_mob("animalia:wolf", {
|
|||
-- Functions
|
||||
utility_stack = {
|
||||
{
|
||||
utility = "animalia:wander_skittish",
|
||||
utility = "animalia:wander",
|
||||
step_delay = 0.25,
|
||||
get_score = function(self)
|
||||
return 0.1, {self}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue