forked from VoxeLibre/VoxeLibre
Reduce mob death fanfare
This commit is contained in:
parent
accb8742dd
commit
87ce350653
|
@ -64,7 +64,7 @@ function mcl_mobs.death_effect(pos, yaw, collisionbox, rotate)
|
|||
end
|
||||
|
||||
minetest.add_particlespawner({
|
||||
amount = 50,
|
||||
amount = 4,
|
||||
time = 0.001,
|
||||
minpos = vector.add(pos, min),
|
||||
maxpos = vector.add(pos, max),
|
||||
|
@ -81,7 +81,7 @@ function mcl_mobs.death_effect(pos, yaw, collisionbox, rotate)
|
|||
|
||||
minetest.sound_play("mcl_mobs_mob_poof", {
|
||||
pos = pos,
|
||||
gain = 1.0,
|
||||
gain = 0.5,
|
||||
max_hear_distance = 8,
|
||||
}, true)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue