Hey!
It seems that the RefillDelay setting applies to all items in the selling machine instead of only applying to the specific product the note is for.
The only change I want is to have the cloth refilled immediately.
However, setting its refilldelay to "0" makes all products in the machine refill immediately :/
Here the json from my data folder:
{
"VendingProfiles": [
{
"ShopName": "Produce Exchange",
"Monument": "assets/bundled/prefabs/autospawn/monument/medium/bandit_town.prefab",
"Position": {
"x": 26.8920078,
"y": 1.88345337,
"z": 45.395
},
"Offers": [
{
"SellItem": {
"ShortName": "scrap",
"Amount": 10
},
"CurrencyItem": {
"ShortName": "corn",
"Amount": 15
},
"RefillDelay": 60
},
{
"SellItem": {
"ShortName": "scrap",
"Amount": 10
},
"CurrencyItem": {
"ShortName": "cloth",
"Amount": 80
},
"RefillDelay": 0
},
{
"SellItem": {
"ShortName": "scrap",
"Amount": 5
},
"CurrencyItem": {
"ShortName": "fish.troutsmall",
"Amount": 1
},
"RefillDelay": 60
},
{
"SellItem": {
"ShortName": "scrap",
"Amount": 3
},
"CurrencyItem": {
"ShortName": "fertilizer",
"Amount": 2
},
"RefillDelay": 60
}
]
}
]
}