mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-09-12 00:56:53 +02:00
More Minecraft-like mob health
This commit is contained in:
parent
709079f407
commit
27d7775e98
@ -9,6 +9,7 @@
|
||||
|
||||
mobs:register_mob("mobs_mc:chicken", {
|
||||
type = "animal",
|
||||
hp_min = 4,
|
||||
hp_max = 4,
|
||||
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4},
|
||||
|
||||
|
@ -8,6 +8,7 @@
|
||||
|
||||
mobs:register_mob("mobs_mc:cow", {
|
||||
type = "animal",
|
||||
hp_min = 10,
|
||||
hp_max = 10,
|
||||
collisionbox = {-0.6, -0.01, -0.6, 0.6, 1.8, 0.6},
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
mobs:register_mob("mobs_mc:creeper", {
|
||||
type = "monster",
|
||||
hp_min = 20,
|
||||
hp_max = 20,
|
||||
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.6, 0.4},
|
||||
pathfinding = true,
|
||||
|
@ -9,6 +9,7 @@
|
||||
|
||||
mobs:register_mob("mobs_mc:enderman", {
|
||||
type = "monster",
|
||||
hp_min = 40,
|
||||
hp_max = 40,
|
||||
collisionbox = {-0.4, -2.4, -0.4, 0.4, 1.8, 0.4},
|
||||
|
||||
|
@ -10,6 +10,7 @@ mobs:register_mob("mobs_mc:ghast", {
|
||||
type = "monster",
|
||||
pathfinding = true,
|
||||
group_attack = true,
|
||||
hp_min = 10,
|
||||
hp_max = 10,
|
||||
collisionbox = {-1.45, -1.45, -1.45 ,1.45, 1.45, 1.45},
|
||||
visual_size = {x=3.0, y=3.0},
|
||||
|
@ -8,6 +8,7 @@
|
||||
|
||||
mobs:register_mob("mobs_mc:pig", {
|
||||
type = "animal",
|
||||
hp_min = 10,
|
||||
hp_max = 10,
|
||||
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4},
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
--mcsheep
|
||||
mobs:register_mob("mobs_mc:sheep", {
|
||||
type = "animal",
|
||||
hp_min = 8,
|
||||
hp_max = 8,
|
||||
collisionbox = {-0.5, -0.01, -0.5, 0.5, 1.5, 0.5},
|
||||
|
||||
|
@ -8,6 +8,7 @@
|
||||
|
||||
mobs:register_mob("mobs_mc:skeleton", {
|
||||
type = "monster",
|
||||
hp_min = 30,
|
||||
hp_max = 30,
|
||||
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.9, 0.4},
|
||||
pathfinding = true,
|
||||
|
@ -10,6 +10,7 @@ mobs:register_mob("mobs_mc:greensmall", {
|
||||
type = "monster",
|
||||
pathfinding = true,
|
||||
group_attack = true,
|
||||
hp_min = 1,
|
||||
hp_max = 1,
|
||||
collisionbox = {-0.2, -0.4, -0.2, 0.2, 0.2, 0.2},
|
||||
visual_size = {x=0.5, y=0.5},
|
||||
@ -68,6 +69,7 @@ mobs:register_mob("mobs_mc:greenmedium", {
|
||||
type = "monster",
|
||||
pathfinding = true,
|
||||
group_attack = true,
|
||||
hp_min = 4,
|
||||
hp_max = 4,
|
||||
collisionbox = {-0.55, -0.55, -0.55, 0.55, 0.55, 0.55},
|
||||
visual_size = {x=1.0, y=1.0},
|
||||
@ -128,6 +130,7 @@ mobs:register_mob("mobs_mc:greenbig", {
|
||||
type = "monster",
|
||||
pathfinding = true,
|
||||
group_attack = true,
|
||||
hp_min = 16,
|
||||
hp_max = 16,
|
||||
collisionbox = {-0.75, -0.75, -0.75, 0.75, 0.75, 0.75},
|
||||
visual_size = {x=1.5, y=1.5},
|
||||
@ -192,6 +195,7 @@ mobs:register_mob("mobs_mc:lavasmall", {
|
||||
type = "monster",
|
||||
pathfinding = true,
|
||||
group_attack = true,
|
||||
hp_min = 4,
|
||||
hp_max = 4,
|
||||
collisionbox = {-0.2, -0.4, -0.2, 0.2, 0.2, 0.2},
|
||||
visual_size = {x=0.5, y=0.5},
|
||||
@ -245,6 +249,7 @@ mobs:register_mob("mobs_mc:lavabig", {
|
||||
type = "monster",
|
||||
pathfinding = true,
|
||||
group_attack = true,
|
||||
hp_min = 16,
|
||||
hp_max = 16,
|
||||
collisionbox = {-0.75, -0.75, -0.75, 0.75, 0.75, 0.75},
|
||||
visual_size = {x=1.5, y=1.5},
|
||||
|
@ -13,8 +13,8 @@ mobs:register_mob("mobs_mc:spider", {
|
||||
attack_type = "dogfight",
|
||||
pathfinding = true,
|
||||
damage = 2,
|
||||
hp_min = 12,
|
||||
hp_max = 20,
|
||||
hp_min = 16,
|
||||
hp_max = 16,
|
||||
armor = 100,
|
||||
collisionbox = {-0.9, -0.01, -0.7, 0.7, 0.6, 0.7},
|
||||
visual = "mesh",
|
||||
|
@ -9,6 +9,7 @@
|
||||
|
||||
mobs:register_mob("mobs_mc:villager", {
|
||||
type = "npc",
|
||||
hp_min = 20,
|
||||
hp_max = 20,
|
||||
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.95, 0.4},
|
||||
textures = {
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
mobs:register_mob("mobs_mc:zombie", {
|
||||
type = "monster",
|
||||
hp_min = 20,
|
||||
hp_max = 20,
|
||||
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.9, 0.4},
|
||||
textures = {
|
||||
|
@ -9,6 +9,7 @@
|
||||
|
||||
mobs:register_mob("mobs_mc:pigman", {
|
||||
type = "monster",
|
||||
hp_min = 20,
|
||||
hp_max = 20,
|
||||
collisionbox = {-0.3, -1.0, -0.3, 0.3, 0.8, 0.3},
|
||||
visual = "mesh",
|
||||
|
Loading…
Reference in New Issue
Block a user