-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom, crew-buildable vendors #28009
Conversation
Looks like we'll need #27784 to merge before this, since the migration on /obj/machinery/economy wasn't sufficient. |
I recall these existing over on tg and causing a minor kerfuffle when someone tossed the NAD in one and set it for 30000 credits or something, so you may want to ensure that's covered if you haven't already. |
I mean, you can, but then someone can just break it and pick the NAD up from the pile of stuff. The vendor is only protected against screwdriver + crowbar disassembly, not any other destruction method. |
Holy shit, based |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Request for holding until #27784 is merged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, super psyched for this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few things with message formatting.
Co-authored-by: Burzah <[email protected]> Signed-off-by: Charlie Nolan <[email protected]>
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.
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).
Tried to do various things that should prevent inserting an item after getting the price prompt.
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: