wipe_inventory deletes certain items intended to remain in stock
What happened
I tried wipe_inventory=1 and it deleted the only instance of .223 Pistol available at New Reno arms dealer.
Some other observations:
- The wipe-related code is in upu.h, the list of quest items to keep is hard-coded and doesn't have RP quest items.
- It should be easier to extend quest items list. I guess you can define a macro for
move_critical_itemsto "redirect" call to a different procedure with updated logic and different list, but maybe there's a better way. check_restock_itemshould call a procedure. I think we're well beyond the point where we need to care about call performance... But this will make compiled code smaller and decompiles easier to work with.
What you expected to happen
The pistol and other "unique" items like it must remain in stock regardless of wipe_inventory setting.
Screenshot
Savegame
I have a set of work-arounds for the .223 Pistol specifically in EcCo that I can port over to RPU later.
It's not a bug, as original has no wipe in the first place. I don't care so much about items, either. Probably can script one-off items with no restocking.
It's not a bug, as original has no wipe in the first place.
What? RPU has wipe so it is a bug now, so... Take a look at the PR.
RPU has wipe setting, which is not a bug.
RPU has wipe setting, which is not a bug.
Are you trolling now? RPU has wipe setting, which is deletes items that aren't meant to be deleted. This is a bug.
Two Russkies are now debating over an American franchise who's more "legit" in understanding it. xD
I think what they actually were going for is make sure it's there the first time around. Probably can add a small chance to restock, too.
Two Russkies are now debating over an American franchise who's more "legit" in understanding it. xD
Feel free to add your non-Russkie expertise on this American franchise.