From 1fc960b1184c42a2478bda655cb0df44a0e11cfc Mon Sep 17 00:00:00 2001 From: Tag114 <118570749+Tag114@users.noreply.github.com> Date: Tue, 17 Oct 2023 21:57:59 +0100 Subject: [PATCH] Fixes the uplink listing for a free first aid kit having the same path as the option to buy one normally (#17581) * Removes duplicate path for the entry in the uplink for medkits * Changelog * Add files via upload * Changelog update * Add files via upload * Add files via upload * Add files via upload --- code/datums/uplink/medical.dm | 2 +- html/changelogs/tag114-uplinkmedkit.yml | 41 +++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 html/changelogs/tag114-uplinkmedkit.yml diff --git a/code/datums/uplink/medical.dm b/code/datums/uplink/medical.dm index 08119b46718..7aaddc8fdf3 100644 --- a/code/datums/uplink/medical.dm +++ b/code/datums/uplink/medical.dm @@ -73,7 +73,7 @@ bluecrystal_cost = 1 path = /obj/item/storage/firstaid/regular -/datum/uplink_item/item/medical/firstaid +/datum/uplink_item/item/medical/firstaid/free name = "Standard First-Aid Kit (Free)" telecrystal_cost = 0 bluecrystal_cost = 0 diff --git a/html/changelogs/tag114-uplinkmedkit.yml b/html/changelogs/tag114-uplinkmedkit.yml new file mode 100644 index 00000000000..3628713a986 --- /dev/null +++ b/html/changelogs/tag114-uplinkmedkit.yml @@ -0,0 +1,41 @@ +################################ +# Example Changelog File +# +# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb. +# +# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.) +# When it is, any changes listed below will disappear. +# +# Valid Prefixes: +# bugfix +# wip (For works in progress) +# tweak +# soundadd +# sounddel +# rscadd (general adding of nice things) +# rscdel (general deleting of nice things) +# imageadd +# imagedel +# maptweak +# spellcheck (typo fixes) +# experiment +# balance +# admin +# backend +# security +# refactor +################################# + +# Your name. +author: Tag114 + +# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again. +delete-after: True + +# Any changes you've made. See valid prefix list above. +# INDENT WITH TWO SPACES. NOT TABS. SPACES. +# SCREW THIS UP AND IT WON'T WORK. +# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries. +# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog. +changes: + - bugfix: "Fixes the option in the uplink to claim a single medkit for free and the one to buy a medkit normally both having the same path, preventing the option to buy a medkit normally from appearing." \ No newline at end of file