Code: Select all
{
type = "technology",
name = "toolbelt",
effects =
{
{
type = "quick-bar-count",
modifier = 1
}
},
...
},
Minor typo probably.
Code: Select all
{
type = "technology",
name = "toolbelt",
effects =
{
{
type = "quick-bar-count",
modifier = 1
}
},
...
},
Code: Select all
/c print('proto = ', serpent.block(game.technology_prototypes.toolbelt.effects), 'control = ', serpent.block(game.forces.player.technologies.toolbelt.effects))
proto = {
{
modifier = 1,
type = "quick-bar-count"
}
} control = {
{
modifier = 1,
type = "quick-bar-count"
}
}