mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 04:21:07 +01:00
Make sheep always drop 1 wool (MC continuity)
This commit is contained in:
parent
92887f5501
commit
e53b6c124c
1 changed files with 0 additions and 16 deletions
|
@ -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 a new issue