forked from cacklingfiend/lignumis
		
	Balance "noise" pollution
This commit is contained in:
		
							parent
							
								
									a348f84ebb
								
							
						
					
					
						commit
						da4f5270c0
					
				
					 13 changed files with 24 additions and 16 deletions
				
			
		|  | @ -20,7 +20,6 @@ The following mods can be a great addition for this mod: | ||||||
| 
 | 
 | ||||||
| Sorted by priority | Sorted by priority | ||||||
| 
 | 
 | ||||||
| - Balance pollution (noise) |  | ||||||
| - Tweak enemies + warfare (add damage research) | - Tweak enemies + warfare (add damage research) | ||||||
| - Adjust vanilla technologies | - Adjust vanilla technologies | ||||||
| - Add end-game stuff | - Add end-game stuff | ||||||
|  | @ -37,11 +36,11 @@ Sorted by priority | ||||||
| Unsorted | Unsorted | ||||||
| 
 | 
 | ||||||
| - Integrate [PlanetsLib](https://mods.factorio.com/mod/PlanetsLib) | - Integrate [PlanetsLib](https://mods.factorio.com/mod/PlanetsLib) | ||||||
| - Compatibility with hot metals |  | ||||||
| - Compatibility with all wood mods from SafTheLamb | - Compatibility with all wood mods from SafTheLamb | ||||||
| - Compatibility with [Amator Phasma's Coal & Steam (forked)](https://mods.factorio.com/mod/apm_power_ldinc) | - Compatibility with [Amator Phasma's Coal & Steam (forked)](https://mods.factorio.com/mod/apm_power_ldinc) | ||||||
| - Compatibility with [Noble Metals](https://mods.factorio.com/mod/bzgold) once it's updated | - Compatibility with [Noble Metals](https://mods.factorio.com/mod/bzgold) once it's updated | ||||||
| - Optimize images | - Optimize images | ||||||
|  | - Add noise to non-Lignumis entities brought in later | ||||||
| 
 | 
 | ||||||
| ## Credits | ## Credits | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -6,6 +6,7 @@ Date: 07.01.2025 | ||||||
|     - Remove gold from burner agricultural tower |     - Remove gold from burner agricultural tower | ||||||
|     - Vanilla labs can use Lignumis science packs |     - Vanilla labs can use Lignumis science packs | ||||||
|     - Balance technology "Basic construction robotics (copper)" |     - Balance technology "Basic construction robotics (copper)" | ||||||
|  |     - Balance "noise" pollution | ||||||
| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | ||||||
| Version: 0.0.4 | Version: 0.0.4 | ||||||
| Date: 06.01.2025 | Date: 06.01.2025 | ||||||
|  |  | ||||||
|  | @ -65,7 +65,7 @@ local function generator(color) | ||||||
|         burner = { |         burner = { | ||||||
|             type = "burner", |             type = "burner", | ||||||
|             fuel_categories = { "chemical" }, |             fuel_categories = { "chemical" }, | ||||||
|             emissions_per_minute = { noise = 1, pollution = 1 }, |             emissions_per_minute = { noise = 5, pollution = 1 }, | ||||||
|             fuel_inventory_size = 2, |             fuel_inventory_size = 2, | ||||||
|             smoke = { |             smoke = { | ||||||
|                 { |                 { | ||||||
|  |  | ||||||
|  | @ -13,7 +13,7 @@ agricultural_tower.energy_source = { | ||||||
|     fuel_categories = { "chemical" }, |     fuel_categories = { "chemical" }, | ||||||
|     effectivity = 1, |     effectivity = 1, | ||||||
|     fuel_inventory_size = 1, |     fuel_inventory_size = 1, | ||||||
|     emissions_per_minute = { noise = 4 } |     emissions_per_minute = { noise = 100 } | ||||||
| } | } | ||||||
| agricultural_tower.resistances = nil | agricultural_tower.resistances = nil | ||||||
| agricultural_tower.input_inventory_size = 1 | agricultural_tower.input_inventory_size = 1 | ||||||
|  |  | ||||||
|  | @ -21,7 +21,7 @@ assembling_machine.energy_source = { | ||||||
|     fuel_categories = { "chemical" }, |     fuel_categories = { "chemical" }, | ||||||
|     effectivity = 1, |     effectivity = 1, | ||||||
|     fuel_inventory_size = 1, |     fuel_inventory_size = 1, | ||||||
|     emissions_per_minute = { noise = 20 }, |     emissions_per_minute = { noise = 50 }, | ||||||
|     smoke = { |     smoke = { | ||||||
|         { |         { | ||||||
|             name = "smoke", |             name = "smoke", | ||||||
|  |  | ||||||
|  | @ -6,7 +6,7 @@ local entity = DeepMiner.EntityBuilder:new():build({ | ||||||
|     energy_usage = "25MW", |     energy_usage = "25MW", | ||||||
|     mining_speed = 30, |     mining_speed = 30, | ||||||
|     energySource = { |     energySource = { | ||||||
|         emissions_per_minute = { noise = 100 } |         emissions_per_minute = { noise = 500 } | ||||||
|     } |     } | ||||||
| }) | }) | ||||||
| entity.resource_categories = { "deep-mining" } | entity.resource_categories = { "deep-mining" } | ||||||
|  |  | ||||||
|  | @ -11,7 +11,7 @@ data:extend({ | ||||||
| table.insert(data.raw["character"]["character"].crafting_categories, "wood-processing-or-assembling") | table.insert(data.raw["character"]["character"].crafting_categories, "wood-processing-or-assembling") | ||||||
| 
 | 
 | ||||||
| LumberMill.EntityBuilder:new() | LumberMill.EntityBuilder:new() | ||||||
|     :burnerEnergySource({ emissions_per_minute = { noise = 50 } }) |     :burnerEnergySource({ emissions_per_minute = { noise = 100 } }) | ||||||
|     :baseProductivity(0.5) |     :baseProductivity(0.5) | ||||||
|     :apply({ |     :apply({ | ||||||
|         crafting_categories = { "wood-processing-or-assembling" }, |         crafting_categories = { "wood-processing-or-assembling" }, | ||||||
|  |  | ||||||
|  | @ -29,9 +29,17 @@ data.raw["unit"]["behemoth-spitter"].absorptions_to_join_attack.noise = 200 | ||||||
| 
 | 
 | ||||||
| for _, tree in pairs(data.raw.tree) do | for _, tree in pairs(data.raw.tree) do | ||||||
|     if tree.emissions_per_second then |     if tree.emissions_per_second then | ||||||
|         tree.emissions_per_second.noise = -0.01 |         tree.emissions_per_second.noise = -0.1 | ||||||
|     end |     end | ||||||
| end | end | ||||||
| 
 | 
 | ||||||
| data.raw.furnace["stone-furnace"].energy_source.emissions_per_minute.noise = 4 | data.raw.furnace["stone-furnace"].energy_source.emissions_per_minute.noise = 10 | ||||||
| data.raw["mining-drill"]["burner-mining-drill"].energy_source.emissions_per_minute.noise = 12 | data.raw["mining-drill"]["burner-mining-drill"].energy_source.emissions_per_minute.noise = 50 | ||||||
|  | 
 | ||||||
|  | local tiles = {"grass-1", "grass-2", "grass-3", "grass-4", "water", "deepwater", "natural-gold-soil"} | ||||||
|  | for _, tile in pairs(tiles) do | ||||||
|  |     if not data.raw.tile[tile].absorptions_per_second then | ||||||
|  |         data.raw.tile[tile].absorptions_per_second = {} | ||||||
|  |     end | ||||||
|  |     data.raw.tile[tile].absorptions_per_second.noise = 0.001 | ||||||
|  | end | ||||||
|  | @ -24,7 +24,7 @@ assembling_machine.energy_source = { | ||||||
|     type = "fluid", |     type = "fluid", | ||||||
|     fuel_categories = { "steam" }, |     fuel_categories = { "steam" }, | ||||||
|     effectivity = 1, |     effectivity = 1, | ||||||
|     emissions_per_minute = { noise = 20 }, |     emissions_per_minute = { noise = 50 }, | ||||||
|     scale_fluid_usage = true, |     scale_fluid_usage = true, | ||||||
|     fluid_box = { |     fluid_box = { | ||||||
|         production_type = "input", |         production_type = "input", | ||||||
|  |  | ||||||
|  | @ -101,7 +101,7 @@ data:extend({ | ||||||
|             fuel_categories = { "chemical" }, |             fuel_categories = { "chemical" }, | ||||||
|             effectivity = 1, |             effectivity = 1, | ||||||
|             fuel_inventory_size = 1, |             fuel_inventory_size = 1, | ||||||
|             emissions_per_minute = { pollution = 12, noise = 1 }, |             emissions_per_minute = { pollution = 12, noise = 10 }, | ||||||
|             light_flicker = { color = { 0, 0, 0 } }, |             light_flicker = { color = { 0, 0, 0 } }, | ||||||
|             smoke = { |             smoke = { | ||||||
|                 { |                 { | ||||||
|  |  | ||||||
|  | @ -8,10 +8,10 @@ Belt.EntityBuilder:new() | ||||||
|     :animationSpeedMultiplier(1.01) |     :animationSpeedMultiplier(1.01) | ||||||
|     :apply({ |     :apply({ | ||||||
|         transportBelt = { |         transportBelt = { | ||||||
|             emissions_per_second = { noise = 0.01 } |             emissions_per_second = { noise = 0.05 } | ||||||
|         }, |         }, | ||||||
|         undergroundBelt = { |         undergroundBelt = { | ||||||
|             emissions_per_second = { noise = 0.1 } |             emissions_per_second = { noise = 0.5 } | ||||||
|         }, |         }, | ||||||
|         splitter = { |         splitter = { | ||||||
|             emissions_per_second = { noise = 1 } |             emissions_per_second = { noise = 1 } | ||||||
|  |  | ||||||
|  | @ -11,7 +11,7 @@ silo.energy_source = { | ||||||
|     fuel_categories = { "chemical" }, |     fuel_categories = { "chemical" }, | ||||||
|     effectivity = 1, |     effectivity = 1, | ||||||
|     fuel_inventory_size = 1, |     fuel_inventory_size = 1, | ||||||
|     emissions_per_minute = { noise = 100 }, |     emissions_per_minute = { noise = 1000 }, | ||||||
|     smoke = { |     smoke = { | ||||||
|         { |         { | ||||||
|             name = "smoke", |             name = "smoke", | ||||||
|  |  | ||||||
|  | @ -3,4 +3,4 @@ recipe.ingredients = { { type = "item", name = "lumber", amount = 4 } } | ||||||
| recipe.results = { { type = "item", name = "wooden-wall", amount = 1 } } | recipe.results = { { type = "item", name = "wooden-wall", amount = 1 } } | ||||||
| 
 | 
 | ||||||
| local entity = data.raw.wall["wooden-wall"] | local entity = data.raw.wall["wooden-wall"] | ||||||
| entity.emissions_per_second = { noise = -0.1 } | entity.emissions_per_second = { noise = -1 } | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Simon Brodtmann
						Simon Brodtmann