I guess items cannot be modified during runtime, when I try to access settings.global["foo"].value in data.lua, then settings is missing. settings is however available in control.lua but there I was maximum able to access prototypes.entity["foo"] (the new flame type), but not .light.size property.