defs.h: define the MT_* enum data.c: add an addmaterial() line objects.c: update adjustdammaterial() as required update getmaterialvalue() update getmaterialstate() update ismetal() update willshatter()