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