.refeye
How many times the DNA of the bot you are looking at reads its eyes: the signature number most used to recognize your own species.
Facts
- Address
- 708
- Name
.refeye- Kind
- Sense: the engine writes it for the DNA to read
- Group
- What it sees (ref*)
- Written by
- The engine, in the actions phase of every cycle: how many reads of its eyes, from
*.eye1to*.eye9, the DNA of the bot your focus eye sees has, whether or not they run. Also on colliding with a bot. You read it in the next cycle. - Cleared
- The engine, every cycle, when the senses are cleared.
- Range
- 0 to about 16000; 0 if you see a corpse or a shape.
- Mutations
- picked as a read (
*)
Unlike the other signature numbers, .refeye doesn't count writes but reads: how many times a read of its eyes appears in the DNA of the bot being seen, from *.eye1 to *.eye9. A bot with *.eye5 twice and *.eye1 once gives 3. The read of .eyef doesn't count.
It is the most popular number for recognizing your own species, because almost every bot that hunts looks at its eyes several times and the number changes quite a bit from one species to another. It is compared with yours, .myeye. The trick comes from Animal Minimalis, by Numsgil, and hundreds of Bestiary bots use it:
cond
*.eye5 0 >
*.refeye *.myeye !=
start
-1 .shoot store
stopLike the whole signature (see .refup), it isn't recalculated every cycle, it counts what is written even if it doesn't run, and it is 0 if you see nothing or if you see a corpse. If two different species coincide by chance, this bot can't tell them apart: to refine it, add another number, such as .refshoot or .refup. The step-by-step is in A bot that recognizes its own species.