From 0271b9183b0b95a6979ecdd471d12aa0a78d9408 Mon Sep 17 00:00:00 2001 From: SabreML <57483089+SabreML@users.noreply.github.com> Date: Sun, 26 Nov 2023 20:16:34 +0000 Subject: [PATCH] Makes the squad attachments vendor vend to hand (#5021) # About the pull request Adds the `VEND_TO_HAND` flag to the squad attachments vendor so that vended items are put into the user's hand (if possible) rather than going directly onto the floor. Fixes #4875. # Explain why it's good for the game Good for QOL/consistency, since all the other vendors in squad prep already have this functionality. # Testing Photographs and Procedure
Videos
**Before:** https://github.com/cmss13-devs/cmss13/assets/57483089/301a15b1-ffe5-4af3-bed7-f6c567607a80 **After:** https://github.com/cmss13-devs/cmss13/assets/57483089/8dd0cf18-ce15-4517-989b-19d017612520
# Changelog :cl: qol: Made the squad prep attachments vendors vend items into the user's hands. /:cl: --- .../game/machinery/vending/vendor_types/squad_prep/squad_prep.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/game/machinery/vending/vendor_types/squad_prep/squad_prep.dm b/code/game/machinery/vending/vendor_types/squad_prep/squad_prep.dm index 94325b09e9eb..52418fb8940c 100644 --- a/code/game/machinery/vending/vendor_types/squad_prep/squad_prep.dm +++ b/code/game/machinery/vending/vendor_types/squad_prep/squad_prep.dm @@ -307,6 +307,7 @@ req_access = list(ACCESS_MARINE_ALPHA) req_one_access = list(ACCESS_MARINE_LEADER, ACCESS_MARINE_SPECPREP, ACCESS_MARINE_RO) hackable = TRUE + vend_flags = VEND_CLUTTER_PROTECTION | VEND_LIMITED_INVENTORY | VEND_TO_HAND vend_y_offset = 1