mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-08-23 10:27:25 +02:00
Fix some pathfinding mob definitions
This commit is contained in:
parent
0f119663d7
commit
26cea30116
@ -29,7 +29,7 @@ mobs:register_mob("mobs_mc:blaze", {
|
|||||||
walk_velocity = .8,
|
walk_velocity = .8,
|
||||||
run_velocity = 1.6,
|
run_velocity = 1.6,
|
||||||
damage = 2.5,
|
damage = 2.5,
|
||||||
pathfinding = true,
|
pathfinding = 1,
|
||||||
group_attack = true,
|
group_attack = true,
|
||||||
armor = 80,
|
armor = 80,
|
||||||
drops = {
|
drops = {
|
||||||
|
@ -13,7 +13,7 @@ mobs:register_mob("mobs_mc:creeper", {
|
|||||||
hp_min = 20,
|
hp_min = 20,
|
||||||
hp_max = 20,
|
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 = 1,
|
||||||
group_attack = true,
|
group_attack = true,
|
||||||
visual = "mesh",
|
visual = "mesh",
|
||||||
visual_size = {x=.75, y=.75, z=.75},
|
visual_size = {x=.75, y=.75, z=.75},
|
||||||
|
@ -12,7 +12,7 @@ mobs:register_mob("mobs_mc:enderman", {
|
|||||||
hp_min = 40,
|
hp_min = 40,
|
||||||
hp_max = 40,
|
hp_max = 40,
|
||||||
collisionbox = {-0.4, -1.5, -0.4, 0.4, 1.5, 0.4},
|
collisionbox = {-0.4, -1.5, -0.4, 0.4, 1.5, 0.4},
|
||||||
|
pathfinding = 1,
|
||||||
visual = "mesh",
|
visual = "mesh",
|
||||||
mesh = "mobs_sand_monster.b3d",
|
mesh = "mobs_sand_monster.b3d",
|
||||||
textures = {
|
textures = {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
mobs:register_mob("mobs_mc:ghast", {
|
mobs:register_mob("mobs_mc:ghast", {
|
||||||
type = "monster",
|
type = "monster",
|
||||||
pathfinding = true,
|
pathfinding = 1,
|
||||||
group_attack = true,
|
group_attack = true,
|
||||||
hp_min = 10,
|
hp_min = 10,
|
||||||
hp_max = 10,
|
hp_max = 10,
|
||||||
|
@ -11,7 +11,7 @@ mobs:register_mob("mobs_mc:skeleton", {
|
|||||||
hp_min = 30,
|
hp_min = 30,
|
||||||
hp_max = 30,
|
hp_max = 30,
|
||||||
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},
|
||||||
pathfinding = true,
|
pathfinding = 1,
|
||||||
group_attack = true,
|
group_attack = true,
|
||||||
visual = "mesh",
|
visual = "mesh",
|
||||||
mesh = "mobs_skeleton.x",
|
mesh = "mobs_skeleton.x",
|
||||||
@ -75,7 +75,7 @@ mobs:register_mob("mobs_mc:skeleton2", {
|
|||||||
type = "monster",
|
type = "monster",
|
||||||
hp_max = 60,
|
hp_max = 60,
|
||||||
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},
|
||||||
pathfinding = true,
|
pathfinding = 1,
|
||||||
group_attack = true,
|
group_attack = true,
|
||||||
visual = "mesh",
|
visual = "mesh",
|
||||||
mesh = "mobs_skeleton.x",
|
mesh = "mobs_skeleton.x",
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
mobs:register_mob("mobs_mc:greensmall", {
|
mobs:register_mob("mobs_mc:greensmall", {
|
||||||
type = "monster",
|
type = "monster",
|
||||||
pathfinding = true,
|
pathfinding = 1,
|
||||||
group_attack = true,
|
group_attack = true,
|
||||||
hp_min = 1,
|
hp_min = 1,
|
||||||
hp_max = 1,
|
hp_max = 1,
|
||||||
@ -70,7 +70,7 @@ mobs:register_mob("mobs_mc:greensmall", {
|
|||||||
|
|
||||||
mobs:register_mob("mobs_mc:greenmedium", {
|
mobs:register_mob("mobs_mc:greenmedium", {
|
||||||
type = "monster",
|
type = "monster",
|
||||||
pathfinding = true,
|
pathfinding = 1,
|
||||||
group_attack = true,
|
group_attack = true,
|
||||||
hp_min = 4,
|
hp_min = 4,
|
||||||
hp_max = 4,
|
hp_max = 4,
|
||||||
@ -138,7 +138,7 @@ mobs:register_mob("mobs_mc:greenmedium", {
|
|||||||
|
|
||||||
mobs:register_mob("mobs_mc:greenbig", {
|
mobs:register_mob("mobs_mc:greenbig", {
|
||||||
type = "monster",
|
type = "monster",
|
||||||
pathfinding = true,
|
pathfinding = 1,
|
||||||
group_attack = true,
|
group_attack = true,
|
||||||
hp_min = 16,
|
hp_min = 16,
|
||||||
hp_max = 16,
|
hp_max = 16,
|
||||||
@ -212,7 +212,7 @@ mobs:register_spawn("mobs_mc:greenbig", {"mcl_core:water_flowing", "group:solid"
|
|||||||
|
|
||||||
mobs:register_mob("mobs_mc:lavasmall", {
|
mobs:register_mob("mobs_mc:lavasmall", {
|
||||||
type = "monster",
|
type = "monster",
|
||||||
pathfinding = false,
|
pathfinding = 1,
|
||||||
group_attack = true,
|
group_attack = true,
|
||||||
hp_min = 1,
|
hp_min = 1,
|
||||||
hp_max = 1,
|
hp_max = 1,
|
||||||
@ -268,7 +268,7 @@ mobs:register_mob("mobs_mc:lavasmall", {
|
|||||||
|
|
||||||
mobs:register_mob("mobs_mc:lavamedium", {
|
mobs:register_mob("mobs_mc:lavamedium", {
|
||||||
type = "monster",
|
type = "monster",
|
||||||
pathfinding = false,
|
pathfinding = 1,
|
||||||
group_attack = true,
|
group_attack = true,
|
||||||
hp_min = 4,
|
hp_min = 4,
|
||||||
hp_max = 4,
|
hp_max = 4,
|
||||||
@ -343,7 +343,7 @@ mobs:register_mob("mobs_mc:lavamedium", {
|
|||||||
|
|
||||||
mobs:register_mob("mobs_mc:lavabig", {
|
mobs:register_mob("mobs_mc:lavabig", {
|
||||||
type = "monster",
|
type = "monster",
|
||||||
pathfinding = false,
|
pathfinding = 1,
|
||||||
group_attack = true,
|
group_attack = true,
|
||||||
hp_min = 16,
|
hp_min = 16,
|
||||||
hp_max = 16,
|
hp_max = 16,
|
||||||
|
@ -11,7 +11,7 @@ mobs:register_mob("mobs_mc:spider", {
|
|||||||
type = "monster",
|
type = "monster",
|
||||||
passive = false,
|
passive = false,
|
||||||
attack_type = "dogfight",
|
attack_type = "dogfight",
|
||||||
pathfinding = true,
|
pathfinding = 1,
|
||||||
damage = 2,
|
damage = 2,
|
||||||
docile_by_day = true,
|
docile_by_day = true,
|
||||||
hp_min = 16,
|
hp_min = 16,
|
||||||
|
@ -15,6 +15,7 @@ mobs:register_mob("mobs_mc:dog", {
|
|||||||
hp_max = 6,
|
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",
|
||||||
|
pathfinding = 1,
|
||||||
mesh = "mobs_wolf.x",
|
mesh = "mobs_wolf.x",
|
||||||
textures = {
|
textures = {
|
||||||
{"mobs_dog.png"},
|
{"mobs_dog.png"},
|
||||||
|
@ -24,7 +24,7 @@ local zombie = {
|
|||||||
run_velocity = 1.6,
|
run_velocity = 1.6,
|
||||||
damage = 3,
|
damage = 3,
|
||||||
fear_height = 8,
|
fear_height = 8,
|
||||||
pathfinding = true,
|
pathfinding = 1,
|
||||||
jump = true,
|
jump = true,
|
||||||
jump_height = 1.25,
|
jump_height = 1.25,
|
||||||
group_attack = true,
|
group_attack = true,
|
||||||
|
@ -24,7 +24,7 @@ mobs:register_mob("mobs_mc:pigman", {
|
|||||||
run_velocity = 2.6,
|
run_velocity = 2.6,
|
||||||
damage = 2,
|
damage = 2,
|
||||||
armor = 80,
|
armor = 80,
|
||||||
pathfinding = true,
|
pathfinding = 1,
|
||||||
group_attack = true,
|
group_attack = true,
|
||||||
drops = {
|
drops = {
|
||||||
{name = "mcl_mobitems:rotten_flesh",
|
{name = "mcl_mobitems:rotten_flesh",
|
||||||
|
Loading…
Reference in New Issue
Block a user