Page 1 of 1
[2.0.32] MineEntityTechnologyTrigger fires for unknown reason
Posted: Thu Dec 26, 2024 2:40 am
by thesixthroc
I received a bug report for [Cerys](
https://mods.factorio.com/mod/Cerys-Moon-of-Fulgora) in which the players reported seeing a "mine-entity" research trigger for `cerys-nitrogen-rich-minerals` unlock at an inappropriate time.
Batted it aside, but then I saw it myself in the Comfy Christmas run. It unlocked after Moon Discovery Cerys was researched, before the Cerys surface had even generated.
Re: [2.0.28] MineEntityTechnologyTrigger appears to fire at random
Posted: Thu Dec 26, 2024 2:47 am
by Rseding91
The way the mine entity trigger works is, if the entity is a resource entity then it will also trigger if you collect that resource as a result of mining any entity either manually or with a mining drill.
Re: [2.0.28] MineEntityTechnologyTrigger appears to fire at random
Posted: Fri Dec 27, 2024 1:05 am
by thesixthroc
If my memory serves me correctly, that can't explain the issue.
In Cerys `cerys-nitrogen-rich-minerals` are obtainable only on Cerys — they are not minable from any entity and only spawn via autoplace settings on Cerys, and no other mod places or autoplaces them (I have inspected each mod.) The mine-entity technology became unlocked shortly after Moon Discovery Cerys, and before anyone had tasked a space platform to travel towards Cerys.
I have no repro — just my memory and a similar earlier bug report I received from a player.
Re: [2.0.28] MineEntityTechnologyTrigger fires for unknown reason
Posted: Fri Dec 27, 2024 1:06 am
by thesixthroc
Note also this bug report in the Maraxsis discord:
> Hello, I’m not sure what triggered it exactly, but the researches of submarine automation and tungsten pipelines unlocked while I was clearing ruins on Fulgora.
Re: [2.0.28] MineEntityTechnologyTrigger fires for unknown reason
Posted: Fri Dec 27, 2024 2:11 am
by Rseding91
I’d need a way to reproduce any issue in order to look into this more.
Re: [2.0.28] MineEntityTechnologyTrigger fires for unknown reason
Posted: Mon Feb 10, 2025 7:14 pm
by elmbald
I couldn't upload my save through this forum, but here's a link to a save a few seconds before triggering this bug, this time an issue in a trigger tech for Moshine which got researched instantly after researching the planet. Looking at the global statistics, this tech should not have been triggered (never mined mixed ores)
https://drive.google.com/file/d/1CWfd0q ... sp=sharing
Re: [2.0.28] MineEntityTechnologyTrigger fires for unknown reason
Posted: Mon Feb 10, 2025 8:31 pm
by Rseding91
elmbald wrote: Mon Feb 10, 2025 7:14 pm
I couldn't upload my save through this forum, but here's a link to a save a few seconds before triggering this bug, this time an issue in a trigger tech for Moshine which got researched instantly after researching the planet. Looking at the global statistics, this tech should not have been triggered (never mined mixed ores)
https://drive.google.com/file/d/1CWfd0q ... sp=sharing
This is the exact case I already mentioned:
the multi-ore produces several different items and if *any* of those items are in production statistics the game treats it as if that multi-ore has been mined for the purpose of the mine-entity technology trigger.
multi-ore produces coal, copper-ore, sulfur, sand, and neodynmium. You are mining coal and so as far as it knows, that coal could have come from multi-ore.
It works this way as a performance saving measure: producing events every time a resource entity is mined by any drill, and iterating all mine-entity technology triggers would have way too much performance overhead.
It's unfortunate because it means modded cases like this just won't function with the technology triggers.