how can i implement that hierarchy by code? Im trying to implement parsers which gets the big chunk of data table and create smaller data tables like this. But i dont know how can i create this hierarchy in lua
local info = {} info.WeaponData = { Pistol_01 = { Damage = 50, ClipSize = 7, ShootingType = Single, }, AutoRilfe_01 = { Damage = 15, ClipSize = 30, ShootingType = Auto, } } return info