Variable: price - ScreamingSandals/SimpleInventories GitHub Wiki
price
Variable price is one of generic shop variables. price determines count of price-type and there are more formats:
Yaml:
Just price:
- stack: ...
price: 5 # <---
price-type: bronze
With price-type using seperator of:
- stack: ...
price: 5 of bronze
With price-type without separator (price-type can't start with of and parsing could be slower):
- stack: ...
price: 5 bronze
Groovy:
Just price:
item('...') {
price '5' // <---
priceType 'bronze'
}
With price-type using seperator of:
item('...') {
price '5 of bronze'
}
With price-type without separator (price-type can't start with of and parsing could be slower):
item('...') {
price '5 bronze'
}