1
0
mirror of https://codeberg.org/tenplus1/mobs_animal.git synced 2024-12-22 17:00:26 +01:00

tidy bunny code

This commit is contained in:
tenplus1 2023-05-28 12:22:00 +01:00
parent 87a7c09378
commit e5cadbba40

View File

@ -6,10 +6,7 @@ local S = mobs.intllib_animal
mobs:register_mob("mobs_animal:bunny", { mobs:register_mob("mobs_animal:bunny", {
type = "animal", type = "animal",
passive = false,--true, passive = true,
attack_type = "dogfight",
attack_players = true,
damage = 5,
reach = 1, reach = 1,
stepheight = 0.6, stepheight = 0.6,
hp_min = 1, hp_min = 1,
@ -78,6 +75,7 @@ mobs:register_mob("mobs_animal:bunny", {
-- set special bunny attributes -- set special bunny attributes
local staticdata = minetest.serialize({ local staticdata = minetest.serialize({
type = "monster", type = "monster",
attack_type = "dogfight",
hp_max = 20, hp_max = 20,
health = 20, health = 20,
damage = 5, damage = 5,