Closed starfi5h closed 1 day ago
I get that in the console too, but it doesn't appear to actually cause any issues? All the recipes are there, and you can use them fine.
So I'm not sure what the actual issue is, or how to fix it. And since it appears to not cause any problems...
This line where adding recipes to itemProto gets error https://github.com/James-Fire/DSP-Mods/blob/main/Fusion%20Forge/Fusion%20Forge/Class1.cs#L224C22-L224C29 So the itemTip doesn't show the new recipes added by the mod
This line where adding recipes to itemProto gets error https://github.com/James-Fire/DSP-Mods/blob/main/Fusion%20Forge/Fusion%20Forge/Class1.cs#L224C22-L224C29 So the itemTip doesn't show the new recipes added by the mod
Oh okay
When did that change? And what did it change to? If you know either of those
ItemProto.recipes
is initialized in ItemProto.FindRecipes()
, which is not ready yet in Awake.
so you need to hook the actions to modify ItemProto.recipes
in the later stage of the game. For example, hook on LDBTool.PostAddDataAction
.