I'm working on two mods simultaneously at the moment, and both want to add separate nodes to NCard for their own mechanics. However, I've discovered that only the first mod in my load order actually gets its node added (changing load order changes which one), and when I try to test my code, I'm finding that the AddedNode for the one that isn't active doesn't run at all. Looking at the PatchNodeReady() method in SpireField.cs, I think what's happening is that when the first node is added NCard gets flagged as having already been patched, and so when the second AddedNode comes into play the method decides the patch was already done and immediately returns out? I might be misunderstanding the code though.
I'm working on two mods simultaneously at the moment, and both want to add separate nodes to NCard for their own mechanics. However, I've discovered that only the first mod in my load order actually gets its node added (changing load order changes which one), and when I try to test my code, I'm finding that the AddedNode for the one that isn't active doesn't run at all. Looking at the PatchNodeReady() method in SpireField.cs, I think what's happening is that when the first node is added NCard gets flagged as having already been patched, and so when the second AddedNode comes into play the method decides the patch was already done and immediately returns out? I might be misunderstanding the code though.