diff --git a/code/datums/quirks/neutral_quirks/heretochromatic.dm b/code/datums/quirks/neutral_quirks/heretochromatic.dm index 1df079c0e45..629d26e053e 100644 --- a/code/datums/quirks/neutral_quirks/heretochromatic.dm +++ b/code/datums/quirks/neutral_quirks/heretochromatic.dm @@ -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) diff --git a/code/datums/quirks/positive_quirks/signer.dm b/code/datums/quirks/positive_quirks/signer.dm index df0a2f34c5d..8ff95d25e4a 100644 --- a/code/datums/quirks/positive_quirks/signer.dm +++ b/code/datums/quirks/positive_quirks/signer.dm @@ -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) diff --git a/code/datums/quirks/positive_quirks/spacer.dm b/code/datums/quirks/positive_quirks/spacer.dm index 24dc91fa627..3dbef8ecac5 100644 --- a/code/datums/quirks/positive_quirks/spacer.dm +++ b/code/datums/quirks/positive_quirks/spacer.dm @@ -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, diff --git a/code/datums/quirks/positive_quirks/voracious.dm b/code/datums/quirks/positive_quirks/voracious.dm index 68073304f0d..acdb5147c77 100644 --- a/code/datums/quirks/positive_quirks/voracious.dm +++ b/code/datums/quirks/positive_quirks/voracious.dm @@ -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) diff --git a/code/modules/unit_tests/quirks.dm b/code/modules/unit_tests/quirks.dm index 7a2ce474d5e..37765ce8ca0 100644 --- a/code/modules/unit_tests/quirks.dm +++ b/code/modules/unit_tests/quirks.dm @@ -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) diff --git a/modular_skyrat/modules/modular_items/lewd_items/code/lewd_quirks.dm b/modular_skyrat/modules/modular_items/lewd_items/code/lewd_quirks.dm index d85e0db56d7..395c4b1230a 100644 --- a/modular_skyrat/modules/modular_items/lewd_items/code/lewd_quirks.dm +++ b/modular_skyrat/modules/modular_items/lewd_items/code/lewd_quirks.dm @@ -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 diff --git a/modular_skyrat/modules/paycheck_rations/code/quirk.dm b/modular_skyrat/modules/paycheck_rations/code/quirk.dm index 14b6d4b140b..1b232998775 100644 --- a/modular_skyrat/modules/paycheck_rations/code/quirk.dm +++ b/modular_skyrat/modules/paycheck_rations/code/quirk.dm @@ -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