mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
[MIRROR] Adds medical record descriptions for quirks without any [MDB IGNORE] (#25347)
* Adds medical record descriptions for quirks without any * Fix Conflict, Preserve SR edit * Updates Ration Ticket with medical Records * Two more quirks --------- Co-authored-by: Verm <32827189+Vermidia@users.noreply.github.com> Co-authored-by: SomeRandomOwl <somerandomowl@ratchtnet.com>
This commit is contained in:
co-authored by
Verm
SomeRandomOwl
parent
a6a3f83084
commit
32196fd996
@@ -3,6 +3,7 @@
|
||||
desc = "One of your eyes is a different color than the other!"
|
||||
icon = FA_ICON_EYE_LOW_VISION // Ignore the icon name, its actually a fairly good representation of different color eyes
|
||||
quirk_flags = QUIRK_HUMAN_ONLY|QUIRK_CHANGES_APPEARANCE
|
||||
medical_record_text = "Patient's irises are different colors."
|
||||
value = 0
|
||||
mail_goodies = list(/obj/item/clothing/glasses/eyepatch)
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
icon = FA_ICON_HANDS
|
||||
value = 4
|
||||
quirk_flags = QUIRK_HUMAN_ONLY|QUIRK_CHANGES_APPEARANCE
|
||||
medical_record_text = "Patient can communicate with sign language."
|
||||
mail_goodies = list(/obj/item/clothing/gloves/radio)
|
||||
|
||||
/datum/quirk/item_quirk/signer/add_unique(client/client_source)
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
icon = FA_ICON_USER_ASTRONAUT
|
||||
value = 7
|
||||
quirk_flags = QUIRK_CHANGES_APPEARANCE //SKYRAT EDIT CHANGE - ORIGINAL: quirk_flags = QUIRK_HUMAN_ONLY|QUIRK_CHANGES_APPEARANCE
|
||||
medical_record_text = "Patient is well-adapted to non-terrestrial environments."
|
||||
mail_goodies = list(
|
||||
/obj/item/storage/pill_bottle/ondansetron,
|
||||
/obj/item/reagent_containers/pill/gravitum,
|
||||
|
||||
@@ -6,4 +6,5 @@
|
||||
mob_trait = TRAIT_VORACIOUS
|
||||
gain_text = span_notice("You feel HONGRY.")
|
||||
lose_text = span_danger("You no longer feel HONGRY.")
|
||||
medical_record_text = "Patient has an above average appreciation for food and drink."
|
||||
mail_goodies = list(/obj/effect/spawner/random/food_or_drink/dinner)
|
||||
|
||||
@@ -19,3 +19,25 @@
|
||||
continue
|
||||
|
||||
used_icons[icon] = quirk_type
|
||||
|
||||
// Make sure all quirks start with a description in medical records
|
||||
/datum/unit_test/quirk_initial_medical_records
|
||||
|
||||
/datum/unit_test/quirk_initial_medical_records/Run()
|
||||
var/mob/living/carbon/human/patient = allocate(/mob/living/carbon/human/consistent)
|
||||
|
||||
for(var/datum/quirk/quirk_type as anything in subtypesof(/datum/quirk))
|
||||
if (initial(quirk_type.abstract_parent_type) == quirk_type)
|
||||
continue
|
||||
|
||||
if(!isnull(quirk_type.medical_record_text))
|
||||
continue
|
||||
|
||||
//Add quirk to a patient - so we can pass quirks that add a medical record after being assigned someone
|
||||
patient.add_quirk(quirk_type)
|
||||
|
||||
var/datum/quirk/quirk = patient.get_quirk(quirk_type)
|
||||
|
||||
TEST_ASSERT_NOTNULL(quirk.medical_record_text,"[quirk_type] has no medical record description!")
|
||||
|
||||
patient.remove_quirk(quirk_type)
|
||||
|
||||
@@ -289,6 +289,7 @@
|
||||
desc = "You love being tied up."
|
||||
value = 0 //ERP Traits don't have price. They are priceless. Ba-dum-tss
|
||||
mob_trait = TRAIT_ROPEBUNNY
|
||||
medical_record_text = "Subject has a fondness for restraints."
|
||||
gain_text = span_danger("You really want to be restrained for some reason.")
|
||||
lose_text = span_notice("Being restrained doesn't arouse you anymore.")
|
||||
icon = FA_ICON_HANDCUFFS
|
||||
@@ -310,6 +311,7 @@
|
||||
desc = "You find the weaving of rope knots on the body wonderful."
|
||||
value = 0 //ERP Traits don't have price. They are priceless. Ba-dum-tss
|
||||
mob_trait = TRAIT_RIGGER
|
||||
medical_record_text = "Subject has a increased dexterity when tying knots."
|
||||
gain_text = span_danger("Suddenly you understand rope weaving much better than before.")
|
||||
lose_text = span_notice("Rope knots looks complicated again.")
|
||||
icon = FA_ICON_CHAIN_BROKEN
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
redeemed at a cargo console for food and other items."
|
||||
icon = FA_ICON_DONATE
|
||||
quirk_flags = QUIRK_HUMAN_ONLY|QUIRK_HIDE_FROM_SCAN
|
||||
medical_record_text = "Has enrolled in the ration ticket program."
|
||||
value = 0
|
||||
hardcore_value = 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user