Code center > Darwinbots Program Source Code
Chloroplasts
Panda:
A new version can be uploaded with the new version?
Botsareus:
Good enough, when I give you the project back, figure out the new code.
Botsareus:
Panda,
When we select a robot to repopulate, we need to ask the user if he wants to add a new chloroplast gene (optionally) to make old plants work correctly. What I mean is, you will need to figure out what that code should be.
We will need a new graph that shows total chloroplasts over all inserted species
We will need to repleace the UI element on the bottom of the screen.
It currently is counting total robots, total vegs, and total objects
We need the one that say total vegs be replaced with
--- Code: ---Allchlr / 16000
--- End code ---
You will need to move AllChlr to global because the Repopulate function will need it as well.
The Repopulate function prevents 'repopulating robots' from repopulating further when a condition is met
--- Code: ---'attempt to stop veg overpopulation but will it work?
If rob(n).Veg = True And (totvegsDisplayed > SimOpts.MaxPopulation Or totvegsDisplayed < 0) Then GoTo getout
--- End code ---
edit: I think we need this to get robots to start eating.
I am adding your updates to the trunk,
In the future please label any change you make with 'Name Date Details' please keep date in US style format if you can, just easier for me to read :P
Panda:
--- Quote ---Panda,
When we select a robot to repopulate, we need to ask the user if he wants to add a new chloroplast gene (optionally) to make old plants work correctly. What I mean is, you will need to figure out what that code should be.
--- End quote ---
What if they already have a chloroplast gene, already? I think it would be best just to warn the user that the system has changed and that they will need to use chloroplasts for a few versions and then remove that warning?
I'm fine with the rest!
Botsareus:
Good enough,
I think you should put a new version of Alga_Minimals together. One reason being, I want to play with it ;)
I had trouble figuring out SVN myself. Apparently you have to completely delete your local copy to get the new changes in. Unless, of course, Numsgil has a better solution?
edit: Few, need some coffee (I meant local copy not working copy)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version