Balance "noise" pollution
This commit is contained in:
		
							parent
							
								
									a348f84ebb
								
							
						
					
					
						commit
						da4f5270c0
					
				
					 13 changed files with 24 additions and 16 deletions
				
			
		| 
						 | 
				
			
			@ -6,6 +6,7 @@ Date: 07.01.2025
 | 
			
		|||
    - Remove gold from burner agricultural tower
 | 
			
		||||
    - Vanilla labs can use Lignumis science packs
 | 
			
		||||
    - Balance technology "Basic construction robotics (copper)"
 | 
			
		||||
    - Balance "noise" pollution
 | 
			
		||||
---------------------------------------------------------------------------------------------------
 | 
			
		||||
Version: 0.0.4
 | 
			
		||||
Date: 06.01.2025
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -65,7 +65,7 @@ local function generator(color)
 | 
			
		|||
        burner = {
 | 
			
		||||
            type = "burner",
 | 
			
		||||
            fuel_categories = { "chemical" },
 | 
			
		||||
            emissions_per_minute = { noise = 1, pollution = 1 },
 | 
			
		||||
            emissions_per_minute = { noise = 5, pollution = 1 },
 | 
			
		||||
            fuel_inventory_size = 2,
 | 
			
		||||
            smoke = {
 | 
			
		||||
                {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -13,7 +13,7 @@ agricultural_tower.energy_source = {
 | 
			
		|||
    fuel_categories = { "chemical" },
 | 
			
		||||
    effectivity = 1,
 | 
			
		||||
    fuel_inventory_size = 1,
 | 
			
		||||
    emissions_per_minute = { noise = 4 }
 | 
			
		||||
    emissions_per_minute = { noise = 100 }
 | 
			
		||||
}
 | 
			
		||||
agricultural_tower.resistances = nil
 | 
			
		||||
agricultural_tower.input_inventory_size = 1
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -21,7 +21,7 @@ assembling_machine.energy_source = {
 | 
			
		|||
    fuel_categories = { "chemical" },
 | 
			
		||||
    effectivity = 1,
 | 
			
		||||
    fuel_inventory_size = 1,
 | 
			
		||||
    emissions_per_minute = { noise = 20 },
 | 
			
		||||
    emissions_per_minute = { noise = 50 },
 | 
			
		||||
    smoke = {
 | 
			
		||||
        {
 | 
			
		||||
            name = "smoke",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,7 +6,7 @@ local entity = DeepMiner.EntityBuilder:new():build({
 | 
			
		|||
    energy_usage = "25MW",
 | 
			
		||||
    mining_speed = 30,
 | 
			
		||||
    energySource = {
 | 
			
		||||
        emissions_per_minute = { noise = 100 }
 | 
			
		||||
        emissions_per_minute = { noise = 500 }
 | 
			
		||||
    }
 | 
			
		||||
})
 | 
			
		||||
entity.resource_categories = { "deep-mining" }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -11,7 +11,7 @@ data:extend({
 | 
			
		|||
table.insert(data.raw["character"]["character"].crafting_categories, "wood-processing-or-assembling")
 | 
			
		||||
 | 
			
		||||
LumberMill.EntityBuilder:new()
 | 
			
		||||
    :burnerEnergySource({ emissions_per_minute = { noise = 50 } })
 | 
			
		||||
    :burnerEnergySource({ emissions_per_minute = { noise = 100 } })
 | 
			
		||||
    :baseProductivity(0.5)
 | 
			
		||||
    :apply({
 | 
			
		||||
        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
 | 
			
		||||
    if tree.emissions_per_second then
 | 
			
		||||
        tree.emissions_per_second.noise = -0.01
 | 
			
		||||
        tree.emissions_per_second.noise = -0.1
 | 
			
		||||
    end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
data.raw.furnace["stone-furnace"].energy_source.emissions_per_minute.noise = 4
 | 
			
		||||
data.raw["mining-drill"]["burner-mining-drill"].energy_source.emissions_per_minute.noise = 12
 | 
			
		||||
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 = 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",
 | 
			
		||||
    fuel_categories = { "steam" },
 | 
			
		||||
    effectivity = 1,
 | 
			
		||||
    emissions_per_minute = { noise = 20 },
 | 
			
		||||
    emissions_per_minute = { noise = 50 },
 | 
			
		||||
    scale_fluid_usage = true,
 | 
			
		||||
    fluid_box = {
 | 
			
		||||
        production_type = "input",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -101,7 +101,7 @@ data:extend({
 | 
			
		|||
            fuel_categories = { "chemical" },
 | 
			
		||||
            effectivity = 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 } },
 | 
			
		||||
            smoke = {
 | 
			
		||||
                {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,10 +8,10 @@ Belt.EntityBuilder:new()
 | 
			
		|||
    :animationSpeedMultiplier(1.01)
 | 
			
		||||
    :apply({
 | 
			
		||||
        transportBelt = {
 | 
			
		||||
            emissions_per_second = { noise = 0.01 }
 | 
			
		||||
            emissions_per_second = { noise = 0.05 }
 | 
			
		||||
        },
 | 
			
		||||
        undergroundBelt = {
 | 
			
		||||
            emissions_per_second = { noise = 0.1 }
 | 
			
		||||
            emissions_per_second = { noise = 0.5 }
 | 
			
		||||
        },
 | 
			
		||||
        splitter = {
 | 
			
		||||
            emissions_per_second = { noise = 1 }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -11,7 +11,7 @@ silo.energy_source = {
 | 
			
		|||
    fuel_categories = { "chemical" },
 | 
			
		||||
    effectivity = 1,
 | 
			
		||||
    fuel_inventory_size = 1,
 | 
			
		||||
    emissions_per_minute = { noise = 100 },
 | 
			
		||||
    emissions_per_minute = { noise = 1000 },
 | 
			
		||||
    smoke = {
 | 
			
		||||
        {
 | 
			
		||||
            name = "smoke",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,4 +3,4 @@ recipe.ingredients = { { type = "item", name = "lumber", amount = 4 } }
 | 
			
		|||
recipe.results = { { type = "item", name = "wooden-wall", amount = 1 } }
 | 
			
		||||
 | 
			
		||||
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