master
runs 2020-05-30 22:00:20 +02:00
parent 53fb2ef878
commit faabc003d7
8 changed files with 12 additions and 3 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -67,10 +67,10 @@ horseshoe_speedup = 0.2
lashing_tame_count = 3
##look_at
look_at = false
look_at = true
#random probability of look_at
#i.e. 5 means probability each 5 s
look_at_random = 10
look_at_random = 5
##Breed System
pregnant_count = 5

View File

@ -46,7 +46,11 @@ minetest.register_entity("petz:"..pet_name,{
view_range = 10,
lung_capacity = 10, -- seconds
max_hp = 10,
makes_footstep_sound = true,
head = {
position = vector.new(-0.1939, 0.8726, 0),
rotation_origin = vector.new(-90, 90, 0), --in degrees, normally values are -90, 0, 90
},
attack={range=0.5, damage_groups={fleshy=3}},
animation = {

View File

@ -74,6 +74,11 @@ minetest.register_entity("petz:"..pet_name, {
attack={range=0.5, damage_groups={fleshy=3}},
head = {
position = vector.new(-0.3878, 0.7757, 0),
rotation_origin = vector.new(-90, 90, 0), --in degrees, normally values are -90, 0, 90
},
animation = {
walk={range={x=1, y=12}, speed=25, loop=true},
run={range={x=13, y=25}, speed=25, loop=true},