Added option to allow plants_lib to directly spawn a tree if passed a table
instead of a function name in the appropriate field.