#105: implemented conditions
on objects and materials