Darwinbots Forum

Bots and Simulations => DNA - General => Topic started by: kage on November 28, 2006, 05:41:49 PM

Title: Negative Protection?
Post by: kage on November 28, 2006, 05:41:49 PM
If a virus were to set the value of for example slime in an enemy bot to a value under 0, would that make a bot more vulnerable than usual to viruses and ties because the slime would have an opposite effect?
Title: Negative Protection?
Post by: EricL on November 28, 2006, 07:21:08 PM
The code doesn't allow bots to make negative slime, be it on their own initiative or forced upon them.  For substances, it's pretty much the rule that they can't go negative.
Title: Negative Protection?
Post by: Numsgil on November 28, 2006, 10:55:33 PM
But a virus could cause a bot to not be able to make more slime, or maybe even destroy the slime it has (I don't remember if the code allows bots to unmake slime or not).
Title: Negative Protection?
Post by: Henk on November 29, 2006, 03:46:14 AM
Quote from: Numsgil
But a virus could cause a bot to not be able to make more slime, or maybe even destroy the slime it has (I don't remember if the code allows bots to unmake slime or not).

It is if I remember correctly. It's a weapon of one of PY's earlier F1 bots.
Title: Negative Protection?
Post by: EricL on November 29, 2006, 11:32:38 AM
Quote from: Numsgil
But a virus could cause a bot to not be able to make more slime, or maybe even destroy the slime it has (I don't remember if the code allows bots to unmake slime or not).
A bot's total slime is not allowed to go negative, but bots can unmake slime they have (or be forced to do so) by storing a neagitive number in mem 820.  You don't get any nrg back, but you aren't charged for unmakign slime either.