Adjust health and drops of mobs

This commit is contained in:
Wuzzy 2017-01-16 20:52:09 +01:00
parent 4af543d920
commit c5aa2e612c
14 changed files with 92 additions and 192 deletions

View file

@ -41,9 +41,9 @@ mobs:register_mob("mobs_mc:spider", {
peaceful = false,
drops = {
{name = "default:string",
chance = 1, min = 1, max = 5,},
{name = "mcl_mobitems:meat_raw",
chance = 1, min = 0, max = 1,},
chance = 1, min = 0, max = 2,},
{name = "mcl_mobitems:spider_eye",
chance = 3, min = 1, max = 1,},
},
water_damage = 5,
lava_damage = 50,
@ -60,37 +60,6 @@ mobs:register_mob("mobs_mc:spider", {
mobs:register_spawn("mobs_mc:spider", {"default:stone" ,"default:gravel","default:cobble","group:crumbly", "group:cracky", "group:choppy", "group:snappy"}, 4, -1, 17000, 2, 3000)
-- Cobweb
minetest.register_node(":mobs:cobweb", {
description = "Cobweb",
drawtype = "plantlike",
visual_scale = 1.1,
tiles = {"mobs_cobweb.png"},
inventory_image = "mobs_cobweb.png",
paramtype = "light",
sunlight_propagates = true,
liquid_viscosity = 11,
liquidtype = "source",
liquid_alternative_flowing = "mobs:cobweb",
liquid_alternative_source = "mobs:cobweb",
liquid_renewable = false,
liquid_range = 0,
walkable = false,
groups = {snappy=1,liquid=3},
drop = "farming:cotton",
sounds = default.node_sound_leaves_defaults(),
})
minetest.register_craft({
output = "mobs:cobweb",
recipe = {
{"farming:string", "", "farming:string"},
{"", "farming:string", ""},
{"farming:string", "", "farming:string"},
}
})
-- compatibility
mobs:alias_mob("mobs:spider", "mobs_mc:spider")
mobs:alias_mob("esmobs:spider", "mobs_mc:spider")