Sounds like your main use case is to have a randomisation that is only done once per build?
The idea I had previously about how to do this was to have a per-plan option of 'static'. In this case, the random seed for the plan would be saved, and if it was called again then the same seed would be re-used. This would mean that you could (eg) have a plan that plants a random banner; but call this plan multiple times from within a parent plan, and always get the same banner as the randomisation would only be done the first time.
Doing it this way would mean not having to deal with the complexity of rlative vs absolute coordinates, which are mae even more complex when you realise that our frame of reference is also being rotated - so we don't even know which direction is our X-axis any more.
_________________ Steve Shipway UNIX Systems, ITSS, University of Auckland, NZ Woe unto them that rise up early in the morning... -- Isaiah 5:11
|