- .up .dn .sx and .dx are not limited
Sorry PY, it looks like your fix became 'unfixed' somewhere in development sad.gif
I know you can make them store these values. That has never been the issue.
The restrictions are on how much of the stored value can actually be changed.
For example. Build a robot with one gene that goes like this.
cond
start
32000 up store
stop
end
run it in a sim and measure exactly how much energy is spent on each cycle.
You should find that initially, for the first cycle, it will be about 100 or so but after that it will be no more than a point every few cycles.
The reason?
The code will not allow a robot to actually convert more energy to a resource (like up dn etc.) than is actually spent by changing its kinetic energy so if a bot is already moving at full speed and saves 32000 into .up, the resultant change in kinetic energy will be zero so the cost will be zero.
I suspect that all the others work the same way. You would have to check the bots from the console to see how much energy is charged per cycle when you put 32000 into a memory location.
Remember there are no restrictions on storing values, just on energy expenditure.
I have a couple of minutes so I will go and check the code too.