Problem toying with infinite tech
Posted: Mon May 19, 2025 2:13 pm
I would like an infinite tech to activate or desactivate "create-ghost-on-entity-death". I have fail to have the game make it infinite:
I tried several thing and nothing work. Did I do a mistake or does infinite search only work for specific effect that have modifier that is not an number ?
Code: Select all
data:extend({
{
type = "technology",
name = "ghost-entity-on-death-true-1",
icon_size = 256,
icon = "__base__/graphics/technology/construction-robotics.png",
effects = { {
type = "create-ghost-on-entity-death",
modifier = true,
} },
unit =
{
count_formula = "L",
ingredients =
{
{ "automation-science-pack", 1 },
},
time = 1,
max_level = "infinite",
},
},
})