material type values
0 = glass
1 = wood
2 = metal
3 = flesh
4 = cinder block
5 = ceiling tile
6 = computer
7 = unbreakable glass
8 = rocks