oc2 icon indicating copy to clipboard operation
oc2 copied to clipboard

Redstone API accepts absolute sides, but they don’t work properly

Open Hawk777 opened this issue 3 years ago • 2 comments

The redstone API accepts absolute sides (north, south, east, and west), but they don’t seem to correspond to those actual directions. For example, “east” and “right” always seem to mean the same thing, regardless of the rotation of the computer or redstone interface block, which is clearly not the case—“right” should refer to a different block in the world when the interface block or computer is rotated, but “east” should not.

OC2 0.1.6+5d0bd81

Hawk777 avatar Apr 05 '22 07:04 Hawk777

Interesting point. That sounds like a good semantic distinction, yeah. Although it does make me want to add a compass to the recipes of the respective parts :P Will probably make that change to the behavior though, since it sounds a lot more intuitive. Thanks!

fnuecke avatar Apr 06 '22 13:04 fnuecke

You could also just make absolute directions not work at all. That would seem somewhat realistic, in the sense that, absent a magnetometer, a real computer has no idea which direction it’s pointing, and even those that do, don’t make “COM1” (for example) refer to a different physical serial port when you turn the computer around.

Hawk777 avatar Apr 11 '22 23:04 Hawk777