mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 20:41:11 +01:00
Merge branch 'burning_objects' into animated_chests
This commit is contained in:
commit
5ce8c229db
1 changed files with 27 additions and 27 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue