TimedProgression - Failed to compile: There is no argument given that corresponds to the required parameter 'initialStockOverride' of 'NPCVendingMachine.AddItemForSale(int, int, int, int, byte, int)' | Line: 731, Pos: 29
Not working after rust update feb 2025
The fix for me was to update that line like so(adding the initial stock override):
machine.AddItemForSale(entry.sellItem.itemid, entry.sellItemAmount, entry.currencyItem.itemid,
entry.currencyAmount, machine.GetBPState(entry.sellItemAsBP, entry.currencyAsBP), entry.initialStock);