tune timeout/lifetime

This commit is contained in:
berengma 2021-01-30 17:49:38 +01:00
parent cd27e44744
commit 6149ca27b8
3 changed files with 3 additions and 3 deletions

View File

@ -111,7 +111,7 @@ minetest.register_entity("wildcow:auroch_calf",{
view_range = 10,
lung_capacity = 20, -- seconds
max_hp = 13,
timeout = 1440,
timeout = 0,
attack={range=0.5,damage_groups={fleshy=5}},
sounds = {
--scared='deer_scared',

View File

@ -236,7 +236,7 @@ minetest.register_entity("wildcow:auroch_female",{
view_range = 12,
lung_capacity = 20, -- seconds
max_hp = 25,
timeout = wildcow.lifetime,
timeout = -1*wildcow.lifetime,
attack={range=0.5,damage_groups={fleshy=5}},
animation = {
def={range={x=31,y=74},speed=15,loop=true},

View File

@ -180,7 +180,7 @@ minetest.register_entity("wildcow:auroch_male",{
view_range = 14,
lung_capacity = 20, -- seconds
max_hp = 25,
timeout = wildcow.lifetime,
timeout = -1*wildcow.lifetime,
attack={range=0.5,damage_groups={fleshy=10}},
animation = {
def={range={x=31,y=74},speed=15,loop=true},