Skip to content

Commit

Permalink
Allows most synthetics to access the marine synthetic vendor, provide…
Browse files Browse the repository at this point in the history
…d they're given access on their ID (#6423)

<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->

# About the pull request

In regular play (non-ERT) this means that the following synthetics can
get access to the vendor:
PMC insert on Solaris Ridge
UPP insert on Trijent
CMB insert on Fiorina


Technically also means ERT synths from the CMB, UPP and PMC would be
able to access the vendors, provided they're given USCM synth access on
their ID.

(It's possible to accomplish this same change by setting their job to
JOB_SYNTH_SURVIVOR, but then they lose the benefits of their current
job, (Usually faction HUDs))

Every other 

# Explain why it's good for the game

<!-- Please add a short description of why you think these changes would
benefit the game. If you can't justify it in words, it might not be
worth adding, and may discourage maintainers from reviewing or merging
your PR. This section is not strictly required for (non-controversial)
fix PRs or backend PRs. -->

Synths of these 3 types are allowed to align with the USCM, but not
being able to access the vendors to get essentials like a headset, makes
this rather difficult.

# Testing Photographs and Procedure
<!-- Include any screenshots/videos/debugging steps of the modified code
functioning successfully, ideally including edge cases. -->

<!-- !! If you are modifying sprites, you **must** include one or more
in-game screenshots or videos of the new sprites. !! -->

<details>
<summary>Screenshots & Videos</summary>

Put screenshots and videos here with an empty line between the
screenshots and the `<details>` tags.

</details>


# Changelog

<!-- If your PR modifies aspects of the game that can be concretely
observed by players or admins you should add a changelog. If your change
does NOT meet this description, remove this section. Be sure to properly
label your changes in the changelog. Please note that maintainers freely
reserve the right to remove and add tags should they deem it
appropriate. You can attempt to finagle the system all you want, but
it's best to shoot for clear communication right off the bat. -->
<!-- If you add a name after the ':cl', that name will be used in the
changelog. You must add your CKEY after the CL if your GitHub name
doesn't match. Maintainers freely reserve the right to remove and add
tags should they deem it appropriate. -->

:cl:
add: Special insert synthetics on most maps will now be able to gain
access to synthetic equipment vendors, provided they're given access by
USCM command staff. (Synth access on their ID)
/:cl:

<!-- Both :cl:'s are required for the changelog to work! -->
  • Loading branch information
TheGamerdk committed Jun 16, 2024
1 parent 9a85c16 commit e6e8507
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/game/machinery/vending/vendor_types/crew/synthetic.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
desc = "An automated gear rack hooked up to a colossal storage of various medical and engineering supplies. Can be accessed only by synthetic units."
icon_state = "gear"
req_access = list(ACCESS_MARINE_SYNTH)
vendor_role = list(JOB_SYNTH, JOB_SYNTH_SURVIVOR)
vendor_role = list(JOB_SYNTH, JOB_SYNTH_SURVIVOR, JOB_UPP_SUPPORT_SYNTH, JOB_CMB_SYN, JOB_PMC_SYNTH)

listed_products = list(
list("ENGINEER SUPPLIES", 0, null, null, null),
Expand Down Expand Up @@ -178,7 +178,7 @@ GLOBAL_LIST_INIT(cm_vending_clothing_synth, list(
name = "\improper ColMarTech Synthetic Equipment Rack"
desc = "An automated rack hooked up to a colossal storage of various equipment. Can be accessed only by synthetic units."
req_access = list(ACCESS_MARINE_SYNTH)
vendor_role = list(JOB_SYNTH, JOB_SYNTH_SURVIVOR)
vendor_role = list(JOB_SYNTH, JOB_SYNTH_SURVIVOR, JOB_UPP_SUPPORT_SYNTH, JOB_CMB_SYN, JOB_PMC_SYNTH)

/obj/structure/machinery/cm_vending/clothing/synth/get_listed_products(mob/user)
return GLOB.cm_vending_clothing_synth
Expand Down Expand Up @@ -337,7 +337,7 @@ GLOBAL_LIST_INIT(cm_vending_clothing_synth_snowflake, list(
use_snowflake_points = TRUE
vendor_theme = VENDOR_THEME_COMPANY
req_access = list(ACCESS_MARINE_SYNTH)
vendor_role = list(JOB_SYNTH, JOB_SYNTH_SURVIVOR, JOB_WORKING_JOE)
vendor_role = list(JOB_SYNTH, JOB_SYNTH_SURVIVOR, JOB_WORKING_JOE, JOB_UPP_SUPPORT_SYNTH, JOB_CMB_SYN, JOB_PMC_SYNTH)

vend_delay = 1 SECONDS

Expand Down

0 comments on commit e6e8507

Please sign in to comment.