this is waht i have.
Code: Select all
data.raw["type"]["ghost-time-to-live"].modifier = 60 * 60 * 5
thanks for your help.
Code: Select all
data.raw["type"]["ghost-time-to-live"].modifier = 60 * 60 * 5
Hm, not sure about accessing (ie. reading the value) but a technology (using the modifier type "ghost-time-to-live") that gets enabled through control.lua should work to set it (it could be set to 'researched' in oninit/onload for instant effect of course).kovarex wrote:There is not currently way to access these modifiers from lua