mirror of
https://codeberg.org/tenplus1/mobs_animal.git
synced 2024-12-22 17:00:26 +01:00
Rats and Bee's when caught return standard craftitem, not special egg
This commit is contained in:
parent
6be32681f1
commit
08924ee1a3
2
bee.lua
2
bee.lua
@ -37,7 +37,7 @@ mobs:register_mob("mobs_animal:bee", {
|
|||||||
walk_end = 65,
|
walk_end = 65,
|
||||||
},
|
},
|
||||||
on_rightclick = function(self, clicker)
|
on_rightclick = function(self, clicker)
|
||||||
mobs:capture_mob(self, clicker, 25, 80, 0, true, nil)
|
mobs:capture_mob(self, clicker, 50, 90, 0, true, "mobs_animal:bee")
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
2
rat.lua
2
rat.lua
@ -29,7 +29,7 @@ mobs:register_mob("mobs_animal:rat", {
|
|||||||
light_damage = 0,
|
light_damage = 0,
|
||||||
fear_height = 2,
|
fear_height = 2,
|
||||||
on_rightclick = function(self, clicker)
|
on_rightclick = function(self, clicker)
|
||||||
mobs:capture_mob(self, clicker, 25, 80, 0, true, nil)
|
mobs:capture_mob(self, clicker, 50, 90, 0, true, "mobs_animal:rat")
|
||||||
end,
|
end,
|
||||||
--[[
|
--[[
|
||||||
do_custom = function(self, dtime)
|
do_custom = function(self, dtime)
|
||||||
|
Loading…
Reference in New Issue
Block a user