I covered the issues of spawning and being harvestable separately in my post.
-
spawning
- Jelly
- My component idea
- scenarios
-
making the entity actually harvestable
-
Renewable Resource [r188]
-
Take a look at the default berry bush code
Renewable Resource [r188] will show you how to create an entity that is harvestable and returns a “food” that can be eaten.
As for using scenarios to spawn stuff in…
Escaped my mind last time I posted…
@chimeforest uses scenarios
to spawn additional flowers throughout the world. This could be adapted to spawn the bushes.
Personally if it was me I’d go with my component idea for the spawning. In my mind I imagine that all different types of bushes spawn together in the same patch.
But it’s your mod and you’ll need to choose the direction you’d like to go.
I actually have been working on Stonevox like everyday to some degree… I kinda want to look at something else
If you’d like me to I’ll write the lua component to do the spawning.