Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow different transfer rates for cables of the same tier #956

Open
James103 opened this issue Dec 9, 2024 · 1 comment
Open

Allow different transfer rates for cables of the same tier #956

James103 opened this issue Dec 9, 2024 · 1 comment

Comments

@James103
Copy link

James103 commented Dec 9, 2024

Currently, all EU cables of a given tier can transfer the same amount of EU per tick (based on the cable tier's voltage), even if they are made of different materials. As far as I know, there is no way to change this with KubeJS.

I would like to be able to specify a custom value for the maximum EU/t a network of a given cable material can transfer, independent of its voltage.

For example, I would like to reduce HV voltage from 1,024 to 512 EU/t, but leave the Aluminum cable transfer rate at 8,192 EU/t.

Alternatively, I would like to reduce the max transfer rate for Tin cables to 128 EU/t, but keep Copper and Silver cables at 256 EU/t.

A workaround is to create multiple different "voltages" for the different cables in the same voltage group; however, that adds potentially redundant casings, transformers, and storage units which will later need to be removed or adjusted.

For example, the following should be able to create an EV-tier cable which transfers as much as a Superconductor cable:

MIMaterialEvents.modifyMaterial("diamond", event => {
    event.builder
        .cable("ev", 1024000000)
})

And the following should be able to create a cable which, even though it can transfer a high voltage (HV), is extremely current-limited to a maximum power slightly less than the weakest of LV cables:

MIMaterialEvents.modifyMaterial("sodium", event => {
    event.builder
        .cable("hv", 88)
})
@Technici4n
Copy link
Contributor

Can be done but I don't really see the point. 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants