1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-12-24 17:50:21 +01:00

tidy code

This commit is contained in:
TenPlus1 2017-03-26 20:29:34 +01:00
parent a37e38da60
commit e1f7453ee5

View File

@ -1,5 +1,5 @@
-- Mobs Api (24th March 2017)
-- Mobs Api (26th March 2017)
mobs = {}
mobs.mod = "redo"
@ -2442,7 +2442,7 @@ minetest.register_entity(name, {
dogshoot_switch = def.dogshoot_switch,
dogshoot_count = 0,
dogshoot_count_max = def.dogshoot_count_max or 5,
dogshoot_count2_max = def.dogshoot_count2_max or dogshoot_count_max,
dogshoot_count2_max = def.dogshoot_count2_max or (def.dogshoot_count_max or 5),
attack_animals = def.attack_animals or false,
specific_attack = def.specific_attack,