Hello! Firstly, I cannot say how much I love this program! It is very interesting, and seems to have a ton of potential.
Now for the inevitable question questions.
I've been trying to make a basic bot, I've never made one before, so I thought I would approximate yeast using pondmode.
It's 1 cell, should be simple right? Well I broke it down as; absorbing light instead of sugar, giving off waste (maybe .nrg to), floating to the surface and sinking back down to the bottom, and budding to reproduce.
So everything went smoothly, except for making it sink and float.
I wanted to attach that to light, so when it got under a certain amount of light it floated, and when it got to another percentage it started to sink again.
I tried
cond
*.light 10 <
start
32000 .setboy store
stop
cond
*.light 90 >
start
-32000 .setboy store
stop
I've also tried a lot of differen't combinations based on that, but I've also fiddled with .sun a bit, lower values on the .setboy, playing with the values on the .light, but I can't seem to get it to float and sink based on the light energy.
However as I have no clue what I'm doing, and don't know the values for .setboy or .light, as well as not being able to find much info about them, does anybody know if that is even possible? Or if I'm heading in slightly the right direction?
I know .setboy has a max value of 32000, but to get back to 0," 0 .setboy store" didn't seem to work so I used -32000
My brothers solution was to just tie .nrg to .ypos. When it gets too low on energy it moves up, and when it fills up to a certain point it shoots energy to drop down. Then stops, and starts moving back up. It actually works very nicely, and he's onto fiddling with reproduction.
I'm being stubborn though, so any tips towards the .light vs .setboy would be much appreciated.