When I want to track data related to an object which is created, destroyed, and then created again, I find it easier to store the data somewhere else than the object itself. In your case, this would mean that the plant data is not destroyed when the "plant" object is.
In order to associate the data with the object you need a pointer on the plant object to the data object, and perhaps from the data object to the plant. OR you can use some variable naming scheme that enables you to associate the data to the specific plant. Each plant for example would use a unique prefix on its data string.
Anyway, I find this approach much easier than copying all the data from one object to the next.
HOWEVER - another way to solve your specific problem would be to encode the unfolding sequence in the seed's tag, and write a script which understands how to make use of it. So if you have four stages of growth, seperate the tag into a prefix and four sub tags or sections. The prefix would track the stage of growth, and the four subsections would describe wha happens in each growth stage. In essence the tag itself would be a "genetic" code. And the script would know what to do with the genetics.
Modifié par henesua, 26 février 2012 - 10:32 .