diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2018-06-27 09:42:26 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2018-06-27 09:42:26 +0100 |
commit | 94acc325c0d207eaf3b00015a9d1fc944c2bdf95 (patch) | |
tree | 84f06d2cda03da50ae4d8ab7de454827b796fa4e | |
parent | ae9a93e95d3443789f8b6dd4f6fe29d96ed856b2 (diff) |
add new attack settings
-rw-r--r-- | cow.lua | 1 | ||||
-rw-r--r-- | kitten.lua | 8 | ||||
-rw-r--r-- | warthog.lua | 1 |
3 files changed, 9 insertions, 1 deletions
@@ -8,6 +8,7 @@ mobs:register_mob("mobs_animal:cow", { type = "animal", passive = false, attack_type = "dogfight", + attack_npcs = false, reach = 2, damage = 4, hp_min = 5, @@ -7,7 +7,13 @@ local S = mobs.intllib mobs:register_mob("mobs_animal:kitten", { stepheight = 0.6, type = "animal", - passive = true, +specific_attack = {"mobs_animal:rat"}, +damage = 1, +attack_type = "dogfight", +attack_animals = true, -- so it can attack rat +attack_players = false, +reach = 1, + passive = false, hp_min = 5, hp_max = 10, armor = 200, diff --git a/warthog.lua b/warthog.lua index d1f028d..92418e2 100644 --- a/warthog.lua +++ b/warthog.lua @@ -11,6 +11,7 @@ stepheight = 0.6, attack_type = "dogfight", group_attack = true, owner_loyal = true, + attack_npcs = false, reach = 2, damage = 2, hp_min = 5, |