Skip to content

Commit

Permalink
sound api changes
Browse files Browse the repository at this point in the history
przemo1232 committed Jan 28, 2025
1 parent 2061535 commit 604f440
Showing 5 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions info.json
Original file line number Diff line number Diff line change
@@ -8,6 +8,7 @@
"homepage": "https://forums.factorio.com/viewtopic.php?f=94&t=51490&sid=f5d85f769fccb0ac398bf4036f829064",
"description": "Adds realistic petrochemical processing into Factorio. Process bitumen hydrocarbons into hundreds of products and drill deep for underground oil deposits.",
"dependencies": [
"base >= 2.0.33",
"pyfusionenergy >= 3.0.0",
"pyindustry >= 3.0.0",
"? pyrawores >= 3.0.0",
2 changes: 1 addition & 1 deletion prototypes/buildings/oil-boiler-mk01.lua
Original file line number Diff line number Diff line change
@@ -111,7 +111,7 @@ ENTITY {
filename = "__base__/sound/boiler.ogg",
volume = 0.8
},
max_sounds_per_type = 3
max_sounds_per_prototype = 3
},
pictures = {
north = {
5 changes: 2 additions & 3 deletions prototypes/buildings/retorter.lua
Original file line number Diff line number Diff line change
@@ -236,8 +236,7 @@ ENTITY {
},
impact_category = "metal-large",
working_sound = {
sound = {filename = "__pypetroleumhandlinggraphics__/sounds/retorter.ogg", volume = 1.4},
idle_sound = {filename = "__pypetroleumhandlinggraphics__/sounds/retorter.ogg", volume = 0.05},
audible_distance_modifier = 0.22,
sound = {filename = "__pypetroleumhandlinggraphics__/sounds/retorter.ogg", volume = 1.4, audible_distance_modifier = 0.22,},
idle_sound = {filename = "__pypetroleumhandlinggraphics__/sounds/retorter.ogg", volume = 0.05, audible_distance_modifier = 0.22,},
}
}
2 changes: 1 addition & 1 deletion prototypes/buildings/tanks-10000.lua
Original file line number Diff line number Diff line change
@@ -76,7 +76,7 @@ ENTITY {
volume = 0.8
},
apparent_volume = 1.5,
max_sounds_per_type = 3
max_sounds_per_prototype = 3
},
circuit_wire_max_distance = 9,
circuit_connector = table.deepcopy(data.raw["storage-tank"]["storage-tank"].circuit_connector),
2 changes: 1 addition & 1 deletion prototypes/buildings/tanks-9000.lua
Original file line number Diff line number Diff line change
@@ -77,7 +77,7 @@ ENTITY {
volume = 0.8
},
apparent_volume = 1.5,
max_sounds_per_type = 3
max_sounds_per_prototype = 3
},
circuit_wire_max_distance = 9,
circuit_connector = table.deepcopy(data.raw["storage-tank"]["storage-tank"].circuit_connector),

0 comments on commit 604f440

Please sign in to comment.