Seconds Between Refills QuestionSolved

How do you increase the speed? Changing numbers doesn't seem to work out for me.

I've tried changing to number in game under 'Seconds Between Refills'

I've also tried editting the .cs file line: public const int DefaultRefillDelay = 10; (I change the 10 to 1, errors if you try and go lower)

Is there a default non-mod way to do this?

Any help/advice would be appreciated. Thank you.

Seconds Between Refills is the correct setting. You can set it to 0 for instant refill (there is special logic in the plugin for it).

I don't know why it "doesn't work" for you, without more precise information. Please elaborate by specifying which vending machine you have customized, which sale offer you changed this for, which value you set, how much you purchased, how you observed whether the stock amount changed (i.e., what did you expect to see, where did you expect to see it, and when did you expect it), and how long it took to refill.

There are no convars for adjusting restock speed. A plugin is required.

Thanks for the response WhiteThunder.

I want to be able to basically spam the buy button on any vending machine for any product and not have that 4-5second delay between purchases.

Edit: I tried the InstantBuy plugin and that's specifically what I was looking for when it came to this specific question.

I wasn't sure if this plugin could do the same thing.

 

Oh I see. You are talking about the transaction delay, not the refill delay. Use Instant Buy for that. It's compatible. I have been using Instant Buy for so long that sometimes I forget it's not vanilla.

Locked automatically