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

Variables increase price in the store #222

Open
reyesdark opened this issue Sep 4, 2024 · 1 comment
Open

Variables increase price in the store #222

reyesdark opened this issue Sep 4, 2024 · 1 comment

Comments

@reyesdark
Copy link

I was checking that the creation of variables that interact with the objects for sale were added.

However, I think it would be necessary to add price variants depending on the value of the variable.

Example:
getItem Item1 {quality}

Where quality can be:
primitive => 0 => 0%
advanced => 1 => 5%
ascending => 2 => 10%

Being able to increase the price by % depending on the quality.

Item1 Price

  • primitive = $5
  • advanced = $5.25
  • ascending = $5.50
@reyesdark
Copy link
Author

image

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