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

Shops #4

Open
SOF3 opened this issue Dec 19, 2021 · 0 comments
Open

Shops #4

SOF3 opened this issue Dec 19, 2021 · 0 comments

Comments

@SOF3
Copy link
Owner

SOF3 commented Dec 19, 2021

  • A shop consists of an Item Type, Item Source, an Item Sink, a Money Source, a Money Sink and a parameterized transaction label set.
  • A shop is first created by a Shop Creator, then interacts with the Customer.
  • A shop can only have one item type.
  • Item sources/sinks:
    • Infinity
    • Inventory of the customer
    • Chests in a world
    • A "cloud chest" which is backed by an account where 1 value = 1 item
  • Money source and sink are account label selectors, partially parameterized at the time of shop creation and fully parameterized at the time of shop interaction.
  • Methods to interact with a shop are independent of the shop definitions. A shop may have zero or more methods of interaction, such as:
    • Commands
    • Block interaction
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

1 participant