Im working on an inventory system and currently i have it set up so that there is a “master” data table driving the main variables which all items share (name, max stack size, texture 2d, static mesh etc) and has an enum in it which sends the blue print to one of five “sub-data tables” which hold details specific to the item type (so DT_equipment has weight, armour, various resistances etc and DT_weapons has damage, range, hit chance etc)
It works alright but it did occur to me that if i just put everything within the master data table it would reduce the complexity of the blue print by a considerable amount and i could just leave the irrelevant sections empty. It would be a massive datatable but i would have thought that even a massive one would be still fairly small in comparison to other things im working on.
So just thought i’d ask here which route others go down. one big datatable with lots of empty slots, or many smaller datatables.