Description fix, blood pack addition and fixed floating text (#13536)

This commit is contained in:
KingOfThePing
2022-04-16 13:55:38 +02:00
committed by GitHub
parent 80b53227c4
commit fedefa4ce3
4 changed files with 47 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
/obj/item/auto_cpr
name = "auto-compressor"
desc = "A device that gives regular compression to the victim's ribcage, used in case of urgent heart issues."
desc = "A device that gives regular compression to the patient's ribcage, used in case of urgent heart issues."
icon = 'icons/obj/auto_cpr.dmi'
icon_state = "pumper"
w_class = ITEMSIZE_NORMAL
+1 -1
View File
@@ -63,7 +63,7 @@ var/list/floating_chat_colors = list()
style = "font-family: 'Small Fonts'; -dm-text-outline: 1 black; font-size: [size]px; [style]"
I.maptext = "<center><span style=\"[style]\">[message]</span></center>"
animate(I, 1, alpha = 255, pixel_y = 16)
animate(I, 1, alpha = 255, pixel_y = 23)
for(var/image/old in holder.stored_chat_text)
animate(old, 2, pixel_y = old.pixel_y + 8)
@@ -163,12 +163,12 @@
if (REAGENT_VOLUME(reagents, /decl/reagent/blood) && name != "empty blood pack") //Stops people mucking with bloodpacks that are filled
to_chat(usr, "<span class='notice'>You can't relabel [name] until it is empty!</span>")
return
var/blood_name = input(usr, "What blood type would you like to label it as?", "Blood Types") in list("A+", "A-", "B+", "B-", "O+", "O-", "AB+", "AB-", "Cancel")
var/blood_name = input(usr, "What blood type would you like to label it as?", "Blood Types") in list("A+", "A-", "B+", "B-", "O+", "O-", "AB+", "AB-", "Saline Plus", "Cancel")
if (blood_name == "Cancel") return
var/obj/item/i = usr.get_active_hand()
if (!i.ispen() || !in_range(user, src)) return //Checks to see if pen is still held or bloodback is in range
name = "blood pack [blood_name]"
desc = "Contains blood used for transfusion."
desc = "Contains fluids used for transfusions."
to_chat(usr, "<span class='notice'>You label the blood pack as [blood_name].</span>")
return
+43
View File
@@ -0,0 +1,43 @@
################################
# 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: KingOfThePing
# 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:
- spellcheck: "Fixed the autocompressor's spelling."
- tweak: "Added a Saline Plus option to blood pack labeling."
- bugfix: "Floating text is now actually overhead again."