summaryrefslogtreecommitdiff
path: root/kitten.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-06-27 09:42:26 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2018-06-27 09:42:26 +0100
commit94acc325c0d207eaf3b00015a9d1fc944c2bdf95 (patch)
tree84f06d2cda03da50ae4d8ab7de454827b796fa4e /kitten.lua
parentae9a93e95d3443789f8b6dd4f6fe29d96ed856b2 (diff)
add new attack settings
Diffstat (limited to 'kitten.lua')
-rw-r--r--kitten.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/kitten.lua b/kitten.lua
index 948add9..53d7b4d 100644
--- a/kitten.lua
+++ b/kitten.lua
@@ -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,