Darwinbots Forum
Bots and Simulations => DNA - General => The Gene depository => Topic started by: Light on March 03, 2005, 03:15:33 PM
-
When a robot ties to you give him a nasty shock with this gene, it will delete his genes B)
cond
*.numties 0 >
*.robage 2 >
start
*.tiepres .tienum store
.delgene .tieloc store
1 .tieval store
stop
You can also try changing the .delgene to something else, the possibilities are endless, poor tie feeders :bigginangel: although these genes can be used in reverse as a weapon for tie feeders
-
Shouldn't be possible to use delgene this way in 2.5.
I put a system in place to stop delgene working from anywhere other than the robot's own DNA
Have you actually tried this gene?
:unsure: PY :unsure:
-
delgene's through ties still work.
Deathgrip uses it.
-
just tried it again and yep it definatly works in 2.35 and in 2.36, also Death grip (database) uses it as a weapon, I remember you stopping .delgene being activated by venom and poison but dont remember anyone mentioning ties, but yes I agree it should be removed, I assume you can use it with other variables okay like .repro instead?
-
Definately. But using .repro would be tricky since you will usually be blocking the only space the cell can repro into.
-
true, you would have to link it to some sort of movement command, but the possibility is there to play with