Buff quality assembling
This commit is contained in:
		
							parent
							
								
									c3e7ba5a2f
								
							
						
					
					
						commit
						9b268afba9
					
				
					 2 changed files with 41 additions and 5 deletions
				
			
		| 
						 | 
					@ -145,6 +145,7 @@ quality-assembler=Quality assembler
 | 
				
			||||||
aai-wood-loader=Wood loader
 | 
					aai-wood-loader=Wood loader
 | 
				
			||||||
basic-ore-crushing=Basic ore crushing
 | 
					basic-ore-crushing=Basic ore crushing
 | 
				
			||||||
astroponics-productivity=Astroponics productivity
 | 
					astroponics-productivity=Astroponics productivity
 | 
				
			||||||
 | 
					experienced-quality-assembling=Experienced quality assembling
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[technology-description]
 | 
					[technology-description]
 | 
				
			||||||
wood-science-pack=Allows research of basic technologies based on wood products.
 | 
					wood-science-pack=Allows research of basic technologies based on wood products.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -43,7 +43,7 @@ data:extend({
 | 
				
			||||||
        drop_sound = item_sounds.metal_small_inventory_move,
 | 
					        drop_sound = item_sounds.metal_small_inventory_move,
 | 
				
			||||||
        stack_size = 50,
 | 
					        stack_size = 50,
 | 
				
			||||||
        fuel_category = "quality-catalyst",
 | 
					        fuel_category = "quality-catalyst",
 | 
				
			||||||
        fuel_value = "1MJ",
 | 
					        fuel_value = "2MJ",
 | 
				
			||||||
        weight = 1000 / 50 * kg,
 | 
					        weight = 1000 / 50 * kg,
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
| 
						 | 
					@ -56,8 +56,8 @@ data:extend({
 | 
				
			||||||
            { type = "item", name = "tungsten-carbide", amount = 2 },
 | 
					            { type = "item", name = "tungsten-carbide", amount = 2 },
 | 
				
			||||||
            { type = "item", name = "supercapacitor",   amount = 2 }
 | 
					            { type = "item", name = "supercapacitor",   amount = 2 }
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        results = { { type = "item", name = "gold-quality-catalyst", amount = 2 } },
 | 
					        results = { { type = "item", name = "gold-quality-catalyst", amount = 1 } },
 | 
				
			||||||
        allow_productivity = false,
 | 
					        allow_productivity = true,
 | 
				
			||||||
        allow_quality = false,
 | 
					        allow_quality = false,
 | 
				
			||||||
        enabled = false
 | 
					        enabled = false
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					@ -76,8 +76,8 @@ QualityAssembler.EntityBuilder:new()
 | 
				
			||||||
        energy_usage = "1MW",
 | 
					        energy_usage = "1MW",
 | 
				
			||||||
        crafting_speed = 4,
 | 
					        crafting_speed = 4,
 | 
				
			||||||
        module_slots = 6,
 | 
					        module_slots = 6,
 | 
				
			||||||
        allowed_effects = { "pollution", "quality" },
 | 
					        allowed_effects = { "consumption", "pollution", "quality" },
 | 
				
			||||||
        effect_receiver = { base_effect = { quality = 2.5 } }
 | 
					        effect_receiver = { base_effect = { quality = 3.5 } }
 | 
				
			||||||
    })
 | 
					    })
 | 
				
			||||||
 | 
					
 | 
				
			||||||
QualityAssembler.ItemBuilder:new():apply()
 | 
					QualityAssembler.ItemBuilder:new():apply()
 | 
				
			||||||
| 
						 | 
					@ -115,6 +115,41 @@ QualityAssembler.TechnologyBuilder:new()
 | 
				
			||||||
    :additionalRecipes({ "gold-quality-catalyst" })
 | 
					    :additionalRecipes({ "gold-quality-catalyst" })
 | 
				
			||||||
    :apply()
 | 
					    :apply()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					data:extend({
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        type = "technology",
 | 
				
			||||||
 | 
					        name = "experienced-quality-assembling-1",
 | 
				
			||||||
 | 
					        icons = {
 | 
				
			||||||
 | 
					            { icon = "__quality__/graphics/technology/legendary-quality.png", icon_size = 256 },
 | 
				
			||||||
 | 
					            { icon = Lignumis.graphics .. "icons/quality-gold-catalyst.png", icon_size = 64, scale = 1, shift = { 50, 50 }, draw_background = true }
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        level = 1,
 | 
				
			||||||
 | 
					        max_level = 1,
 | 
				
			||||||
 | 
					        show_levels_info = true,
 | 
				
			||||||
 | 
					        effects = {
 | 
				
			||||||
 | 
					            { type = "change-recipe-productivity", recipe = "gold-quality-catalyst", change = 0.25 }
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        research_trigger = { type = "craft-item", item = "gold-quality-catalyst", count = 1000 },
 | 
				
			||||||
 | 
					        prerequisites = { "quality-assembler" }
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        type = "technology",
 | 
				
			||||||
 | 
					        name = "experienced-quality-assembling-2",
 | 
				
			||||||
 | 
					        icons = {
 | 
				
			||||||
 | 
					            { icon = "__quality__/graphics/technology/legendary-quality.png", icon_size = 256 },
 | 
				
			||||||
 | 
					            { icon = Lignumis.graphics .. "icons/quality-gold-catalyst.png", icon_size = 64, scale = 1, shift = { 50, 50 }, draw_background = true }
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        level = 2,
 | 
				
			||||||
 | 
					        max_level = 2,
 | 
				
			||||||
 | 
					        show_levels_info = true,
 | 
				
			||||||
 | 
					        effects = {
 | 
				
			||||||
 | 
					            { type = "change-recipe-productivity", recipe = "gold-quality-catalyst", change = 0.5 }
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        research_trigger = { type = "craft-item", item = "gold-quality-catalyst", count = 10000 },
 | 
				
			||||||
 | 
					        prerequisites = { "experienced-quality-assembling-1" }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
local function convert_category(name)
 | 
					local function convert_category(name)
 | 
				
			||||||
    local quality_name = name .. "-or-quality-assembling"
 | 
					    local quality_name = name .. "-or-quality-assembling"
 | 
				
			||||||
    data:extend({
 | 
					    data:extend({
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue