|
621 | 621 | return |
622 | 622 | SEND_SIGNAL(quirk_holder, COMSIG_ADD_MOOD_EVENT, "wrong_cigs", /datum/mood_event/wrong_brand) |
623 | 623 |
|
624 | | - |
625 | 624 | /datum/quirk/junkie/drunkard |
626 | 625 | name = "Drunkard" |
627 | 626 | desc = "In space there's no such thing as day drinking." |
628 | | - icon = "beer" |
| 627 | + icon = "beer" |
629 | 628 | value = -2 |
630 | 629 | mood_quirk = TRUE |
631 | 630 | gain_text = span_danger("You could really go for a stiff drink right about now.") |
632 | 631 | lose_text = span_notice("You no longer feel dependent on alcohol to function.") |
633 | 632 | medical_record_text = "Patient is known to be dependent on alcohol." |
634 | 633 | reagent_type = /datum/reagent/consumable/ethanol |
635 | 634 | junkie_warning = "You suddenly feel like you need another drink..." |
636 | | - |
| 635 | + |
637 | 636 | /datum/quirk/junkie/drunkard/on_spawn() |
638 | 637 | var/mob/living/carbon/human/H = quirk_holder |
639 | 638 | H.reagents.add_reagent(/datum/reagent/consumable/ethanol, 20) |
640 | 639 | drug_container_type = pick(/obj/item/reagent_containers/food/drinks/beer/light/plastic) |
641 | 640 | . = ..() |
642 | 641 |
|
643 | | - |
| 642 | + |
644 | 643 | /datum/quirk/junkie/drunkard/check_quirk(datum/preferences/prefs) |
645 | 644 | var/datum/species/species_type = prefs.read_preference(/datum/preference/choiced/species) |
646 | 645 | var/disallowed_trait = !(initial(species_type.inherent_biotypes) & MOB_ORGANIC) //if you can't process organic chems you couldn't get addicted in the first place |
|
668 | 667 | mob_trait = TRAIT_ALLERGIC |
669 | 668 | gain_text = span_danger("You remember your allergic reaction to a common medicine.") |
670 | 669 | lose_text = span_notice("You no longer are allergic to medicine.") |
671 | | - medical_record_text = "Patient has a severe allergic reaction to a common medicine." |
672 | 670 | var/allergy_chem_list = list( /datum/reagent/medicine/inacusiate, |
673 | 671 | /datum/reagent/medicine/silver_sulfadiazine, |
674 | 672 | /datum/reagent/medicine/styptic_powder, |
|
696 | 694 | var/datum/reagent/allergy = GLOB.chemical_reagents_list[reagent_id] |
697 | 695 | to_chat(quirk_holder, span_danger("You remember you are allergic to [allergy.name].")) |
698 | 696 | quirk_holder.allergies += allergy |
| 697 | + medical_record_text = "Patient has a severe allergic reaction to [allergy.name]." |
699 | 698 |
|
700 | 699 | /datum/quirk/allergic/on_process() |
701 | 700 | var/mob/living/carbon/H = quirk_holder |
|
847 | 846 | var/datum/dna/holder = quirk_holder?.has_dna() |
848 | 847 | if(holder) |
849 | 848 | holder.features -= TRAIT_SHORT_TELOMERES |
850 | | - |
| 849 | + |
851 | 850 | /datum/quirk/telomeres_short/transfer_mob(mob/living/to_mob) |
852 | 851 | . = ..() |
853 | 852 | var/datum/dna/holder = quirk_holder?.has_dna() |
|
0 commit comments