Bug Fixes

This commit is contained in:
ElCeejo 2023-03-17 13:19:59 -07:00
parent 5cd21a7a37
commit 5fb25d9dbd
4 changed files with 7 additions and 4 deletions

View file

@ -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)

View file

@ -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}

View file

@ -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}