mirror of
https://codeberg.org/tenplus1/ambience.git
synced 2025-01-11 10:30:17 +01:00
whoops, pine_leaves should be pine_needles :P
This commit is contained in:
parent
99710cedd7
commit
7bb0275f1e
@ -321,7 +321,7 @@ ambience.add_set("night", {
|
||||
|
||||
local c = (def.totals["default:leaves"] or 0)
|
||||
+ (def.totals["default:bush_leaves"] or 0)
|
||||
+ (def.totals["default:pine_leaves"] or 0)
|
||||
+ (def.totals["default:pine_needles"] or 0)
|
||||
+ (def.totals["default:aspen_leaves"] or 0)
|
||||
|
||||
if (def.tod < 0.2 or def.tod > 0.8)
|
||||
@ -330,6 +330,7 @@ ambience.add_set("night", {
|
||||
return "night"
|
||||
end
|
||||
end,
|
||||
nodes = {"group:leaves"}
|
||||
})
|
||||
|
||||
-- Daytime sounds play during day when around leaves and above ground
|
||||
@ -351,7 +352,7 @@ ambience.add_set("day", {
|
||||
|
||||
local c = (def.totals["default:leaves"] or 0)
|
||||
+ (def.totals["default:bush_leaves"] or 0)
|
||||
+ (def.totals["default:pine_leaves"] or 0)
|
||||
+ (def.totals["default:pine_needles"] or 0)
|
||||
+ (def.totals["default:aspen_leaves"] or 0)
|
||||
|
||||
if (def.tod > 0.2 and def.tod < 0.8)
|
||||
|
Loading…
Reference in New Issue
Block a user