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
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