There is a Technology "Effect" called "follower-robot-lifetime" listed at: [https://lua-api.factorio.com/latest/con ... gyModifier]
A mod introducing a Technology that uses this Effect can be defined as:
Code: Select all
{
type = "technology",
effects =
{
{
type = "follower-robot-lifetime",
modifier = 1
}
},
...
},
(note 45+45 lifetime) (note 90 lifetime) When using a modifier such as 0.2, the capsule's lifetime showed as expected, but the spawned robot does not:
(note 45+9 lifetime) (note 45 lifetime) The modifier is displayed correctly in the bonuses tab :
Log file: Simple mod with follower lifetime research: