master #5

Merged
epCode merged 255 commits from VoxeLibre/VoxeLibre:master into master 2021-02-02 23:20:01 +01:00
1 changed files with 27 additions and 27 deletions
Showing only changes of commit 10d6ca4107 - Show all commits

View File

@ -143,7 +143,7 @@ function mcl_burning.set_on_fire(obj, burn_time, damage, reason)
sound_id = minetest.sound_play("fire_fire", {
object = obj,
gain = 0.18,
max_hear_distance = 32,
max_hear_distance = 16,
loop = true,
}) + 1
end
@ -171,8 +171,8 @@ function mcl_burning.set_on_fire(obj, burn_time, damage, reason)
local minp, maxp = mcl_burning.get_collisionbox(obj)
local obj_size = obj:get_properties().visual_size
local vertical_grow_factor = 1.1
local horizontal_grow_factor = 0.9
local vertical_grow_factor = 1.2
local horizontal_grow_factor = 1.1
local grow_vector = vector.new(horizontal_grow_factor, vertical_grow_factor, horizontal_grow_factor)
local size = vector.subtract(maxp, minp)