Woodcutting
Created by: unid15
- Trees of type /obj/structure/flora/tree have been updated:
- They now have a random amount of health and height (height affects the amount of logs produced by the tree). Health is 60-200, height is 3-8m.
- They can be cut down by repeatedly hitting them with big sharp objects (sharpness >= 1.2 and w_class > 1, so eswords, hatchets, fireaxes, energy axes). Having big muscles helps cut the trees faster (STRONG and HULK mutations multiply the damage dealt to the tree). Bombs work too
- When cut down, trees fall in a random direction. It's possible to see the direction the tree is going to fall when cutting it down, and it'll never fall in a diagonal direction so it's fairly easy to avoid. Mobs that are standing in the falling tree's way will get a fair share of bruises and broken bones.
- Eswords, energy axes, hatchets, claymores and cult blades are now sharp
---- ignore the trees not disappearing before the logs are spawned, it's fixed
- Logs from trees are much bigger than logs from mushrooms, so their w_class is 4.0 (up from 3.0) and their force is 10 (up from 5). They don't fit in plant bags!
- Added mob/living/proc/get_strength(). It returns 3 if the mob has both M_STRONG and M_HULK mutations, returns 2 if it has only one of those, returns 1 if it doesn't have any.