Technology research_trigger to have multiple triggers.

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
User avatar
Fishbus
Long Handed Inserter
Long Handed Inserter
Posts: 56
Joined: Sat Sep 28, 2024 8:20 pm
Contact:

Technology research_trigger to have multiple triggers.

Post by Fishbus »

Heya,

I'd like technology triggers to be able to have a list of many ways to trigger the technology.

e.g.:

research_trigger =
{
{
type = "mine-entity",
entity = "sand-ore",
},
{
type = "mine-entity",
entity = "sandy-rock-big",
},
{
type = "mine-entity",
entity = "sandy-rock-huge",
},
}


Being able to mix and match would ultimately be the best outcome: e.g. building different entities, crafting items and mining entities could all work with each other to unlock one technology, but only being able to use only the same type would be fine in this use case.

Cheers!
User avatar
protocol_1903
Filter Inserter
Filter Inserter
Posts: 442
Joined: Fri Sep 09, 2022 4:33 pm
Contact:

Re: Technology research_trigger to have multiple triggers.

Post by protocol_1903 »

Related/duplicate: viewtopic.php?t=132251
Py and PyBlock developer, wielder of LUA in arbitrary ways. I make mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
Post Reply

Return to “Modding interface requests”