Each MATERIAL node can take transform or baseTransform values which look for renderers on that transform or that transform and children respectively. If none are specified it will use every renderer in the model.
ModuleRestockMaterialModifier allows materials to be modified. Currently only supports swapping out the shader and changing texture properties. Changes apply to the whole part (can be changed in the future).