Hi there!
I designed my crafting system setup so that it is based on a data table that references what is crafted and also what materials it needs etc. So this table basically depends on almost all items in the game.
My widget now references this table in order to display a list of all the things you can craft and what ingredients you need. So the widget itself is also dependent on all the items in the game.
When I wanted to reduce dependencies in this scenario, for example to migrate the widget or the data components to another project, how would I do that?
All I can think of it using some “Data” interface that provides functions for data table access so my widget only depends on the interface and only the implementation depends on the data table, but I was thinking if the table itself is setup in a bad way… The problem is you have to go concrete at some point - after all at some point you stop developing and start creating content.
Any ideas are appreciated.
Thanks and have a nice day!
PS: Where could one find best practices for UE4 or generally game design specific topics. I really struggle finding anything on the web as most of it is just how-tos on the engine itself…