Devices
Your dedicated weapon upgrade station.
It checks two things: Does the player have enough gold, and are they currently holding a specific upgradable weapon?
If yes, it removes their base weapon and gold, locks the machine temporarily, and after a short 4-second processing delay, grants them the upgraded version of that exact weapon.