Friendly zol

master
D00Med 2018-06-21 16:06:39 +10:00
parent 5e4e39edda
commit 8bc992f3e2
5 changed files with 49 additions and 1 deletions

View File

@ -289,4 +289,12 @@ mobs:spawn({
chance = 15000,
min_height = -5000,
day_toggle = true,
})
mobs:spawn({
name = "mobs_loz:zol_friendly",
nodes = {"default:dirt_with_dry_grass", "default:dirt_with_grass3",},
min_light = 6,
chance = 30000,
min_height = -200,
day_toggle = false,
})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 205 B

After

Width:  |  Height:  |  Size: 232 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 206 B

After

Width:  |  Height:  |  Size: 233 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 B

View File

@ -98,4 +98,44 @@ mobs:register_mob("mobs_loz:little_zol", {
},
})
mobs:register_egg("mobs_loz:zol", "Zol", "mobs_zol.png", 1)
mobs:register_egg("mobs_loz:zol", "Zol", "mobs_zol.png", 1)
mobs:register_mob("mobs_loz:zol_friendly", {
type = "animal",
passive = true,
hp_min = 20,
hp_max = 25,
armor = 100,
collisionbox = {-0.2, -0, -0.2, 0.2, 0.4, 0.2},
visual_size = {x=1.5, y=1.5},
visual = "mesh",
mesh = "zol.b3d",
textures = {
{"mobs_zol_friendly.png"},
},
blood_texture = "mobs_slime.png",
follow = "default:apple",
makes_footstep_sound = true,
view_range = 5,
walk_velocity = 0.5,
run_velocity = 1,
jumpheight = 1,
water_damage = 0,
lava_damage = 5,
light_damage = 0,
fear_height = 3,
animation = {
speed_normal = 12,
speed_run = 15,
stand_start = 10,
stand_end = 20,
walk_start = 1,
walk_end = 20,
run_start = 1,
run_end = 20,
punch_start = 1,
punch_end = 20,
},
})
mobs:register_egg("mobs_loz:zol_friendly", "Friendly Zol", "mobs_zol_friendly.png", 1)