is it adjacent square?

How that check was done before:
((xdiff * xdiff == 1) != (ydiff * ydiff == 1))

How it should be done:
(xdiff * xdiff + ydiff * ydiff == 1)
Test case: x = -1; y = 4.

was: [(-1 * -1 == 1) != (4 * 4 == 1)] - true but it's not an adjacent square.

It's easy to check the behavior of multi-square stuff using shutter doors in firetruck.
First pass.
Complete!
Flag fix.
Adds alternate recipe to craft caltrops from wire or barbed wire.
Tweaks standard caltrops recipe.
Recipe tweak.
Adjust morale, aggression and anger/fear triggers for various animals
Fixes steel spear recipe category.
Several changes to shrews.
excluding catajson files
excluding catajson files
excluding catajson files
excluding catajson files
excluding catajson files
excluding catajson files
Fix stairs outside 0,0 overmap
Feed coordinate subdivision helper function overmap coordinate, since it expects
absolute tile coordinate
Variable consistency
Change shrew and deer mouse into vermin
Update deer mouse description