mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-01-12 02:40:21 +01:00
tidy code
This commit is contained in:
parent
a37e38da60
commit
e1f7453ee5
4
api.lua
4
api.lua
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
-- Mobs Api (24th March 2017)
|
-- Mobs Api (26th March 2017)
|
||||||
|
|
||||||
mobs = {}
|
mobs = {}
|
||||||
mobs.mod = "redo"
|
mobs.mod = "redo"
|
||||||
@ -2442,7 +2442,7 @@ minetest.register_entity(name, {
|
|||||||
dogshoot_switch = def.dogshoot_switch,
|
dogshoot_switch = def.dogshoot_switch,
|
||||||
dogshoot_count = 0,
|
dogshoot_count = 0,
|
||||||
dogshoot_count_max = def.dogshoot_count_max or 5,
|
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,
|
attack_animals = def.attack_animals or false,
|
||||||
specific_attack = def.specific_attack,
|
specific_attack = def.specific_attack,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user