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