Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 553c5f4

Browse files
authored
Clear flavortext on force species change (#22919)
1 parent 23af29f commit 553c5f4

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

code/modules/antagonists/bloodsuckers/vassal/bloodsucker_conversion.dm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@
126126

127127
if(noblood)
128128
user.set_species(/datum/species/human, TRUE, TRUE)
129+
user.dna.features["flavor_text"] = "";
129130
if(user.client?.prefs?.read_preference(/datum/preference/name/backup_human) && !is_banned_from(user.client?.ckey, "Appearance"))
130131
user.fully_replace_character_name(user.dna.real_name, user.client.prefs.read_preference(/datum/preference/name/backup_human))
131132
else

code/modules/antagonists/changeling/changeling.dm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ GLOBAL_VAR(changeling_team_objective_type)
210210
if(ishuman(C) && ((NO_DNA_COPY in C.dna.species.species_traits) || !C.has_dna() || (NOHUSK in C.dna.species.species_traits)))
211211
to_chat(C, span_userdanger("You have been made a human, as your original race had incompatible DNA."))
212212
C.set_species(/datum/species/human, TRUE, TRUE)
213+
C.dna.features["flavor_text"] = ""
213214
if(C.client?.prefs?.read_preference(/datum/preference/name/backup_human) && !is_banned_from(C.client?.ckey, "Appearance"))
214215
C.fully_replace_character_name(C.dna.real_name, C.client.prefs.read_preference(/datum/preference/name/backup_human))
215216
else

code/modules/jobs/job_types/_job.dm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@
173173
if(H.dna.species.id != SPECIES_HUMAN)
174174
H.set_species(/datum/species/human)
175175
H.apply_pref_name(/datum/preference/name/backup_human, preference_source)
176+
H.dna.features["flavor_text"] = ""
176177

177178
if(forced_species)
178179
H.set_species(forced_species)

0 commit comments

Comments
 (0)