Make sheep always drop 1 wool (MC continuity)
parent
92887f5501
commit
e53b6c124c
|
@ -133,16 +133,6 @@ mcl_mobs.register_mob("mobs_mc:sheep", {
|
||||||
self.gotten = false
|
self.gotten = false
|
||||||
self.base_texture = sheep_texture(self.color)
|
self.base_texture = sheep_texture(self.color)
|
||||||
self.object:set_properties({ textures = self.base_texture })
|
self.object:set_properties({ textures = self.base_texture })
|
||||||
self.drops = {
|
|
||||||
{name = "mcl_mobitems:mutton",
|
|
||||||
chance = 1,
|
|
||||||
min = 1,
|
|
||||||
max = 2,},
|
|
||||||
{name = colors[self.color][1],
|
|
||||||
chance = 1,
|
|
||||||
min = 1,
|
|
||||||
max = 1,},
|
|
||||||
}
|
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
minetest.after(2.5, function()
|
minetest.after(2.5, function()
|
||||||
|
@ -242,12 +232,6 @@ mcl_mobs.register_mob("mobs_mc:sheep", {
|
||||||
item:add_wear(mobs_mc.shears_wear)
|
item:add_wear(mobs_mc.shears_wear)
|
||||||
clicker:get_inventory():set_stack("main", clicker:get_wield_index(), item)
|
clicker:get_inventory():set_stack("main", clicker:get_wield_index(), item)
|
||||||
end
|
end
|
||||||
self.drops = {
|
|
||||||
{name = "mcl_mobitems:mutton",
|
|
||||||
chance = 1,
|
|
||||||
min = 1,
|
|
||||||
max = 2,},
|
|
||||||
}
|
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
-- Dye sheep
|
-- Dye sheep
|
||||||
|
|
Loading…
Reference in New Issue