Add golden module

This commit is contained in:
Simon Brodtmann 2025-12-16 20:23:34 +01:00
parent 414ccf59a4
commit 8974981d07
3 changed files with 76 additions and 1 deletions

View file

@ -50,6 +50,10 @@ data:extend({
type = "recipe-category",
name = "quality-assembling"
},
{
type = "module-category",
name = "quality-assembling"
},
{
type = "burner-usage",
name = "quality-catalyst",
@ -129,6 +133,7 @@ data:extend({
{ inventory_index = defines.inventory.assembling_machine_modules, shift = { 0, 1 }, max_icons_per_row = 4 }
},
allowed_effects = { "consumption", "pollution", "quality" },
allowed_module_categories = { "efficiency", "quality", "quality-assembling" },
crafting_categories = { "quality-assembling" },
crafting_speed = 4,
energy_source = {
@ -373,6 +378,38 @@ data:extend({
time = 60
}
},
{
type = "module",
name = "gold-module-3",
localised_description = { "item-description.gold-module" },
icon = Lignumis.graphics .. "icons/gold-module-3.png",
subgroup = "module",
color_hint = { text = "Q" },
category = "quality-assembling",
tier = 3,
order = "e[gold]-c[gold-module-3]",
inventory_move_sound = item_sounds.module_inventory_move,
pick_sound = item_sounds.module_inventory_pickup,
drop_sound = item_sounds.module_inventory_move,
stack_size = 50,
weight = 20 * kg,
effect = { quality = 0.75, speed = -0.1 }
},
{
type = "recipe",
name = "gold-module-3",
category = "electromagnetics",
additional_categories = { "quality-assembling" },
enabled = false,
ingredients =
{
{type = "item", name = "quality-module-3", amount = 4},
{type = "item", name = "quantum-processor", amount = 5},
{type = "item", name = "gold-quality-catalyst", amount = 20}
},
energy_required = 60,
results = {{type="item", name="gold-module-3", amount=1}}
},
{
type = "technology",
name = "experienced-quality-assembling-1",
@ -386,7 +423,7 @@ data:extend({
effects = {
{ type = "change-recipe-productivity", recipe = "gold-quality-catalyst", change = 0.25 }
},
research_trigger = { type = "craft-item", item = "gold-quality-catalyst", count = 1000 },
research_trigger = { type = "craft-item", item = "gold-quality-catalyst", count = 2000 },
prerequisites = { "quality-assembler" }
},
{
@ -404,6 +441,22 @@ data:extend({
},
research_trigger = { type = "craft-item", item = "gold-quality-catalyst", count = 10000 },
prerequisites = { "experienced-quality-assembling-1" }
},
{
type = "technology",
name = "experienced-quality-assembling-3",
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 = 3,
max_level = 3,
show_levels_info = true,
effects = {
{ type = "unlock-recipe", recipe = "gold-module-3" }
},
research_trigger = { type = "craft-item", item = "gold-quality-catalyst", count = 40000 },
prerequisites = { "experienced-quality-assembling-2" }
}
})