Regarding DaysPerRestock (How quick vendor restock)

For community content (fan-art, fanfic, etcetera) for Wasteland 2.

Moderator: Ranger Team Alpha

Post Reply
scramjetbooster
Initiate
Posts: 12
Joined: December 15th, 2017, 5:48 pm

Regarding DaysPerRestock (How quick vendor restock)

Post by scramjetbooster » December 15th, 2017, 6:06 pm

I find out that vendor only restock after you change world map location... Can it be changed to instantaneous? Like if you buy an item, close the barter window, do barter again, then the item restock? What's the fastest vendor restock time? What does DaysPerRestock: 0.0001f mean? Is there even 'days' concept in the game?

Executor_
Scholar
Posts: 180
Joined: August 11th, 2014, 5:38 am

Re: Regarding DaysPerRestock (How quick vendor restock)

Post by Executor_ » December 28th, 2017, 2:22 am

DaysPerRestock is never used by the game, it only cares about the isRestockable field.

Changing it to restock immediately isn't difficult, but does require editing the code in the Assembly-CSharp.dll.

From what I've seen, the game doesn't track the passage of time, except for a limited way on the world map.

scramjetbooster
Initiate
Posts: 12
Joined: December 15th, 2017, 5:48 pm

Re: Regarding DaysPerRestock (How quick vendor restock)

Post by scramjetbooster » December 28th, 2017, 4:30 am

Yeah, thanks man. Figured as much...

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests