lua.wetgenes.gamecake.fun.yarn.prefabs.set
prefab = prefabs:get(name)
prefab = prefabs:get(name,prefab)
Build and return a table with all prefab values inherited from all its parents. Optionally pass in a prefab to override values and also have it returned.
If name doesn't exist at any level and a table is not passed in then nil will be returned.
Names are hierarchical, separated by dots, see items.iterate_dotnames