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
@@ -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