Commit eefa5c28 authored by D00Med's avatar D00Med Committed by GitHub

Merge pull request #7 from taikedz/falling

Add fall damage, add fear of heights. give hedgehog smaller jumps.
parents 13140c45 7acbeaa0
......@@ -36,6 +36,9 @@ mobs:register_mob("dmobs:panda", {
water_damage = 0,
lava_damage = 2,
light_damage = 0,
fall_damage = 1,
fall_speed = -10,
fear_height = 4,
replace_rate = 10,
replace_what = {"default:grass_3", "default:grass_4", "default:grass_5", "ethereal:bamboo"},
replace_with = "air",
......@@ -236,6 +239,9 @@ mobs:register_mob("dmobs:gnorm", {
water_damage = 0,
lava_damage = 2,
light_damage = 0,
fall_damage = 1,
fall_speed = -6,
fear_height = 4,
replace_rate = 10,
replace_what = {"default:apple", "default:stone", "default:stone_with_coal", "default:fence_wood"},
replace_with = "air",
......@@ -297,6 +303,8 @@ mobs:register_mob("dmobs:fox", {
water_damage = 0,
lava_damage = 2,
light_damage = 0,
fall_damage = 1,
fear_height = 4,
replace_rate = 10,
replace_what = {"farming:wheat_5", "default:fence_wood", "default:grass_5", "default:dirt_with_grass"},
replace_with = "air",
......@@ -346,9 +354,13 @@ mobs:register_mob("dmobs:hedgehog", {
walk_velocity = 0.5,
run_velocity = 1,
jump = true,
jump_height = 0.6,
water_damage = 2,
lava_damage = 2,
light_damage = 0,
fall_damage = 1,
fall_speed = -6,
fear_height = 4,
view_range = 14,
follow = {"farming:bread"},
animation = {
......@@ -449,6 +461,9 @@ mobs:register_mob("dmobs:elephant", {
water_damage = 2,
lava_damage = 2,
light_damage = 0,
fall_damage = 1,
fall_speed = -20, -- extra heavy!
fear_height = 2,
replace_rate = 10,
replace_what = {"default:grass_3", "default:grass_4", "default:grass_5", "ethereal:bamboo"},
replace_with = "air",
......@@ -573,6 +588,9 @@ mobs:register_mob("dmobs:orc", {
water_damage = 0,
lava_damage = 2,
light_damage = 0,
fall_damage = 1,
fall_speed = -13,
fear_height = 4,
view_range = 14,
animation = {
speed_normal = 10,
......@@ -616,6 +634,9 @@ mobs:register_mob("dmobs:orc_redesign", {
water_damage = 0,
lava_damage = 2,
light_damage = 0,
fall_damage = 1,
fall_speed = -13,
fear_height = 4,
view_range = 14,
animation = {
speed_normal = 12,
......@@ -669,6 +690,9 @@ mobs:register_mob("dmobs:ogre", {
water_damage = 0,
lava_damage = 2,
light_damage = 0,
fall_damage = 1,
fall_speed = -14,
fear_height = 4,
view_range = 14,
animation = {
speed_normal = 10,
......@@ -722,6 +746,9 @@ mobs:register_mob("dmobs:badger", {
water_damage = 0,
lava_damage = 2,
light_damage = 0,
fall_damage = 1,
fall_speed = -8,
fear_height = 4,
follow = {"mobs:meat_raw"},
view_range = 14,
animation = {
......@@ -853,4 +880,4 @@ mobs:register_arrow("dmobs:fire", {
mobs:spawn_specific("dmobs:dragon", {"air"}, {"default:stone"}, 20, 10, 300, 15000, 2, -100, 11000)
mobs:register_egg("dmobs:dragon", "Dragon", "default_apple.png", 1)
end
\ No newline at end of file
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment