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

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

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

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

@ -9,7 +9,7 @@
mobs:register_mob("mobs_mc:enderman", {
type = "monster",
hp_max = 39,
hp_max = 40,
collisionbox = {-0.4, -2.4, -0.4, 0.4, 1.8, 0.4},
visual = "mesh",
@ -27,18 +27,10 @@ mobs:register_mob("mobs_mc:enderman", {
walk_velocity = 3.2,
run_velocity = 5.4,
damage = 1,
armor = 200,
armor = 100,
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",
chance = 3,
chance = 1,
min = 0,
max = 1,},
},

@ -10,12 +10,9 @@ mobs:register_mob("mobs_mc:ghast", {
type = "monster",
pathfinding = true,
group_attack = true,
hp_max = 50,
hp_max = 10,
collisionbox = {-1.45, -1.45, -1.45 ,1.45, 1.45, 1.45},
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 = {
{"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,
armor = 100,
drops = {
{name = "default:lava_source 1",
chance = 3,
min = 1,
max = 4,},
{name = "default:diamond",
{name = "mcl_mobitems:ghast_tear",
chance = 1,
min = 1,
max = 5,},
min = 0,
max = 1,},
{name = "default:gunpowder",
chance = 1,
min = 0,
max = 2,},
},
animation = {
speed_normal = 24,

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

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

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

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

@ -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")

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

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

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

@ -9,19 +9,7 @@
mobs:register_mob("mobs_mc:pigman", {
type = "monster",
hp_max = 35,
--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
hp_max = 20,
collisionbox = {-0.3, -1.0, -0.3, 0.3, 0.8, 0.3},
visual = "mesh",
mesh = "3d_armor_character.b3d",
@ -40,18 +28,19 @@ mobs:register_mob("mobs_mc:pigman", {
drops = {
{name = "mcl_mobitems:rotten_flesh",
chance = 1,
min = 1,
min = 0,
max = 1,},
{name = "default:gold_nugget",
chance = 1,
min = 0,
max = 1,},
{name = "default:gold_ingot",
chance = 13,
min = 0,
max = 2,},
{name = "default:sword_gold",
chance = 8,
chance = 40,
min = 1,
max = 1,},
{name = "default:sword_gold",
chance = 8,
-- approximation to 8.5%
chance = 11,
min = 1,
max = 1,},
},