mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-11 10:30:25 +01:00
Change the diet plan of kittens/cats
Now cats eats rats
This commit is contained in:
parent
b6e4b0f7d8
commit
7e0e10fbbe
@ -95,7 +95,7 @@ mobs:register_mob("mobs:kitten", {
|
||||
speed_normal = 42,
|
||||
},
|
||||
|
||||
follow = "fishing:fish_raw",
|
||||
follow = "mobs:rat",
|
||||
view_range = 8,
|
||||
-- jump = true,
|
||||
-- step = 0.5,
|
||||
@ -104,7 +104,7 @@ mobs:register_mob("mobs:kitten", {
|
||||
|
||||
on_rightclick = function(self, clicker)
|
||||
local item = clicker:get_wielded_item()
|
||||
if item:get_name() == "fishing:fish_raw" then
|
||||
if item:get_name() == "mobs:rat" then
|
||||
if not minetest.setting_getbool("creative_mode") then
|
||||
item:take_item()
|
||||
clicker:set_wielded_item(item)
|
||||
|
Loading…
Reference in New Issue
Block a user