technic icon indicating copy to clipboard operation
technic copied to clipboard

Sonic Screwdriver doesn't rotate sign text when using signs_lib

Open dontfwiththestream opened this issue 2 years ago • 1 comments

Expected behavior

Text on sign rotates when you use sonic screwdriver on sign

Actual behavior

Sign rotates, leaving text position unchanged

Steps to reproduce:

Start server with signs_lib and technic_plus write text on sign rotate with sonic screwdriver

dontfwiththestream avatar Oct 21 '23 21:10 dontfwiththestream

Yeah, this is a side effect of the sonic screwdriver's intentionally bad design. The sonic screwdriver doesn't call the on_rotate callback, for the same reason it doesn't call can_dig. See also https://github.com/mt-mods/technic/issues/267. https://github.com/mt-mods/technic/blob/f5949f6bf40a0a945bf0c76fd9ba169e0bd0b2d0/technic/tools/sonic_screwdriver.lua#L39-L40

It's better just to use the omnidriver ;)

OgelGames avatar Oct 22 '23 04:10 OgelGames