I just want the only thing that is able to be sold for RP to be scrap, but how do I make it to where scrap is the ONLY item shown in the list, instead of it listing every other item in the inventory?
Make only 1 item show in the selltab?
I commented out line 773. This causes items the aren't sell-able to be hidden. Adding the two forward slashes // will 'comment out' the line. If you have your sale_data.json set to only have scrap enabled; then only Scrap in their main bag, not belt, will show on the Sell Tab.
//else UI.CreateButton(ref container, panelName, uiColors["buttonbg"], msg("CantSell"), 12, $"{pos[0] + 0.37f} {pos[1] + 0.0015f}", $"{pos[2]} {pos[3] - 0.0015f}", string.Empty);If you update this mod, these changes will be overwritten.
I tried this but it did not work, all items show in list.