DarwinBotsManual
Open the app EspañolES

.reftie

How many times .tie appears in the DNA of the bot you are looking at: if it is greater than 0, it knows how to tie to other bots.

Facts

Address
712
Name
.reftie
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 times the number 330 (.tie) appears in the DNA of the bot your focus eye sees, anywhere. 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 (*)

It counts how many times the number 330, which is the address of .tie, appears in the DNA of the bot being seen. Unlike .refup and its neighbors, it doesn't need to be followed by a write: any appearance counts, both .tie and a loose 330.

A value greater than 0 says the other has the means to tie itself to you; it is the sign of the parasites and the multibots that stick to their prey (see Ties and multicellular bots). Your own number is .myties. Like the rest of the signature, it isn't recalculated every cycle and it is 0 if you see nothing.

' I move away from what knows how to tie
cond
*.eye5 0 >
*.reftie 0 >
*.myties 0 =
start
628 .aimdx store
stop