game.forces.technologies.tech_name.saved_progress should show progress for trigger techs

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Galdoc
Inserter
Inserter
Posts: 48
Joined: Wed May 11, 2016 9:43 pm
Contact:

game.forces.technologies.tech_name.saved_progress should show progress for trigger techs

Post by Galdoc »

If I have a technology that uses, say, research_trigger = {type = "craft-item", item = "iron-gear-wheel", count = 100}, I'd like to be able to, at runtime, see the progress that's been made towards this tech. This applies to all other types of technology research triggers that involve a count property.
curiosity
Filter Inserter
Filter Inserter
Posts: 656
Joined: Wed Sep 11, 2019 4:13 pm
Contact:

Re: game.forces.technologies.tech_name.saved_progress should show progress for trigger techs

Post by curiosity »

What if the tech has both trigger and unit? Which progress should it show then?
Galdoc
Inserter
Inserter
Posts: 48
Joined: Wed May 11, 2016 9:43 pm
Contact:

Re: game.forces.technologies.tech_name.saved_progress should show progress for trigger techs

Post by Galdoc »

I didn't realize it could have both. Then, maybe it should get its own property.
Post Reply

Return to “Modding interface requests”