Removed pragma hdrstop
Put ID_IN into a class.
Now the bot no longer attacks what it can't see. On the other hand, I've developed a hearing system, though it's kinda rough now and doesn't have the intended effect. Bot dies much more often now, because it's too likely to enter in the middle of combat.