-
Notifications
You must be signed in to change notification settings - Fork 0
Description
I use your mod mod in Combination with "Tiered Tech Blocks": https://steamcommunity.com/sharedfiles/filedetails/?id=1682499145
Your mod is loaded after this mod.
However while the Config for Vanilla Blocks is modified, the ones for Tiered Tech Blocks are not.
I'd assume this is because "LoadData" in https://github.com/keyspace/NoMoreFreeEnergy/blob/master/Data/Scripts/NoMoreFreeEnergy/Session.cs#L16 only knows about the hardcoded Vanilla Block Names
Perhaps, it is possible to load all Object instances that use or extend (not sure what the correct approach here would be)
MyObjectBuilder_BatteryBlockMyObjectBuilder_HydrogenEngineMyObjectBuilder_OxygenGenerator
And then iterate over each of the three collections and apply the fitting rebalance function to each item within the currently iterated collection.
This would (given that the mods do not do something weird) also cause this mod to work for all other mods that use or extend these classes I presume.