Little help reducing the time to sell cloth, because my brain is a potato apparentlySolved

Full disclosure before I embarrass myself, there's a newborn in the house and sleep is... lacking, so there, that's my excuse.

Basically I want to reduce the restock timer, so players can sell cloth at bandit more quickly, yet still keep the economy a least a little balanced. Facepunch nerfed this for a reason and I don't really want people swimming in scrap for selling cloth (quickly), but right now it is a bit of a drag sitting there for hours trying to sell it all to be fair.

I'm not sure if halving the restock delay, and also having the amount of scrap recieved would do the job? Just curious if anyone else has played with this and has any suggestions.

These are the base settings (I haven't changed anything yet):

It's not clear to me exactly what your goal is, so I'll start by simply providing some information and insights into how stocking works to help you move forward.

Something to keep in mind is that any time a vending machine sells an item (scrap) for multiple currencies (corn and cloth), that the restock rate becomes more complicated than if there were only one entry for that item. For example, if the vending machine only had the "10 scrap for 15 corn" entry, it would restock 10 scrap every 60 seconds, up to 100 scrap. Once you add the "10 scrap for 80 cloth" entry, the vending machine would restock 20 scrap every 60 seconds, also up to 100 scrap (though there are some edge cases). Whether a player can buy an item (scrap) depends on the overall amount of that item in the vending machine, regardless of which currency the item was stocked for.

With that in mind, let's say your aim was to allow scrap to restock at double the frequency (though that isn't a very specific goal, it's more of a means to an end). To achieve that, you would need to halve the rate of every single entry of scrap in the vending machine.

If your aim was broader, such as simply to allow people to get more scrap, you could achieve that other ways besides reducing the restock delay. For instance, you could increase the max stock directly, or you could increase the stack amount of the item (which gets multiplied to determine the actual stock amount) while simultaneously increasing the stack amount of the currency. Keep in mind that, regardless of which mechanism you use to increase the amount stocked, increasing the amount stocked will allow players to purchase that item for any currency that the vending machine allows, which may not be what you intend.

In summary, vending machines that sell the same item for multiple currencies make things more complicated. If that is a significant obstacle, not easily overcome by the above information and careful planning, then you could try to make it easier on yourself by reducing each vending machine to only allow one currency per item, and using a plugin such as Monument Addons to spawn additional vending machines to allow purchasing the item with other currencies.

Yep I see, thanks for that. The vending machine behaviour has definitely been confusing me in my testing, so that helps clear it up. Basically I just want people to be able to sell their cloth at a faster rate. But if I only reduce the restock delay, it basically means they can sell all their cloth really quickly and it's a bit of an overpowered way to get scrap. So I figured if it currently takes a person 2 hours (just random numbers) to sell 8000 cloth, for 1000 scrap, maybe I could half all that, so they could sell it all in 1 hour, but only end up with 500 scrap.

Regardless, sounds like it's more complicated than that, and yes I might need to move the cloth to it's own vending machine to make things a little simpler. 

Thanks for the help, appreciate it

Locked automatically