Cubyz
Cubyz copied to clipboard
Replace `degradable` with integer based priority
Current boolean degradable parameter for blocks is not enough to ensure eg. that trees generated next to each other don't overwrite each other, so it should be replaced with integer based priority system, where blocks can overwrite only blocks which have lower priority. This would mean that trees generated later will no longer overwrite trees which were placed before.