IntegratedDynamics icon indicating copy to clipboard operation
IntegratedDynamics copied to clipboard

Offsettable readers

Open Flithor opened this issue 8 years ago • 13 comments

In some cases, I tried to get the required data from the NBT data of a block, but it only saved the coordinates of the other block. The coordinates may be dynamic, have a solution? Or suggest this.

Flithor avatar Oct 11 '17 09:10 Flithor

I don't understand your question.

You can only get data from the reader's target area.

rubensworks avatar Oct 11 '17 10:10 rubensworks

@rubensworks The RFTools screen module uses a wireless way to read the fluid or RF data of a block, and I want to read the data from the module located in the screen, but it actually the module stores only the target block coordinates without actual data.

Flithor avatar Oct 13 '17 03:10 Flithor

So you want a way to read data from an RFTools screen?

Or do you want a way to change the target area of any kind of reader?

(The latter is something that is a planned long-term feature)

rubensworks avatar Oct 13 '17 03:10 rubensworks

Try add a "Target Block Proxy". Put 3 Integer variable card to determine a coordinate, The Block Reader can read it as the target block. (Perhaps a more eclectic way, not too OP)

Flithor avatar Oct 13 '17 03:10 Flithor

A way to read any kind of block anywhere seems a bit too OP IMO.

Having (restricted) offset parameters in readers on the other hand would be better, and is something that is planned. That way it is not limited to only block reading.

rubensworks avatar Oct 13 '17 03:10 rubensworks

Some of the more complex and compact institutions have few spare positions to place ID cables. I think the higher cost of the target proxy is a better choice. Moreover, the target proxy can also have a entity proxy.

Flithor avatar Oct 13 '17 03:10 Flithor

Offset parameters on readers can achieve the same thing, are more expressive, and easier to balance.

rubensworks avatar Oct 13 '17 03:10 rubensworks

Are you planning to use variable cards or constants to set offset??

Flithor avatar Oct 13 '17 03:10 Flithor

They will be regular part settings, just like the priority and frequency settings.

But just like aspect parameters, they will become dynamically configurable using variable cards (#197)

rubensworks avatar Oct 13 '17 04:10 rubensworks

@rubensworks Block Reader=> =>Target block Var Card=> =>Target block coordinate=> (Calculate the offset value with the known coordinates) =>Offset=> =>Use Copy to copy offset as constant var card=> =>Set Block Reader Offset=> =>Block Reader Target block change=> ~=>Target block coordinate change=> (Calculate the offset value with the known coordinates) =>Offset=> =>Block Reader Target block change=> =>Dead loop~ =>Safe

~So I think you need to add a new "Offset target block" list item in Block Reader GUI instead of simply changing the faced block target list item.~ ~↑There is still a risk, if not use copy, it may even lead to the game to stop or crash.~ ~↑You can ask for player only use constant variable cards to set offset.~ ↑It will cause can't dynamic offsetting.

Flithor avatar Oct 13 '17 04:10 Flithor

↑Do you have any idea of these?

Flithor avatar Oct 13 '17 09:10 Flithor

Yes, I know how to implement it, it will just take a while before I will have time to implement it. As mentioned before, it's a long-term planned feature.

rubensworks avatar Oct 13 '17 11:10 rubensworks

When will this be implemented? I really need something like this.

ByteZ1337 avatar Jun 07 '20 22:06 ByteZ1337

Done in 8ff347cbbaf37adb3f921246dad774e866bd12d2

rubensworks avatar Mar 15 '23 07:03 rubensworks

Oh~ that's really loooooooong term feature.

Flithor avatar Mar 15 '23 11:03 Flithor