DarwinBotsManual
Open the app EspañolES

.shdx

The type of the shot that hit you from the right in the previous cycle; 0 if nothing hit you from that side.

Facts

Address
212
Name
.shdx
Kind
Sense: the engine writes it for the DNA to read
Group
Shots
Written by
The engine, in the shots phase, when one hits you from the right: its type, as in .shflav. You read it in the next cycle.
Cleared
The engine, every cycle, when the senses are cleared.
Range
−8 to −1 depending on the type, or 1 to 1000 if it was a memory shot; 0 if nothing hit you from the right.
Mutations
picked as a read (*)

.shdx holds the type of the shot (the same number as .shflav) when that shot hit you from the right, within a quarter turn centered on your right side. If it hit you from another side, or nothing hit you, it is 0. Its companions are .shup, .shdn and .shsx.

It arrives one cycle late and lasts one cycle. A quarter turn is 314 turn units, so the direct response is to turn that much to the right with .aimdx:

' I'm being hit from the right: I turn that way
cond
*.shdx 0 !=
start
314 .aimdx store
stop

To aim more precisely, use the exact angle from .shang.