Skip to content

Commit

Permalink
language_fixes_and_tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
AndroBetel committed Feb 8, 2024
1 parent 1ca95a7 commit f7f20fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions code/modules/gear_presets/uscm.dm
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@
assignment = JOB_SQUAD_SMARTGUN_UPP
paygrade = "UE3"
role_comm_title = "MG"
languages = list(LANGUAGE_RUSSIAN, LANGUAGE_ENGLISH, LANGUAGE_CHINESE)

/datum/equipment_preset/uscm/sg/upp/load_gear(mob/living/carbon/human/new_human)
var/back_item = /obj/item/storage/backpack/lightpack/upp
Expand Down
4 changes: 2 additions & 2 deletions code/modules/mob/living/carbon/human/emote.dm
Original file line number Diff line number Diff line change
Expand Up @@ -361,12 +361,12 @@
/datum/emote/living/carbon/human/warcry/get_sound(mob/living/carbon/human/user)
if(ishumansynth_strict(user))
if(user.gender == MALE)
if(user.faction == FACTION_UPP || (user.job in ROLES_AI_UPP))
if(user.get_default_language().name == LANGUAGE_RUSSIAN)

Check warning on line 364 in code/modules/mob/living/carbon/human/emote.dm

View workflow job for this annotation

GitHub Actions / Run Linters

field access requires static type: "name"
return get_sfx("male_upp_warcry")
else
return get_sfx("male_warcry")
else
if(user.faction == FACTION_UPP || (user.job in ROLES_AI_UPP))
if(user.get_default_language().name == LANGUAGE_RUSSIAN)

Check warning on line 369 in code/modules/mob/living/carbon/human/emote.dm

View workflow job for this annotation

GitHub Actions / Run Linters

field access requires static type: "name"
return get_sfx("female_upp_warcry")
else
return get_sfx("female_warcry")
Expand Down

0 comments on commit f7f20fd

Please sign in to comment.