convert_wood

Function convert_wood 

Source
pub fn convert_wood(tree: &str, log_missing: bool) -> Option<&str>
Expand description

Converts the given wood to its Vintage Story equivalent. For example, spruce becomes walnut, while oak remains unchanged.

If log_missing is true, a warning will be logged for unknown wood types.