Custom, crew-buildable vendors #28009
Open
+403
−205
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What Does This PR Do
Adds the ability for vendors to hold actual items (rather than just typepaths), and uses it to implement a custom vendor type, which is available in the vending board and as a kit in the bar and kitchen vendors.
Migrates /obj/machinery/economy to the new attack chain.
Why It's Good For The Game
Custom vendors are not only fun for admin use, they allow chefs, cooks, and other folks with stuff to sell to do it in a standardized way.
Images of changes
2025-01-17.02-38-00.mp4
Testing
Made above video.
Disassembled a custom vendor without a linked POS.
Deconstructed and destroyed a custom vendor with stuff in it. Got the stuff back both times.
Used an ATM, merch vendor, and claw machine (all the collateral migrations).
Declaration
Changelog
🆑
add: Custom vendors that you can load and buy from. The chef and bartender can buy a kit from their vendor, and they can be built with a vending machine board like any other vender, but don't require a restocking kit.
/:cl: