Change mob drops
This commit is contained in:
parent
3fc65118da
commit
3556f746fb
@ -24,7 +24,7 @@ mobs:register_mob("mobs:bunny", {
|
|||||||
jump = true,
|
jump = true,
|
||||||
drops = {
|
drops = {
|
||||||
{name = "mobs:meat_raw",
|
{name = "mobs:meat_raw",
|
||||||
chance = 1, min = 1, max = 2},
|
chance = 1, min = 1, max = 1},
|
||||||
},
|
},
|
||||||
water_damage = 1,
|
water_damage = 1,
|
||||||
lava_damage = 4,
|
lava_damage = 4,
|
||||||
|
@ -29,7 +29,7 @@ mobs:register_mob("mobs:chicken", {
|
|||||||
jump = true,
|
jump = true,
|
||||||
drops = {
|
drops = {
|
||||||
{name = "mobs:chicken_raw",
|
{name = "mobs:chicken_raw",
|
||||||
chance = 1, min = 2, max = 2},
|
chance = 1, min = 1, max = 1},
|
||||||
},
|
},
|
||||||
water_damage = 1,
|
water_damage = 1,
|
||||||
lava_damage = 5,
|
lava_damage = 5,
|
||||||
|
4
cow.lua
4
cow.lua
@ -25,9 +25,9 @@ mobs:register_mob("mobs:cow", {
|
|||||||
jump = true,
|
jump = true,
|
||||||
drops = {
|
drops = {
|
||||||
{name = "mobs:meat_raw",
|
{name = "mobs:meat_raw",
|
||||||
chance = 1, min = 5, max = 10},
|
chance = 1, min = 1, max = 3},
|
||||||
{name = "mobs:leather",
|
{name = "mobs:leather",
|
||||||
chance = 1, min = 0, max = 3},
|
chance = 1, min = 1, max = 2},
|
||||||
},
|
},
|
||||||
water_damage = 1,
|
water_damage = 1,
|
||||||
lava_damage = 5,
|
lava_damage = 5,
|
||||||
|
@ -30,7 +30,7 @@ for _, col in ipairs(all_colours) do
|
|||||||
jump = true,
|
jump = true,
|
||||||
drops = {
|
drops = {
|
||||||
{name = "mobs:meat_raw",
|
{name = "mobs:meat_raw",
|
||||||
chance = 1, min = 2, max = 3},
|
chance = 1, min = 1, max = 2},
|
||||||
{name = "wool:"..col,
|
{name = "wool:"..col,
|
||||||
chance = 1, min = 1, max = 1},
|
chance = 1, min = 1, max = 1},
|
||||||
},
|
},
|
||||||
@ -79,7 +79,7 @@ for _, col in ipairs(all_colours) do
|
|||||||
if minetest.get_modpath("wool") then
|
if minetest.get_modpath("wool") then
|
||||||
local pos = self.object:getpos()
|
local pos = self.object:getpos()
|
||||||
pos.y = pos.y + 0.5
|
pos.y = pos.y + 0.5
|
||||||
local obj = minetest.add_item(pos, ItemStack("wool:"..shpcolor.." "..math.random(2,3)))
|
local obj = minetest.add_item(pos, ItemStack("wool:"..shpcolor.." "..math.random(1,3)))
|
||||||
if obj then
|
if obj then
|
||||||
obj:setvelocity({
|
obj:setvelocity({
|
||||||
x = math.random(-1,1),
|
x = math.random(-1,1),
|
||||||
|
@ -30,7 +30,7 @@ mobs:register_mob("mobs:spider", {
|
|||||||
floats = 0,
|
floats = 0,
|
||||||
drops = {
|
drops = {
|
||||||
{name = "farming:string",
|
{name = "farming:string",
|
||||||
chance = 1, min = 1, max = 5},
|
chance = 1, min = 1, max = 2},
|
||||||
{name = "ethereal:crystal_spike",
|
{name = "ethereal:crystal_spike",
|
||||||
chance = 15, min = 1, max = 2},
|
chance = 15, min = 1, max = 2},
|
||||||
},
|
},
|
||||||
|
@ -29,7 +29,7 @@ mobs:register_mob("mobs:pumba", {
|
|||||||
view_range = 10,
|
view_range = 10,
|
||||||
drops = {
|
drops = {
|
||||||
{name = "mobs:pork_raw",
|
{name = "mobs:pork_raw",
|
||||||
chance = 1, min = 2, max = 3},
|
chance = 1, min = 1, max = 3},
|
||||||
},
|
},
|
||||||
water_damage = 1,
|
water_damage = 1,
|
||||||
lava_damage = 5,
|
lava_damage = 5,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user