Hi guys. After lots of work, I have came to a point, where any object in my game has got roughly 50 diffirent stats for diffirent use cases. Mainly that’s materials. They have:
- Visual stats - material, color, transparency…
- Building stats - stats for them being used as building material
- Tool stats - stats for them being used in tools
- Object stats - how material is shown - stone shown in bricks, wood shown in planks, grass in hay bale and etc.
- Various other stats - How well material burns, how well it resists ice, how it behaves under specific conditions and some more.
This have led me to having 8 scripts if not more, describing various properties of material. All of them were created during some updates. And I have begin to think that I need to union all this scripts. But should I?