Cataclysm-DDA
Cataclysm-DDA copied to clipboard
Files with mod_interactions in the name are always ignored
Describe the bug
#76983 added the ability to have multiple EoCs with the same id as long as some of them are in the mod_interactions
folder. I made #77058 following that PR, adding a dummy EoC that does nothing so that the mod EoCs (used only if you have Bombastic Perks and MoM simultaneously running) don't trigger a missing id error when run.
However, that error is still being triggered.
Attach save file
Colony-TEST_MOM-trimmed.tar.gz
Steps to reproduce
- Open up the following folder and see that a dummy EoC exists: https://github.com/CleverRaven/Cataclysm-DDA/blob/4b8bd2e928d4eadf922a1b6a82df372f0de7a8c5/data/mods/MindOverMatter/effectoncondition/eoc_dummy_mod_interactions.json#L5
- Load game and wait 30 minutes
- Error indicating the above EoC does not exist even though it obviously does.
Expected behavior
Without Bombastic Perks, the game loads the empty version of the EoC that does nothing. With it, the game loads the version of the EoC in the mod interactions folder. Either way, a version of the EoC is loaded.
Screenshots
Versions and configuration
- OS: Windows
- OS Version: 10.0.22631.4317 (23H2)
- Game Version: cdda-experimental-2024-10-21-1323 2357a3c [64-bit]
- Graphics Version: Tiles
- Game Language: English [en]
- Mods loaded: [ Dark Days Ahead [dda], Disable NPC Needs [no_npc_food], Portal Storms Ignore NPCs [personal_portal_storms], Slowdown Fungal Growth [no_fungal_growth], Mind Over Matter [mindovermatter] ]
Additional context
The EoC in question is called during MoM power maintenance here: https://github.com/CleverRaven/Cataclysm-DDA/blob/4b8bd2e928d4eadf922a1b6a82df372f0de7a8c5/data/mods/MindOverMatter/effectoncondition/eoc_nether_attunement_events.json#L126