Welcome To Darwinbots > Newbie
Eating Corpses
d-EVO:
if you shoot enrg at corpses do the corpses gain energy? and are there dna deleted?
Numsgil:
It should be that they don't gain nrg and you can't access their DNA and all their refvars are set like they're dead (ie: refeye is 0, etc.). But corpses are sort of special cased in the code so there might be bugs.
peterb:
Skylmit, I got some ideas to create a simualtion in which things would depend on eachother
Its an idea written out as a fish population simulatin problem :
http://www.darwinbots.com/Forum/index.php?showtopic=3059
Basicly use inX and outX commands to identify species, so they al got an ID number
Inlcuding the algey can have an ID set that way.
And then you can have species eating specific species, or a range of species
So only do a -1 shot if also IN1 1000 <
Also you one has to adjust eye routines to only search (turn to) for its specific food and otherwise ignore it (dont turn).
I had not much time to script it (my freetime is now filled with a language course), but d-evo is I think verrry close to show the idea, he allready makde some species as in the description of the problem (dough the problem was even a bit more complex then species control, also species adjustment was adressed in the problem).
Endy:
You can give nrg via sharenrg if you're tied to it. Not sure why you would want to...
Something interesting is that -6 tie feeding works on corpses, you could use this instead of shots for corpse feeding if you wanted.
d-EVO:
--- Quote from: Numsgil ---It should be that they don't gain nrg and you can't access their DNA and all their refvars are set like they're dead (ie: refeye is 0, etc.). But corpses are sort of special cased in the code so there might be bugs.
--- End quote ---
I was just thinking..
if you could give nrg to corpses you could rais them from the dead
AND MAKE A ZOMBIE ARMY TO TAKE OVER DARWIN BOTS... MWAHAHAHAHA
actualy I was just curios
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version