mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-29 14:01:07 +01:00
Rain puts out fire faster
This commit is contained in:
parent
91c06fd77a
commit
6d727137c2
1 changed files with 6 additions and 6 deletions
|
@ -188,7 +188,7 @@ if mcl_weather.allow_abm then
|
|||
minetest.register_abm({
|
||||
label = "Rain extinguishes fire",
|
||||
nodenames = {"mcl_fire:fire"},
|
||||
interval = 4.0,
|
||||
interval = 2.0,
|
||||
chance = 2,
|
||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||
if mcl_weather.rain.raining and mcl_weather.rain.extinguish_fire then
|
||||
|
@ -197,7 +197,7 @@ if mcl_weather.allow_abm then
|
|||
minetest.sound_play("fire_extinguish_flame", {pos = pos, max_hear_distance = 16, gain = 0.15})
|
||||
end
|
||||
end
|
||||
end
|
||||
end,
|
||||
})
|
||||
|
||||
-- Slowly fill up cauldrons
|
||||
|
|
Loading…
Reference in a new issue