Tweak water and lava damage for all mobs
This commit is contained in:
parent
0abdb5af67
commit
a0f3402346
|
@ -49,7 +49,8 @@ mobs:register_mob("mobs_mc:blaze", {
|
|||
shoot_end = 40,
|
||||
},
|
||||
drawtype = "front",
|
||||
water_damage = 10,
|
||||
-- MC Wiki: 1 damage every half second
|
||||
water_damage = 2,
|
||||
lava_damage = 0,
|
||||
fall_damage = 0,
|
||||
light_damage = 0,
|
||||
|
|
|
@ -34,8 +34,7 @@ mobs:register_mob("mobs_mc:chicken", {
|
|||
max = 2,},
|
||||
},
|
||||
drawtype = "front",
|
||||
water_damage = 1,
|
||||
lava_damage = 5,
|
||||
lava_damage = minetest.registered_nodes["mcl_core:lava_source"].damage_per_second,
|
||||
light_damage = 0,
|
||||
fall_damage = false,
|
||||
fear_height = 4,
|
||||
|
|
|
@ -28,8 +28,7 @@ mobs:register_mob("mobs_mc:cow", {
|
|||
max = 2,},
|
||||
},
|
||||
drawtype = "front",
|
||||
water_damage = 1,
|
||||
lava_damage = 5,
|
||||
lava_damage = minetest.registered_nodes["mcl_core:lava_source"].damage_per_second,
|
||||
light_damage = 0,
|
||||
fear_height = 3,
|
||||
sounds = {
|
||||
|
|
|
@ -67,8 +67,7 @@ mobs:register_mob("mobs_mc:creeper", {
|
|||
look_end = 108,
|
||||
},
|
||||
drawtype = "front",
|
||||
water_damage = 1,
|
||||
lava_damage = 5,
|
||||
lava_damage = minetest.registered_nodes["mcl_core:lava_source"].damage_per_second,
|
||||
light_damage = 0,
|
||||
view_range = 16,
|
||||
attack_type = "explode",
|
||||
|
|
|
@ -49,7 +49,7 @@ mobs:register_mob("mobs_mc:enderman", {
|
|||
},
|
||||
drawtype = "front",
|
||||
water_damage = 1,
|
||||
lava_damage = 5,
|
||||
lava_damage = minetest.registered_nodes["mcl_core:lava_source"].damage_per_second,
|
||||
light_damage = 0,
|
||||
view_range = 16,
|
||||
attack_type = "dogfight",
|
||||
|
|
|
@ -57,11 +57,10 @@ mobs:register_mob("mobs_mc:ghast", {
|
|||
death_end = 118,
|
||||
},
|
||||
drawtype = "front",
|
||||
water_damage = 10,
|
||||
lava_damage = 0,
|
||||
light_damage = 0,
|
||||
fall_damage = 0,
|
||||
view_range = 16,
|
||||
view_range = 100,
|
||||
--attack_type = "dogshoot",
|
||||
attack_type = "dogshoot",
|
||||
arrow = "mobs_mc:ghast_fireball",
|
||||
|
|
|
@ -209,8 +209,7 @@ mobs:register_mob("mobs_mc:horse", {
|
|||
max = 2,},
|
||||
},
|
||||
drawtype = "front",
|
||||
water_damage = 1,
|
||||
lava_damage = 5,
|
||||
lava_damage = minetest.registered_nodes["mcl_core:lava_source"].damage_per_second,
|
||||
light_damage = 0,
|
||||
fear_height = 6,
|
||||
animation = {
|
||||
|
@ -252,8 +251,7 @@ mobs:register_mob("mobs_mc:horse2", {
|
|||
max = 2,},
|
||||
},
|
||||
drawtype = "front",
|
||||
water_damage = 1,
|
||||
lava_damage = 5,
|
||||
lava_damage = minetest.registered_nodes["mcl_core:lava_source"].damage_per_second,
|
||||
light_damage = 0,
|
||||
fear_height = 6,
|
||||
animation = {
|
||||
|
@ -295,8 +293,7 @@ mobs:register_mob("mobs_mc:horse3", {
|
|||
max = 2,},
|
||||
},
|
||||
drawtype = "front",
|
||||
water_damage = 1,
|
||||
lava_damage = 5,
|
||||
lava_damage = minetest.registered_nodes["mcl_core:lava_source"].damage_per_second,
|
||||
light_damage = 0,
|
||||
fear_height = 6,
|
||||
animation = {
|
||||
|
|
|
@ -27,8 +27,7 @@ mobs:register_mob("mobs_mc:pig", {
|
|||
max = 3,},
|
||||
},
|
||||
drawtype = "front",
|
||||
water_damage = 1,
|
||||
lava_damage = 5,
|
||||
lava_damage = minetest.registered_nodes["mcl_core:lava_source"].damage_per_second,
|
||||
light_damage = 0,
|
||||
fear_height = 4,
|
||||
jump_height = 4.5,
|
||||
|
|
|
@ -33,10 +33,9 @@ mobs:register_mob("mobs_mc:rabbit", {
|
|||
{name = "mcl_mobitems:rabbit_hide", chance = 1, min = 0, max = 1},
|
||||
{name = "mcl_mobitems:rabbit_foot", chance = 10, min = 1, max = 1},
|
||||
},
|
||||
water_damage = 1,
|
||||
lava_damage = 4,
|
||||
lava_damage = minetest.registered_nodes["mcl_core:lava_source"].damage_per_second,
|
||||
light_damage = 0,
|
||||
fear_height = 2,
|
||||
fear_height = 3,
|
||||
animation = {
|
||||
speed_normal = 15,
|
||||
stand_start = 1,
|
||||
|
|
|
@ -58,8 +58,7 @@ mobs:register_mob("mobs_mc:sheep", {
|
|||
max = 1,},
|
||||
},
|
||||
drawtype = "front",
|
||||
water_damage = 1,
|
||||
lava_damage = 5,
|
||||
lava_damage = minetest.registered_nodes["mcl_core:lava_source"].damage_per_second,
|
||||
light_damage = 0,
|
||||
fear_height = 4,
|
||||
jump_height = 4.5,
|
||||
|
|
|
@ -55,8 +55,8 @@ mobs:register_mob("mobs_mc:skeleton", {
|
|||
shoot_end = 82,
|
||||
},
|
||||
drawtype = "front",
|
||||
water_damage = 1,
|
||||
lava_damage = 5,
|
||||
lava_damage = minetest.registered_nodes["mcl_core:lava_source"].damage_per_second,
|
||||
-- TODO: Mob should burn only in direct sunlight
|
||||
light_damage = 1,
|
||||
view_range = 16,
|
||||
attack_type = "dogshoot",
|
||||
|
|
|
@ -53,7 +53,7 @@ mobs:register_mob("mobs_mc:greensmall", {
|
|||
},
|
||||
drawtype = "front",
|
||||
water_damage = 0,
|
||||
lava_damage = 10,
|
||||
lava_damage = minetest.registered_nodes["mcl_core:lava_source"].damage_per_second,
|
||||
light_damage = 0,
|
||||
fall_damage = 0,
|
||||
view_range = 16,
|
||||
|
@ -107,7 +107,7 @@ mobs:register_mob("mobs_mc:greenmedium", {
|
|||
},
|
||||
drawtype = "front",
|
||||
water_damage = 0,
|
||||
lava_damage = 10,
|
||||
lava_damage = minetest.registered_nodes["mcl_core:lava_source"].damage_per_second,
|
||||
light_damage = 0,
|
||||
fall_damage = 0,
|
||||
view_range = 16,
|
||||
|
@ -171,7 +171,7 @@ mobs:register_mob("mobs_mc:greenbig", {
|
|||
},
|
||||
drawtype = "front",
|
||||
water_damage = 0,
|
||||
lava_damage = 10,
|
||||
lava_damage = minetest.registered_nodes["mcl_core:lava_source"].damage_per_second,
|
||||
light_damage = 0,
|
||||
fall_damage = 0,
|
||||
view_range = 16,
|
||||
|
@ -240,7 +240,7 @@ mobs:register_mob("mobs_mc:lavasmall", {
|
|||
death_end = 118,
|
||||
},
|
||||
drawtype = "front",
|
||||
water_damage = 10,
|
||||
water_damage = 0,
|
||||
lava_damage = 0,
|
||||
light_damage = 0,
|
||||
fall_damage = 0,
|
||||
|
@ -299,7 +299,7 @@ mobs:register_mob("mobs_mc:lavabig", {
|
|||
death_end = 118,
|
||||
},
|
||||
drawtype = "front",
|
||||
water_damage = 10,
|
||||
water_damage = 0,
|
||||
lava_damage = 0,
|
||||
light_damage = 0,
|
||||
fall_damage = 0,
|
||||
|
|
|
@ -47,7 +47,7 @@ mobs:register_mob("mobs_mc:spider", {
|
|||
{name = "mcl_mobitems:spider_eye",
|
||||
chance = 3, min = 1, max = 1,},
|
||||
},
|
||||
lava_damage = 8,
|
||||
lava_damage = minetest.registered_nodes["mcl_core:lava_source"].damage_per_second,
|
||||
light_damage = 0,
|
||||
fear_height = 14,
|
||||
animation = {
|
||||
|
|
|
@ -48,7 +48,7 @@ mobs:register_mob("mobs_mc:squid", {
|
|||
view_range = 8,
|
||||
fall_damage = 1,
|
||||
water_damage = 0,
|
||||
lava_damage = 5,
|
||||
lava_damage = minetest.registered_nodes["mcl_core:lava_source"].damage_per_second,
|
||||
light_damage = 0,
|
||||
|
||||
})
|
||||
|
|
|
@ -47,8 +47,7 @@ mobs:register_mob("mobs_mc:villager", {
|
|||
shoot_end = 82,
|
||||
},
|
||||
drawtype = "front",
|
||||
water_damage = 1,
|
||||
lava_damage = 5,
|
||||
lava_damage = minetest.registered_nodes["mcl_core:lava_source"].damage_per_second,
|
||||
light_damage = 0,
|
||||
view_range = 16,
|
||||
fear_height = 5,
|
||||
|
|
|
@ -39,7 +39,7 @@ mobs:register_mob("mobs_mc:dog", {
|
|||
drops = {},
|
||||
drawtype = "front",
|
||||
water_damage = 0,
|
||||
lava_damage = 5,
|
||||
lava_damage = minetest.registered_nodes["mcl_core:lava_source"].damage_per_second,
|
||||
light_damage = 0,
|
||||
on_rightclick = function(self, clicker)
|
||||
local item = clicker:get_wielded_item()
|
||||
|
@ -139,7 +139,7 @@ mobs:register_mob("mobs_mc:wolf", {
|
|||
drops = {},
|
||||
drawtype = "front",
|
||||
water_damage = 0,
|
||||
lava_damage = 5,
|
||||
lava_damage = minetest.registered_nodes["mcl_core:lava_source"].damage_per_second,
|
||||
light_damage = 0,
|
||||
on_rightclick = function(self, clicker)
|
||||
local tool = clicker:get_wielded_item()
|
||||
|
|
|
@ -82,8 +82,8 @@ mobs:register_mob("mobs_mc:zombie", {
|
|||
death_end = 118,
|
||||
},
|
||||
drawtype = "front",
|
||||
water_damage = 1,
|
||||
lava_damage = 5,
|
||||
lava_damage = minetest.registered_nodes["mcl_core:lava_source"].damage_per_second,
|
||||
-- TODO: Burn mob only when in direct sunlight
|
||||
light_damage = 1,
|
||||
view_range = 16,
|
||||
attack_type = "dogfight",
|
||||
|
|
|
@ -75,8 +75,7 @@ mobs:register_mob("mobs_mc:pigman", {
|
|||
punch_start = 200, punch_end = 219,
|
||||
},
|
||||
drawtype = "front",
|
||||
water_damage = 1,
|
||||
lava_damage = 5,
|
||||
lava_damage = minetest.registered_nodes["mcl_core:lava_source"].damage_per_second,
|
||||
light_damage = 1,
|
||||
fear_height = 3,
|
||||
view_range = 16,
|
||||
|
|
Loading…
Reference in New Issue
Block a user