frogs improved

master
root 2021-02-09 11:51:48 +01:00
parent dd7353f212
commit 84e8b8fd9e
2 changed files with 8 additions and 0 deletions

View File

@ -48,6 +48,11 @@ function petz.semiaquatic_brain(self)
end
end
-- hunt a prey (frogs)
if prty < 12 then -- if not busy with anything important
petz.bh_hunt(self, 12, false)
end
if prty < 10 then
if player then
if not(self.tamed) or (self.tamed and self.status == "guard" and player:get_player_name() ~= self.owner) then

View File

@ -271,6 +271,7 @@ panda_copulation_distance = 2
##Frog Specific
frog_follow = fireflies:firefly
frog_preys = petz:ant,petz:queen_ant
frog_spawn_nodes = default:dirt_with_grass,default:river_water_source
frog_spawn_chance = 0.6
frog_spawn_biome = default
@ -514,11 +515,13 @@ snow_leopard_spawn_biome = default
##Ant Specific
ant_preys = petz:queen_ant
ant_predators = petz:frog
##Queen Ant Specific
queen_ant_spawn_chance = 0.4
queen_ant_spawn_nodes = default:dirt_with_grass,default:desert_sand
queen_ant_preys = petz:queen_ant
queen_ant_predators = petz:frog
queen_ant_spawn_biome = default
##Bunny Specific