166
DNA - General / Venom impact on .fixed
« on: March 16, 2006, 05:43:41 PM »
.fixed and .fixpos are treated differently than other sysvars today with respect to venom. For example, if you use venom to overwrite another bots' .myeye, that bot will be confused about how many .eye statements are in their DNA for a period of time dependent upon how much venom was used. The period of influence is obtainable via .paralyzed and once .paralyzed gets to 0, the effect of the venom wears off and the venomized bot returns to normal. That is, referencing *.myeye will agian return the correct value. This happens without the effected bot having to have any anti-venom specific code in its DNA.
It doesn't work this way for .fixed / .fixpos as far as I can tell. Becuase of the asymetry in .fixpos and .fixed (one is kind of control only, one is kind of read only) when a bot gets fixed due to venom, they will be fixed forever more even after the venom wears off unless their DNA contains explicit instructions to do something about it.
Is this the correct behaviour?
It doesn't work this way for .fixed / .fixpos as far as I can tell. Becuase of the asymetry in .fixpos and .fixed (one is kind of control only, one is kind of read only) when a bot gets fixed due to venom, they will be fixed forever more even after the venom wears off unless their DNA contains explicit instructions to do something about it.
Is this the correct behaviour?