Farm Quality Plants


Planting quality seeds will now yield quality plants!

Content
19 hours ago
2.0
119
Manufacturing

g is it possible to use ```on_tower_mined_plant``` instead?

not sure which one would be more performant but maybe it's less janky to not use single tick spoiling items

5 days ago

So I am going with single tick spoiling items for two main reasons.
- When I started this mod 8 months ago, the on_tower_mined_plant event did not exist, and therefore completing this mod wasn't possible. All I was able to do was create the harvesting aspect of the mod, and not the planting. Without that event, I had to get creative to get minable quality items.
- If I were to detect when a plant is mined in some form (towers, players, robots, scripting) then I have to detect every possible way of breaking the plant and then deal with the corresponding mining results in however many ways that may take. If a player mines it, then put the result in the tree. If a robot mines it, spill it onto the ground, if a tower mines it, put the quality items into the output. Point is, there is a lot more to account for if I were to use events rather than single tick spoiling items.

Oh, that makes a lot of sense, haven't considered the breaking method part

New response