forked from VoxeLibre/VoxeLibre
Reduce fall damage on beds by 50%
This commit is contained in:
parent
f0e93f8fdf
commit
c9969e37a9
|
@ -49,7 +49,7 @@ function beds.register_bed(name, def)
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
stack_max = 1,
|
stack_max = 1,
|
||||||
groups = {handy=1, flammable = 3, bed = 1, dig_by_piston=1},
|
groups = {handy=1, flammable = 3, bed = 1, dig_by_piston=1, fall_damage_add_percent=-50},
|
||||||
_mcl_hardness = 0.2,
|
_mcl_hardness = 0.2,
|
||||||
_mcl_blast_resistance = 1,
|
_mcl_blast_resistance = 1,
|
||||||
sounds = def.sounds or mcl_sounds.node_sound_wood_defaults(),
|
sounds = def.sounds or mcl_sounds.node_sound_wood_defaults(),
|
||||||
|
@ -165,7 +165,7 @@ function beds.register_bed(name, def)
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
pointable = false,
|
pointable = false,
|
||||||
groups = {handy = 1, flammable = 3, bed = 2, dig_by_piston=1},
|
groups = {handy = 1, flammable = 3, bed = 2, dig_by_piston=1, fall_damage_add_percent=-50},
|
||||||
_mcl_hardness = 0.2,
|
_mcl_hardness = 0.2,
|
||||||
_mcl_blast_resistance = 1,
|
_mcl_blast_resistance = 1,
|
||||||
sounds = def.sounds or mcl_sounds.node_sound_wood_defaults(),
|
sounds = def.sounds or mcl_sounds.node_sound_wood_defaults(),
|
||||||
|
|
Loading…
Reference in New Issue