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

[Feature request] Computer craft compatibility #33

Open
Aiq0 opened this issue Apr 11, 2024 · 6 comments
Open

[Feature request] Computer craft compatibility #33

Aiq0 opened this issue Apr 11, 2024 · 6 comments

Comments

@Aiq0
Copy link

Aiq0 commented Apr 11, 2024

It would be nice, if it had computer craft compatibility (for example, be able to set coins amount in brass depositor, or ability to transfer money between Banker peripherals / transfer money between banker and storage), for more sophisticated trading.

But to maintain security, there should be some way to "allow" peripherals, so that money could not be stolen with attaching peripheral and transferring money...

@ajh123
Copy link

ajh123 commented Apr 27, 2024

Looks like it is being worked on in the computercraft branch.

@IThundxr
Copy link
Member

IThundxr commented Jun 6, 2024

the current API we've got so far is https://github.com/Layers-of-Railways/CreateNumismatics/wiki/ComputerCraft-Integration (not in any release yet) do let me know if theres anything else that would be beneficial/you'd like to be exposed to computercraft

@ajh123
Copy link

ajh123 commented Jun 7, 2024

Maybe command computers (configurable) should have the ability to:

  1. read bank account information
  2. change bank account information
  3. transfer money between accounts

Maybe instead of being built into the command computer, these apis could be added to the blaze banker, for security: a config option could be added to enable these apis (which are disabled by default).

@Aiq0
Copy link
Author

Aiq0 commented Jun 7, 2024

Also maybe insert and extract money (coins) as items (something like inventory peripheral) from blaze bankers, if not implemented yet.

@techno-sam
Copy link
Member

@ajh123 check out https://github.com/Layers-of-Railways/CreateNumismatics/wiki/ComputerCraft-Integration#bank-terminal

For context, here's what the Sub Account menu looks like:
image
image

@ajh123
Copy link

ajh123 commented Jul 21, 2024

@techno-sam That API looks good.

Also since depositors can be locked with redstone could we have a function to do this with a computer? Computers can produce redstone signals, however the computer may be in another room so a long redstone wire won't be viable.

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

No branches or pull requests

4 participants