Bio Industries


Provides useful buildings and items, like the Bio Farm for growing trees. Solar Farm and Large Accumulator to make your electric setup easier. Bio Fuel section to produce organic plastic and batteries. Lots of New Wood Products, like the big electric pole, wooden pipes, dart turret. Plant trees using seedlings. Change terrain from deserts to grasslands using Fertilizer - helps trees grow better. And a lot more… Please visit the homepage on the forums for more information and feedback.

Content
9 months ago
0.14 - 1.1
54.4K
Manufacturing

g [Fixed] Factorio version 18.18 Changed some sounds.

4 years ago
(updated 4 years ago)

A bunch of sound lists in the demo-sounds.lua file have been changed to functions. Changes must be made in multiple files of this mod to compensate.

In essence replacing the for loop with a single function call from:

for _, sound in ipairs(sounds.car_wood_impact) do
sound.volume = 1.0
end

to

sounds.car_wood_impact(1.0)

In these files:
prototypes/Bio_Farm/entities.lua:Line 14
prototypes/Wood_Products/entities.lua:Line 12
prototypes/Bio_Turret/entity.lua:Line 6

Also sounds.car_wood_impact must be replaced with sounds.car_wood_impact(1.0) in the following locations:
prototypes/Wood_Products/entities.lua:Lines 674, 1657, 1690, 1723
prototypes/Bio_Turret/entity.lua:Line 261
prototypes/Bio_Farm/entities.lua:Lines 68, 103, 137

For anyone else doing this manually Bio_Farm uses a volume level of 0.8 instead of 1.0, so to be in sync with the original, you may want to use those values in that file.

EDIT: I Just realized I left the old code in as a comment, the line numbers could be off by about 3 or so lines, I apologize for any inconvenience. They should still be easy enough to spot.

Pi-C
4 years ago

Thanks for taking the time to post this! I've already noticed and fixed this. Emergency release (other changes postponed) will follow soon, just need some time for testing …

Pi-C
4 years ago

Should be fixed now in 0.18.12. By the way, I think your first line does nothing:

sounds.car_wood_impact(1.0)

It just returns a table that will never be used. Should have worked anyway, but is unnecessary, I think. My update includes a version check so that the game won't crash for players that are still on Factorio <= 0.18.17 (Steam updates apparently are delayed sometimes).

New response