ignored_by_productivity results property is ignored for resources
Posted: Fri Jul 31, 2026 5:39 pm
Hi !
I encountered this bug and couldn't find a similar issue on the forum so here's a report.
However, when the purple bar reaches 100%, a normal production output is created. The same happens if I try to give ignored_by_productivity a value different from the value of amount.
I encountered this bug and couldn't find a similar issue on the forum so here's a report.
What
The results field of a resource does not apply the property ignored_by_productivityRepro
I created a resource with the following properties (code below). My understanding is that it should not be outputting anything when the purple productivity bar, reaches 100%.However, when the purple bar reaches 100%, a normal production output is created. The same happens if I try to give ignored_by_productivity a value different from the value of amount.
Code: Select all
local radioactive_geyser = {
-- metadata
type = "resource",
name = "radioactive-geyser",
icon = "__space-age__/graphics/icons/lithium-brine.png",
flags = {"placeable-neutral"},
category = "hard-fluid",
subgroup = "mineable-fluids",
-- gameplay properties
minimum = 60000,
normal = 300000,
infinite = true,
infinite_depletion_amount = 0,
minable =
{
mining_time = 900,
results = {
{
type = "item",
name = "low-radioactivity-rubble",
amount = 3000,
ignored_by_productivity = 3000,
},
{
type = "fluid",
name = "radioactive-sludge",
amount = 4000,
ignored_by_productivity = 4000,
}
}
},
-- player interaction
collision_box = {{-1.4, -1.4}, {1.4, 1.4}},
selection_box = {{-0.5, -0.5}, {0.5, 0.5}},
highlight = true,
-- visuals
stage_counts = {0},
stages =
{
layers =
{
util.sprite_load("__space-age__/graphics/entity/lithium-brine/lithium-brine",
{
priority = "extra-high",
frame_count = 4,
scale = 0.5
})
}
},
map_color = {0.7, 1.0, 0.6},
map_grid = false,
}