Author Topic: Is it an intra-DNA conditions bug RESOLVED (BY DESIGN)  (Read 3094 times)

Offline Gobo

  • Bot Builder
  • **
  • Posts: 67
    • View Profile
Is it an intra-DNA conditions bug RESOLVED (BY DESIGN)
« on: November 28, 2007, 07:03:51 PM »
Here is a severely mutilated Animal Minimalis:
Code: [Select]
cond
start
*.eye5 0 == *.refeye *.myeye == or 314 rnd .aimdx store
stop
I think I didn't do any mistakes. But this doesn't work as expected. If you placed this cripple near Alga Minimalis, for instance, it should stop rotating, in theory. But it doesn't, as for 2.43t. Is it a bug in DB or in my head?
« Last Edit: November 28, 2007, 07:20:11 PM by EricL »

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
Is it an intra-DNA conditions bug RESOLVED (BY DESIGN)
« Reply #1 on: November 28, 2007, 07:19:41 PM »
There is no == operator.  So, no boolean operations are performed.  The or is true.  The bot always spins.
Many beers....

Offline Gobo

  • Bot Builder
  • **
  • Posts: 67
    • View Profile
Is it an intra-DNA conditions bug RESOLVED (BY DESIGN)
« Reply #2 on: November 28, 2007, 07:24:06 PM »
Oops, sorry