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

@ -9,7 +9,7 @@
mobs:register_mob("mobs_mc:chicken", { mobs:register_mob("mobs_mc:chicken", {
type = "animal", type = "animal",
hp_max = 24, hp_max = 4,
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4}, collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4},
visual = "mesh", visual = "mesh",
@ -19,7 +19,7 @@ mobs:register_mob("mobs_mc:chicken", {
}, },
makes_footstep_sound = true, makes_footstep_sound = true,
walk_velocity = 1, walk_velocity = 1,
armor = 200, armor = 100,
drops = { drops = {
{name = "mcl_mobitems:chicken_raw", {name = "mcl_mobitems:chicken_raw",
chance = 1, chance = 1,

View File

@ -8,7 +8,7 @@
mobs:register_mob("mobs_mc:cow", { mobs:register_mob("mobs_mc:cow", {
type = "animal", type = "animal",
hp_max = 28, hp_max = 10,
collisionbox = {-0.6, -0.01, -0.6, 0.6, 1.8, 0.6}, collisionbox = {-0.6, -0.01, -0.6, 0.6, 1.8, 0.6},
visual = "mesh", visual = "mesh",
@ -18,7 +18,7 @@ mobs:register_mob("mobs_mc:cow", {
}, },
makes_footstep_sound = true, makes_footstep_sound = true,
walk_velocity = 1, walk_velocity = 1,
armor = 200, armor = 100,
drops = { drops = {
{name = "mcl_mobitems:beef_raw", {name = "mcl_mobitems:beef_raw",
chance = 1, chance = 1,

View File

@ -10,7 +10,7 @@
mobs:register_mob("mobs_mc:creeper", { mobs:register_mob("mobs_mc:creeper", {
type = "monster", type = "monster",
hp_max = 30, hp_max = 20,
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.6, 0.4}, collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.6, 0.4},
pathfinding = true, pathfinding = true,
group_attack = true, group_attack = true,
@ -32,7 +32,7 @@ mobs:register_mob("mobs_mc:creeper", {
run_velocity = 3, run_velocity = 3,
damage = 1, damage = 1,
explosion_radius = 3, explosion_radius = 3,
armor = 200, armor = 100,
maxdrops = 3, maxdrops = 3,
drops = { drops = {
{name = "default:gunpowder", {name = "default:gunpowder",

View File

@ -9,7 +9,7 @@
mobs:register_mob("mobs_mc:enderman", { mobs:register_mob("mobs_mc:enderman", {
type = "monster", type = "monster",
hp_max = 39, hp_max = 40,
collisionbox = {-0.4, -2.4, -0.4, 0.4, 1.8, 0.4}, collisionbox = {-0.4, -2.4, -0.4, 0.4, 1.8, 0.4},
visual = "mesh", visual = "mesh",
@ -27,18 +27,10 @@ mobs:register_mob("mobs_mc:enderman", {
walk_velocity = 3.2, walk_velocity = 3.2,
run_velocity = 5.4, run_velocity = 5.4,
damage = 1, damage = 1,
armor = 200, armor = 100,
drops = { drops = {
{name = "default:obsidian",
chance = 4,
min = 0,
max = 2,},
{name = "default:diamond",
chance = 11,
min = 1,
max = 1,},
{name = "mcl_ender_pearl:ender_pearl", {name = "mcl_ender_pearl:ender_pearl",
chance = 3, chance = 1,
min = 0, min = 0,
max = 1,}, max = 1,},
}, },

View File

@ -10,12 +10,9 @@ mobs:register_mob("mobs_mc:ghast", {
type = "monster", type = "monster",
pathfinding = true, pathfinding = true,
group_attack = true, group_attack = true,
hp_max = 50, hp_max = 10,
collisionbox = {-1.45, -1.45, -1.45 ,1.45, 1.45, 1.45}, collisionbox = {-1.45, -1.45, -1.45 ,1.45, 1.45, 1.45},
visual_size = {x=3.0, y=3.0}, visual_size = {x=3.0, y=3.0},
-- textures = {
-- {"ghast_top.png", "ghast_bottom.png", "ghast_front.png", "ghast_sides.png", "ghast_sides.png", "ghast_sides.png"}
-- },
textures = { textures = {
{"ghast_white.png", "ghast_white.png", "ghast_front.png", "ghast_white.png", "ghast_white.png", "ghast_white.png"} {"ghast_white.png", "ghast_white.png", "ghast_front.png", "ghast_white.png", "ghast_white.png", "ghast_white.png"}
}, },
@ -35,14 +32,14 @@ mobs:register_mob("mobs_mc:ghast", {
damage = 1, damage = 1,
armor = 100, armor = 100,
drops = { drops = {
{name = "default:lava_source 1", {name = "mcl_mobitems:ghast_tear",
chance = 3,
min = 1,
max = 4,},
{name = "default:diamond",
chance = 1, chance = 1,
min = 1, min = 0,
max = 5,}, max = 1,},
{name = "default:gunpowder",
chance = 1,
min = 0,
max = 2,},
}, },
animation = { animation = {
speed_normal = 24, speed_normal = 24,

View File

@ -235,8 +235,8 @@ mobs:register_mob("mobs_mc:horse", {
mobs:register_mob("mobs_mc:horse2", { mobs:register_mob("mobs_mc:horse2", {
type = "animal", type = "animal",
hp_min = 5, hp_min = 15,
hp_max = 10, hp_max = 30,
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4}, collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4},
textures = { textures = {
{"mobs_horsepegh.png"}, {"mobs_horsepegh.png"},
@ -247,10 +247,10 @@ mobs:register_mob("mobs_mc:horse2", {
walk_velocity = 1, walk_velocity = 1,
armor = 200, armor = 200,
drops = { drops = {
{name = "mcl_mobitems:meat_raw", {name = "mcl_mobitems:leather",
chance = 1, chance = 1,
min = 2, min = 0,
max = 3,}, max = 2,},
}, },
drawtype = "front", drawtype = "front",
water_damage = 1, water_damage = 1,
@ -278,8 +278,8 @@ mobs:register_mob("mobs_mc:horse2", {
mobs:register_mob("mobs_mc:horse3", { mobs:register_mob("mobs_mc:horse3", {
type = "animal", type = "animal",
hp_min = 5, hp_min = 15,
hp_max = 10, hp_max = 30,
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4}, collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4},
textures = { textures = {
{"mobs_horsearah.png"}, {"mobs_horsearah.png"},
@ -288,12 +288,12 @@ mobs:register_mob("mobs_mc:horse3", {
mesh = "mobs_horse.x", mesh = "mobs_horse.x",
makes_footstep_sound = true, makes_footstep_sound = true,
walk_velocity = 1, walk_velocity = 1,
armor = 200, armor = 100,
drops = { drops = {
{name = "mcl_mobitems:meat_raw", {name = "mcl_mobitems:leather",
chance = 1, chance = 1,
min = 2, min = 0,
max = 3,}, max = 2,},
}, },
drawtype = "front", drawtype = "front",
water_damage = 1, water_damage = 1,

View File

@ -8,7 +8,7 @@
mobs:register_mob("mobs_mc:pig", { mobs:register_mob("mobs_mc:pig", {
type = "animal", type = "animal",
hp_max = 25, hp_max = 10,
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4}, collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4},
visual = "mesh", visual = "mesh",
@ -18,7 +18,7 @@ mobs:register_mob("mobs_mc:pig", {
}, },
makes_footstep_sound = true, makes_footstep_sound = true,
walk_velocity = 1, walk_velocity = 1,
armor = 200, armor = 100,
drops = { drops = {
{name = "mcl_mobitems:pork_raw", {name = "mcl_mobitems:pork_raw",
chance = 1, chance = 1,

View File

@ -9,7 +9,7 @@
--mcsheep --mcsheep
mobs:register_mob("mobs_mc:sheep", { mobs:register_mob("mobs_mc:sheep", {
type = "animal", type = "animal",
hp_max = 25, hp_max = 8,
collisionbox = {-0.5, -0.01, -0.5, 0.5, 1.5, 0.5}, collisionbox = {-0.5, -0.01, -0.5, 0.5, 1.5, 0.5},
visual = "mesh", visual = "mesh",
@ -19,7 +19,7 @@ mobs:register_mob("mobs_mc:sheep", {
}, },
makes_footstep_sound = true, makes_footstep_sound = true,
walk_velocity = 1, walk_velocity = 1,
armor = 200, armor = 100,
drops = { drops = {
{name = "mcl_mobs:mutton_raw", {name = "mcl_mobs:mutton_raw",
chance = 1, chance = 1,

View File

@ -10,7 +10,7 @@ mobs:register_mob("mobs_mc:greensmall", {
type = "monster", type = "monster",
pathfinding = true, pathfinding = true,
group_attack = true, group_attack = true,
hp_max = 5, hp_max = 1,
collisionbox = {-0.2, -0.4, -0.2, 0.2, 0.2, 0.2}, collisionbox = {-0.2, -0.4, -0.2, 0.2, 0.2, 0.2},
visual_size = {x=0.5, y=0.5}, visual_size = {x=0.5, y=0.5},
textures = { textures = {
@ -28,17 +28,13 @@ mobs:register_mob("mobs_mc:greensmall", {
}, },
walk_velocity = .8, walk_velocity = .8,
run_velocity = 2.6, run_velocity = 2.6,
damage = 1, damage = 0,
armor = 100, armor = 100,
drops = { drops = {
{name = "mesecons_materials:glue 1", {name = "mesecons_materials:glue",
chance = 3,
min = 1,
max = 4,},
{name = "default:grass",
chance = 1, chance = 1,
min = 1, min = 0,
max = 5,}, max = 2,},
}, },
animation = { animation = {
speed_normal = 24, speed_normal = 24,
@ -72,7 +68,7 @@ mobs:register_mob("mobs_mc:greenmedium", {
type = "monster", type = "monster",
pathfinding = true, pathfinding = true,
group_attack = true, group_attack = true,
hp_max = 10, hp_max = 4,
collisionbox = {-0.55, -0.55, -0.55, 0.55, 0.55, 0.55}, collisionbox = {-0.55, -0.55, -0.55, 0.55, 0.55, 0.55},
visual_size = {x=1.0, y=1.0}, visual_size = {x=1.0, y=1.0},
textures = { textures = {
@ -92,16 +88,7 @@ mobs:register_mob("mobs_mc:greenmedium", {
run_velocity = 2.0, run_velocity = 2.0,
damage = 2, damage = 2,
armor = 100, armor = 100,
drops = { drops = {},
{name = "default:mossycobble",
chance = 2,
min = 1,
max = 1,},
{name = "default:leaves",
chance = 1,
min = 1,
max = 5,},
},
animation = { animation = {
speed_normal = 24, speed_normal = 24,
speed_run = 48, speed_run = 48,
@ -141,7 +128,7 @@ mobs:register_mob("mobs_mc:greenbig", {
type = "monster", type = "monster",
pathfinding = true, pathfinding = true,
group_attack = true, group_attack = true,
hp_max = 25, hp_max = 16,
collisionbox = {-0.75, -0.75, -0.75, 0.75, 0.75, 0.75}, collisionbox = {-0.75, -0.75, -0.75, 0.75, 0.75, 0.75},
visual_size = {x=1.5, y=1.5}, visual_size = {x=1.5, y=1.5},
textures = { textures = {
@ -159,18 +146,9 @@ mobs:register_mob("mobs_mc:greenbig", {
}, },
walk_velocity = .8, walk_velocity = .8,
run_velocity = 1.6, run_velocity = 1.6,
damage = 2, damage = 4,
armor = 100, armor = 100,
drops = { drops = {},
{name = "default:leaves",
chance = 2,
min = 1,
max = 1,},
{name = "default:papyrus",
chance = 1,
min = 1,
max = 5,},
},
animation = { animation = {
speed_normal = 24, speed_normal = 24,
speed_run = 48, speed_run = 48,
@ -214,7 +192,7 @@ mobs:register_mob("mobs_mc:lavasmall", {
type = "monster", type = "monster",
pathfinding = true, pathfinding = true,
group_attack = true, group_attack = true,
hp_max = 15, hp_max = 4,
collisionbox = {-0.2, -0.4, -0.2, 0.2, 0.2, 0.2}, collisionbox = {-0.2, -0.4, -0.2, 0.2, 0.2, 0.2},
visual_size = {x=0.5, y=0.5}, visual_size = {x=0.5, y=0.5},
textures = { textures = {
@ -234,16 +212,7 @@ mobs:register_mob("mobs_mc:lavasmall", {
run_velocity = 2.6, run_velocity = 2.6,
damage = 1, damage = 1,
armor = 100, armor = 100,
drops = { drops = {},
{name = "tnt:gunpowder",
chance = 3,
min = 1,
max = 1,},
{name = "default:coal",
chance = 1,
min = 1,
max = 5,},
},
animation = { animation = {
speed_normal = 24, speed_normal = 24,
speed_run = 48, speed_run = 48,
@ -276,7 +245,7 @@ mobs:register_mob("mobs_mc:lavabig", {
type = "monster", type = "monster",
pathfinding = true, pathfinding = true,
group_attack = true, group_attack = true,
hp_max = 15, hp_max = 16,
collisionbox = {-0.75, -0.75, -0.75, 0.75, 0.75, 0.75}, collisionbox = {-0.75, -0.75, -0.75, 0.75, 0.75, 0.75},
visual_size = {x=1.5, y=1.5}, visual_size = {x=1.5, y=1.5},
textures = { textures = {
@ -297,14 +266,10 @@ mobs:register_mob("mobs_mc:lavabig", {
damage = 2, damage = 2,
armor = 100, armor = 100,
drops = { drops = {
{name = "tnt:gunpowder", {name = "mcl_mobitems:magma_cream",
chance = 2,
min = 1,
max = 1,},
{name = "mobs_mc:lavasmall",
chance = 1, chance = 1,
min = 1, min = 0,
max = 5,}, max = 1,},
}, },
animation = { animation = {
speed_normal = 24, speed_normal = 24,

View File

@ -41,9 +41,9 @@ mobs:register_mob("mobs_mc:spider", {
peaceful = false, peaceful = false,
drops = { drops = {
{name = "default:string", {name = "default:string",
chance = 1, min = 1, max = 5,}, chance = 1, min = 0, max = 2,},
{name = "mcl_mobitems:meat_raw", {name = "mcl_mobitems:spider_eye",
chance = 1, min = 0, max = 1,}, chance = 3, min = 1, max = 1,},
}, },
water_damage = 5, water_damage = 5,
lava_damage = 50, 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) 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 -- compatibility
mobs:alias_mob("mobs:spider", "mobs_mc:spider") mobs:alias_mob("mobs:spider", "mobs_mc:spider")
mobs:alias_mob("esmobs:spider", "mobs_mc:spider") mobs:alias_mob("esmobs:spider", "mobs_mc:spider")

View File

@ -9,8 +9,7 @@
mobs:register_mob("mobs_mc:villager", { mobs:register_mob("mobs_mc:villager", {
type = "npc", type = "npc",
hp_min = 35, hp_max = 20,
hp_max = 75,
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.95, 0.4}, collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.95, 0.4},
textures = { textures = {
{"mobs_farmer.png"} {"mobs_farmer.png"}
@ -18,19 +17,13 @@ mobs:register_mob("mobs_mc:villager", {
visual = "mesh", visual = "mesh",
mesh = "mobs_villager.x", mesh = "mobs_villager.x",
makes_footstep_sound = true, makes_footstep_sound = true,
damage = 2, damage = 0,
walk_velocity = 1.2, walk_velocity = 1.2,
run_velocity = 2.4, run_velocity = 2.4,
damage = 1, group_attack = true,
group_attack = true, attack_type = "dogfight",
attack_type = "dogfight", drops = {},
drops = { armor = 100,
{name = "default:apple",
chance = 10,
min = 1,
max = 2,},
},
armor = 90,
sounds = { sounds = {
random = "Villager1", random = "Villager1",
death = "Villagerdead", death = "Villagerdead",

View File

@ -11,8 +11,8 @@
mobs:register_mob("mobs_mc:dog", { mobs:register_mob("mobs_mc:dog", {
type = "npc", type = "npc",
passive = true, passive = true,
hp_min = 55, hp_min = 6,
hp_max = 75, hp_max = 6,
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4}, collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4},
visual = "mesh", visual = "mesh",
mesh = "mobs_wolf.x", mesh = "mobs_wolf.x",
@ -31,17 +31,12 @@ mobs:register_mob("mobs_mc:dog", {
walk_velocity = 4, walk_velocity = 4,
run_velocity = 4, run_velocity = 4,
stepheight = 1.1, stepheight = 1.1,
damage = 3, damage = 4,
group_attack = true, group_attack = true,
armor = 100, armor = 100,
attacks_monsters = true, attacks_monsters = true,
attack_type = "dogfight", attack_type = "dogfight",
drops = { drops = {},
{name = "mcl_mobitems:meat_raw",
chance = 1,
min = 2,
max = 3,},
},
drawtype = "front", drawtype = "front",
water_damage = 0, water_damage = 0,
lava_damage = 5, lava_damage = 5,
@ -120,8 +115,8 @@ mobs:register_mob("mobs_mc:dog", {
-- Wolf by KrupnoPavel -- Wolf by KrupnoPavel
mobs:register_mob("mobs_mc:wolf", { mobs:register_mob("mobs_mc:wolf", {
type = "animal", type = "animal",
hp_min = 55, hp_min = 8,
hp_max = 75, hp_max = 8,
passive = false, passive = false,
group_attack = true, group_attack = true,
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4}, collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4},
@ -138,15 +133,10 @@ mobs:register_mob("mobs_mc:wolf", {
walk_velocity = 2, walk_velocity = 2,
run_velocity = 3, run_velocity = 3,
stepheight = 1.1, stepheight = 1.1,
damage = 3, damage = 4,
armor = 200, armor = 100,
attack_type = "dogfight", attack_type = "dogfight",
drops = { drops = {},
{name = "mcl_mobitems:meat_raw",
chance = 1,
min = 2,
max = 3,},
},
drawtype = "front", drawtype = "front",
water_damage = 0, water_damage = 0,
lava_damage = 5, lava_damage = 5,

View File

@ -10,7 +10,7 @@
mobs:register_mob("mobs_mc:zombie", { mobs:register_mob("mobs_mc:zombie", {
type = "monster", type = "monster",
hp_max = 35, hp_max = 20,
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.9, 0.4}, collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.9, 0.4},
textures = { textures = {
{"mobs_zombie.png"} {"mobs_zombie.png"}
@ -26,33 +26,38 @@ mobs:register_mob("mobs_mc:zombie", {
}, },
walk_velocity = .8, walk_velocity = .8,
run_velocity = 1.6, run_velocity = 1.6,
damage = 1, damage = 3,
pathfinding = true, pathfinding = true,
group_attack = true, group_attack = true,
armor = 200, armor = 80,
drops = { drops = {
{name = "mcl_mobitems:rotten_flesh", {name = "mcl_mobitems:rotten_flesh",
chance = 1, chance = 1,
min = 1,
max = 1,},
{name = "default:steel_ingot",
chance = 3,
min = 0, min = 0,
max = 2,}, max = 2,},
{name = "default:steel_ingot",
-- approximation to 8.5%
chance = 11,
min = 1,
max = 1,},
{name = "default:shovel_steel", {name = "default:shovel_steel",
chance = 4, -- approximation to 8.5%
chance = 11,
min = 1, min = 1,
max = 1,}, max = 1,},
{name = "default:sword_steel", {name = "default:sword_steel",
chance = 8, -- approximation to 8.5%
chance = 11,
min = 1, min = 1,
max = 1,}, max = 1,},
{name = "farming:carrot", {name = "farming:carrot",
chance = 10, -- approximation to 8.5%
chance = 11,
min = 1, min = 1,
max = 1,}, max = 1,},
{name = "farming:potato", {name = "farming:potato",
chance = 10, -- approximation to 8.5%
chance = 11,
min = 1, min = 1,
max = 1,}, max = 1,},
}, },

View File

@ -9,19 +9,7 @@
mobs:register_mob("mobs_mc:pigman", { mobs:register_mob("mobs_mc:pigman", {
type = "monster", type = "monster",
hp_max = 35, hp_max = 20,
--old zombie mesh code
--collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.9, 0.4},
--textures = {
--{"mobs_zombie_pigman.png"}
--},
--visual = "mesh",
--mesh = "mobs_zombie.x",
--Tried to get a sword in pig hand
--http://minetest.fensta.bplaced.net/#page=20
--Author: Fedora P
--License: CC BY-SA 3.0
collisionbox = {-0.3, -1.0, -0.3, 0.3, 0.8, 0.3}, collisionbox = {-0.3, -1.0, -0.3, 0.3, 0.8, 0.3},
visual = "mesh", visual = "mesh",
mesh = "3d_armor_character.b3d", mesh = "3d_armor_character.b3d",
@ -40,18 +28,19 @@ mobs:register_mob("mobs_mc:pigman", {
drops = { drops = {
{name = "mcl_mobitems:rotten_flesh", {name = "mcl_mobitems:rotten_flesh",
chance = 1, chance = 1,
min = 1, min = 0,
max = 1,},
{name = "default:gold_nugget",
chance = 1,
min = 0,
max = 1,}, max = 1,},
{name = "default:gold_ingot", {name = "default:gold_ingot",
chance = 13, chance = 40,
min = 0,
max = 2,},
{name = "default:sword_gold",
chance = 8,
min = 1, min = 1,
max = 1,}, max = 1,},
{name = "default:sword_gold", {name = "default:sword_gold",
chance = 8, -- approximation to 8.5%
chance = 11,
min = 1, min = 1,
max = 1,}, max = 1,},
}, },