29,31c29,33 < stepheight = 0.6, < type = "animal", < passive = true, --- > type = "monster", > passive = false, > attack_type = "dogfight", > pathfinding = true, > reach = 2, 51d52 < jump_height = 6, 53c54 < {name = "mobs:mutton_raw", chance = 1, min = 1, max = 2}, --- > {name = "mobs:meat_raw", chance = 1, min = 1, max = 2}, 67c68 < follow = {"farming:wheat", "default:grass_5"}, --- > follow = {"farming:wheat_harvested", "default:grass_5"}, 98d98 < local name = clicker:get_player_name() 105d104 < or name ~= self.owner 113c112 < self.object:get_pos(), --- > self.object:getpos(), 137a137,138 > local name = clicker:get_player_name() > 152c153 < local pos = self.object:get_pos() --- > local pos = self.object:getpos() 163c164 < if not mobs.is_creative(clicker:get_player_name()) then --- > if not minetest.setting_getbool("creative_mode") then 184c185 < mobs:register_egg("mobs_animal:sheep_"..col[1], S("@1 Sheep", col[2]), "wool_"..col[1]..".png", 1) --- > mobs:register_egg("mobs_animal:sheep_"..col[1], col[2] .. " " .. S("Sheep"), "wool_"..col[1]..".png", 1) 191a193,198 > local spawn_on = "default:dirt_with_grass" > > if minetest.get_modpath("ethereal") then > spawn_on = "ethereal:green_dirt" > end > 194,195c201 < nodes = {"default:dirt_with_grass", "ethereal:green_dirt"}, < neighbors = {"group:grass"}, --- > nodes = {spawn_on}, 197c203 < chance = 5000, -- 15000 --- > chance = 15000, 199c205 < max_height = 200, --- > max_height = 31000, 205,227d210 < < -- raw mutton < minetest.register_craftitem(":mobs:mutton_raw", { < description = S("Raw Mutton"), < inventory_image = "mobs_mutton_raw.png", < on_use = minetest.item_eat(2), < groups = {food_meat_raw = 1, food_mutton_raw = 1, flammable = 2}, < }) < < -- cooked mutton < minetest.register_craftitem(":mobs:mutton_cooked", { < description = S("Cooked Mutton"), < inventory_image = "mobs_mutton_cooked.png", < on_use = minetest.item_eat(6), < groups = {food_meat = 1, food_mutton = 1, flammable = 2}, < }) < < minetest.register_craft({ < type = "cooking", < output = "mobs:mutton_cooked", < recipe = "mobs:mutton_raw", < cooktime = 5, < })