Skip to content

Commit

Permalink
Update good.dm (#22925)
Browse files Browse the repository at this point in the history
  • Loading branch information
ynot01 authored Jan 7, 2025
1 parent ccdd4eb commit 9ee4166
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions code/datums/traits/good.dm
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
species_type = new species_type()
var/disallowed_trait = (NOMOUTH in species_type.species_traits) // Cant eat
qdel(species_type)

if(disallowed_trait)
return "You don't have the ability to eat!"
return FALSE
Expand Down Expand Up @@ -311,8 +311,8 @@
medical_record_text = "During physical examination, patient was found to have an upgraded cybernetic organ."
var/slot_string = "organ"
var/list/organ_list = list(
ORGAN_SLOT_LUNGS = /obj/item/organ/lungs/cybernetic/upgraded,
ORGAN_SLOT_HEART = /obj/item/organ/heart/cybernetic/upgraded,
ORGAN_SLOT_LUNGS = /obj/item/organ/lungs/cybernetic/upgraded,
ORGAN_SLOT_HEART = /obj/item/organ/heart/cybernetic/upgraded,
ORGAN_SLOT_LIVER = /obj/item/organ/liver/cybernetic/upgraded,
)
///String to denote the quality of the organ
Expand Down Expand Up @@ -343,7 +343,7 @@

if(species_type == /datum/species/ipc) // IPCs are already cybernetic
return "You already have cybernetic organs!"

var/datum/species/species = new species_type
var/list/temp = organ_list.Copy()
if(TRAIT_TOXINLOVER in species.inherent_traits)
Expand Down Expand Up @@ -485,3 +485,10 @@
specific = /datum/language/bonespeak
gain_text = span_notice("You have learned to understand Bonespeak.")
lose_text = span_notice("You have forgotten how to understand Bonespeak.")

/datum/quirk/multilingual/machine
name = "Multilingual (Encoded Audio Language)"
desc = "You spent a portion of your life learning to understand an Encoded Audio Language. You may or may not be able to speak it based on your anatomy."
specific = /datum/language/machine
gain_text = span_notice("You have learned to understand Encoded Audio Language.")
lose_text = span_notice("You have forgotten how to understand Encoded Audio Language.")

0 comments on commit 9ee4166

Please sign in to comment.