In this commit, the strength value of the material decreases according to its degree of burnedness (NOT_BURNT, MODERATELY_BURNT etc.). This function works in the same way as it does in the rust system.